CVE-2021-3640: canonical ubuntu_linux
Vulnerability summary
CVE-2021-3640 is a high (CVSS 7.0) vulnerability in canonical ubuntu_linux. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 30.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 42 · Related 33Timeline
- 03-03-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.37% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu69 products
- linuxAll versions (No fix recorded) | < 4.15.0-167.175 | < 5.4.0-97.110
- linux-awsAll versions (No fix recorded) | < 4.15.0-1119.127 | < 5.4.0-1064.67
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11< 5.11.0-1028.31~20.04.1
- linux-aws-5.13< 5.13.0-1012.13~20.04.1
Debian2 products
- linux< 5.15.3-1
- debian_linuxEOL9.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 20.04 | 21.10
Fedoraproject1 product
- fedoraEOL34
Linux1 product
- linux_kernel< 4.4.293 | ≥ 4.5, < 4.9.291 | ≥ 4.10, < 4.14.256 | ≥ 4.15, < 4.19.218 | ≥ 4.20, < 5.4.160 | ≥ 5.5.0, < 5.10.80 | ≥ 5.11, < 5.14.19 | ≥ 5.15, < 5.15.3
6 vendors · 82 products
References
20 links- www.openwall.com/lists/oss-security/2021/07/22/1X Refsource MISCREPORTExploitMailing ListThird Party Advisory
- github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951X Refsource MISCPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing ListX Refsource MLISTThird Party Advisory
Show all 20 references
- git.kernel.org/pub/…REPORT