Use After Free in Linux Kernel
CVE-2021-3640
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 31.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- ubuntu.com/security/CVE-2021-3640 (Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/07/22/1 (Exploit, Mailing List, Third Party Advisory)
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/bluetooth… (Patch, Vendor Advisory)
- github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951 (Patch, Third Party Advisory)
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5096 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220419-0003/ (Third Party Advisory)