CVE-2022-24958
High 7.8 CVSS 3.1
Description
drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.
Description as published by the source, in English.
Key facts
- Published
- 2022-02-11
- Last modified
- 2026-09-11
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 34 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Linux | Linux Kernel | < 4.9.305 | Affected |
| Linux | Linux Kernel | ≥ 4.10, < 4.14.270 | Affected |
| Linux | Linux Kernel | ≥ 4.15, < 4.19.233 | Affected |
| Linux | Linux Kernel | ≥ 4.20, < 5.4.183 | Affected |
| Linux | Linux Kernel | ≥ 5.11, < 5.15.27 | Affected |
| Linux | Linux Kernel | ≥ 5.16, < 5.16.13 | Affected |
| Linux | Linux Kernel | ≥ 5.5, < 5.10.104 | Affected |
| Netapp | H300e | all versions listed | Not affected |
| Netapp | H300e Firmware | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500e | all versions listed | Not affected |
| Netapp | H500e Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700e | all versions listed | Not affected |
| Netapp | H700e Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
Weakness type
-
CWE-763: Release of Invalid Pointer or Reference
The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=89f3594d0de5…
- https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74
- https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda
- https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20220225-0008/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=89f3594d0de5…
- https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74
- https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda
- https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20220225-0008/
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.