VDB

CVE-2021-3640

CVE-2021-3640 PUBLISHED

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.

PackageEcosystemFixed in
kernel-livepatch-4.14.256-197.484Amazon Linux1.0-0.amzn2
linux_kernellinux5.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

VendorProductVersions
n/akernelAffects kernel v5.15.3 and prior, Fixed in v5.16-rc1 and above.
amazon:2kernel-livepatch-4.14.256-197.4840
n/akernelAffects kernel v5.15.3 and prior, Fixed in v5.16-rc1 and above.
archlinux-zen0
archlinux-hardened0
amazon:2kernel-headers0
amazon:2kernel0
amazon:2kernel-tools0
archlinux-lts0
archlinux0
amazon:2perf0
amazon:2python-perf0
amazon:2kernel-tools-devel0
amazon:2kernel-devel0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›