Name | CVE-2022-25258 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2940-1, DLA-2941-1, DSA-5092-1, DSA-5096-1, ELA-577-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | fixed | |
stretch (lts), stretch | 4.9.320-3 | fixed | |
buster (security), buster, buster (lts) | 4.19.316-1 | fixed | |
bullseye | 5.10.223-1 | fixed | |
bullseye (security) | 5.10.226-1 | fixed | |
bookworm | 6.1.115-1 | fixed | |
bookworm (security) | 6.1.119-1 | fixed | |
trixie | 6.12.5-1 | fixed | |
sid | 6.12.6-1 | fixed | |
linux-4.19 (PTS) | stretch (security) | 4.19.232-1~deb9u1 | fixed |
stretch (lts), stretch | 4.19.316-1~deb9u1 | fixed | |
linux-4.9 (PTS) | jessie, jessie (lts) | 4.9.303-1~deb8u3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | stretch | 4.9.303-1 | DLA-2940-1 | ||
linux | source | buster | 4.19.232-1 | DSA-5096-1 | ||
linux | source | bullseye | 5.10.92-2 | DSA-5092-1 | ||
linux | source | (unstable) | 5.16.10-1 | |||
linux-4.19 | source | stretch | 4.19.232-1~deb9u1 | DLA-2941-1 | ||
linux-4.9 | source | jessie | 4.9.303-1~deb8u1 | ELA-577-1 |
https://github.com/szymonh/d-os-descriptor
https://git.kernel.org/linus/75e5b4849b81e19e9efe1654b30d7f3151c33c2c (5.17-rc4)