SecurityContext

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

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://github.com/szymonh/d-os-descriptorpoc-in-github2022-02-15

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2cPatch, Third Party Advisory
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10Release Notes, Vendor Advisory
https://github.com/szymonh/d-os-descriptorIssue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
https://security.netapp.com/advisory/ntap-20221028-0007/Third Party Advisory
https://www.debian.org/security/2022/dsa-5092Third Party Advisory
https://www.debian.org/security/2022/dsa-5096Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/

Products

Same in every row:

  • Sources: nvd
ProductAffectedPlatform boundUrl
linux:linux_kernel< 5.16.10no/v1/products/linux/linux_kernel
debian:debian_linux= 11.0, = 10.0, = 9.0no/v1/products/debian/debian_linux
fedoraproject:fedora= 35no/v1/products/fedoraproject/fedora
netapp:active_iq_unified_managerall versionsno/v1/products/netapp/active_iq_unified_manager
netapp:h700s_firmwareall versionsyes/v1/products/netapp/h700s_firmware
netapp:h300s_firmwareall versionsyes/v1/products/netapp/h300s_firmware
netapp:h410s_firmwareall versionsyes/v1/products/netapp/h410s_firmware
netapp:h500s_firmwareall versionsyes/v1/products/netapp/h500s_firmware
netapp:h410c_firmwareall versionsyes/v1/products/netapp/h410c_firmware

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/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