Vulnerability · Published Feb 16, 2022 · Assigned by mitre

CVE-2022-25258

Medium 4.6

In plain English

A medium-severity security flaw in the linux package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.6Medium
Exploit odds (30 days)0.9%top 39.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.16.10-1DEBIAN-CVE-2022-25258
Debian:13linux5.16.10-1DEBIAN-CVE-2022-25258
Debian:14linux5.16.10-1DEBIAN-CVE-2022-25258
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2022-25258
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2022-25258
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2022-25258

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References