CVE-2021-39685

NameCVE-2021-39685
DescriptionIn various setup methods of the USB gadget subsystem, there is a possible out of bounds write due to an incorrect flag check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-210292376References: Upstream kernel
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2940-1, DLA-2941-1, DSA-5050-1, DSA-5096-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)stretch4.9.228-1vulnerable
stretch (security)4.9.303-1fixed
buster4.19.235-1fixed
buster (security)4.19.232-1fixed
bullseye5.10.106-1fixed
bullseye (security)5.10.120-1fixed
bookworm, sid5.18.5-1fixed
linux-4.19 (PTS)stretch (security)4.19.232-1~deb9u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcestretch4.9.303-1DLA-2940-1
linuxsourcebuster4.19.232-1DSA-5096-1
linuxsourcebullseye5.10.92-1DSA-5050-1
linuxsource(unstable)5.15.5-2
linux-4.19sourcestretch4.19.232-1~deb9u1DLA-2941-1

Notes

https://www.openwall.com/lists/oss-security/2021/12/15/4

Search for package or bug name: Reporting problems