CVE-2021-3640

NameCVE-2021-3640
DescriptionA flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls ioct UFFDIO_REGISTER or other way triggers race condition of the call sco_conn_del() together with the call sco_sock_sendmsg() with the expected controllable faulting memory page. A privileged local user could use this flaw to crash the system or escalate their privileges on the system.
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-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.113-1fixed
bookworm5.17.3-1fixed
sid5.17.6-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.84-1
linuxsource(unstable)5.15.3-1
linux-4.19sourcestretch4.19.232-1~deb9u1DLA-2941-1

Notes

https://www.openwall.com/lists/oss-security/2021/07/22/1

Search for package or bug name: Reporting problems