CVE-2021-3640
Last modified
CVE-2021-3640 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.4.293 |
| Linux | Linux Kernel | >= 4.5, < 4.9.291 |
| Linux | Linux Kernel | >= 4.10, < 4.14.256 |
| Linux | Linux Kernel | >= 4.15, < 4.19.218 |
| Linux | Linux Kernel | >= 4.20, < 5.4.160 |
| Linux | Linux Kernel | >= 5.5.0, < 5.10.80 |
| Linux | Linux Kernel | >= 5.11, < 5.14.19 |
| Linux | Linux Kernel | >= 5.15, < 5.15.3 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 34 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 20.04 |
| Canonical | Ubuntu Linux | 21.10 |
| Netapp | H300s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H300e Firmware | All versions |
| Netapp | H500e Firmware | All versions |
| Netapp | H700e Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | H500s Firmware | All versions |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1980646Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220419-0003/Third Party Advisory
- https://ubuntu.com/security/CVE-2021-3640Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/07/22/1Exploit, Mailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1980646Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220419-0003/Third Party Advisory
- https://ubuntu.com/security/CVE-2021-3640Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/07/22/1Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3640?
How severe is CVE-2021-3640?
How do I fix CVE-2021-3640?
Are you affected by CVE-2021-3640?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
