CVE-2022-24958: Linux Kernel - Use After Free
- Cve: CVE-2022-24958
- Name: Linux Kernel - Use After Free
- Description: drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.
- Impact: Local attackers can cause use-after-free or memory corruption, potentially leading to privilege escalation or system instability.
- Remediation: Update to Linux kernel version 5.16.9 or later where the issue is fixed.
- Vulnerability type: use_after_free
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Exploit requires local access.
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00413
- Epss percentile: 0.36289
- Assignee: [email protected]
- Published at: 2022-02-11T06:15:06Z
- Age in days: 1747
- Modified at: 2026-09-11T16:17:32Z
- Patch available: yes
- References total: 5
- Products total: 11
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24958
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-763 | Release of Invalid Pointer or Reference |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=89f3594d0de58e8a57d92d497dea9fee3d4b9cda | Patch, Vendor Advisory |
| https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74 | Patch, Third Party Advisory |
| https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda | Patch, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20220225-0008/ | Third Party Advisory |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| linux:linux_kernel | >= 5.16, < 5.16.13; >= 5.11, < 5.15.27; >= 5.5, < 5.10.104; >= 4.20, < 5.4.183; >= 4.15, < 4.19.233; >= 4.10, < 4.14.270; < 4.9.305 | no | /v1/products/linux/linux_kernel |
| debian:debian_linux | = 9.0 | no | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35, = 34 | no | /v1/products/fedoraproject/fedora |
| netapp:h700s_firmware | all versions | yes | /v1/products/netapp/h700s_firmware |
| netapp:h300s_firmware | all versions | yes | /v1/products/netapp/h300s_firmware |
| netapp:h410s_firmware | all versions | yes | /v1/products/netapp/h410s_firmware |
| netapp:h500s_firmware | all versions | yes | /v1/products/netapp/h500s_firmware |
| netapp:h410c_firmware | all versions | yes | /v1/products/netapp/h410c_firmware |
| netapp:h700e_firmware | all versions | yes | /v1/products/netapp/h700e_firmware |
| netapp:h300e_firmware | all versions | yes | /v1/products/netapp/h300e_firmware |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports