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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-36394In Moodle, a remote code execution risk was identified in th…9.8
- CVE-2021-36395In Moodle, the file repository's URL parsing required additi…7.5
- CVE-2021-36396In Moodle, insufficient redirect handling made it possible t…7.5
- CVE-2021-36397In Moodle, insufficient capability checks meant message dele…5.3
- CVE-2021-36398In moodle, ID numbers displayed in the web service token lis…5.4
- CVE-2021-36399In Moodle, ID numbers displayed in the quiz override screens…5.4
- CVE-2021-36400In Moodle, insufficient capability checks made it possible t…5.3
- CVE-2021-36401In Moodle, ID numbers exported in HTML data formats required…4.8
- CVE-2021-36402In Moodle, Users' names required additional sanitizing in th…5.3
- CVE-2021-36403In Moodle, in some circumstances, email notifications of mes…5.3
- CVE-2021-36408An issue was discovered in libde265 v1.0.8.There is a Heap-u…5.5
- CVE-2021-36409There is an Assertion `scaling_list_pred_matrix_id_delta==1'…7.8
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
