Vulnerabilities · 2021 · Linux
CVE-2021-3640
Linux Kernel vulnerability
A 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.
Affected products
Linux Kernel, Debian Linux, Fedora, Ubuntu Linux, H300s Firmware, H700s Firmware, H300e Firmware, H500e Firmware, H700e Firmware, H410s Firmware and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/bluetooth/sco.c?h=v5 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1980646 · Patch
- github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951 · Patch
- ubuntu.com/security/CVE-2021-3640 · Patch
- lists.debian.org/debian-lts-announce/2022/03/msg00011.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00012.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20220419-0003/ · Third Party Advisory
- www.debian.org/security/2022/dsa-5096 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-3640
- cve.org/CVERecord?id=CVE-2021-3640
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.