CVE-2021-3640
Reported by redhat · Published March 3, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-4.14.256-197.484 | Amazon Linux | 1.0-0.amzn2 |
| linux_kernel | linux | 5.15.3, 5.14.19, 5.10.80, 5.4.160, 4.19.218, 4.14.256, 4.9.291, 4.4.293 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | kernel | Affects kernel v5.15.3 and prior, Fixed in v5.16-rc1 and above. |
| amazon:2 | kernel-livepatch-4.14.256-197.484 | 0 |
| n/a | kernel | Affects kernel v5.15.3 and prior, Fixed in v5.16-rc1 and above. |
| arch | linux-zen | 0 |
| arch | linux-hardened | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools | 0 |
| arch | linux-lts | 0 |
| arch | linux | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-devel | 0 |
Timeline
- Jul 22, 2021 CVE Published
- Mar 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (19 in total, the first dated here)
- Mar 10, 2026 Security Advisory (24 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3640
vulnetix vdb fixes CVE-2021-3640
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3640/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update mailing-listx_refsource_MLIST
- DSA-5096 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM