CVE-2022-25258: Linux Kernel - Memory Corruption
- Cve: CVE-2022-25258
- Name: Linux Kernel - Memory Corruption
- Description: An issue was discovered in drivers/usb/gadget/composite.c in the Linux kernel before 5.16.10. The USB Gadget subsystem lacks certain validation of interface OS descriptor requests (ones with a large array index and ones associated with NULL function pointer retrieval). Memory corruption might occur.
- Impact: Local attackers can potentially cause memory corruption, leading to privilege escalation or system instability.
- Remediation: Update to Linux kernel 5.16.10 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: privilege_escalation, denial_of_service
- Requirement type: logged_in
- Requirements: Attacker needs local access to the system
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.6
- Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0092
- Epss percentile: 0.6118
- Assignee: [email protected]
- Published at: 2022-02-16T20:15:07Z
- Age in days: 1742
- Modified at: 2026-06-17T04:33:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 9
- Products total: 9
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25258
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/szymonh/d-os-descriptor | poc-in-github | 2022-02-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c | Patch, Third Party Advisory |
| https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10 | Release Notes, Vendor Advisory |
| https://github.com/szymonh/d-os-descriptor | Issue Tracking, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20221028-0007/ | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5092 | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5096 | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/ |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| linux:linux_kernel | < 5.16.10 | no | /v1/products/linux/linux_kernel |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | no | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35 | no | /v1/products/fedoraproject/fedora |
| netapp:active_iq_unified_manager | all versions | no | /v1/products/netapp/active_iq_unified_manager |
| 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 |
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
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-02-15
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports