CVE-2021-3640

high

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.

References

https://github.com/torvalds/linux/commit/99c23da0eed4fd20cae8243f2b51e10e66aa0951

https://bugzilla.redhat.com/show_bug.cgi?id=1980646

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/bluetooth/sco.c?h=v5.16&id=99c23da0eed4fd20cae8243f2b51e10e66aa0951

https://www.openwall.com/lists/oss-security/2021/07/22/1

https://ubuntu.com/security/CVE-2021-3640

https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html

https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html

https://www.debian.org/security/2022/dsa-5096

https://security.netapp.com/advisory/ntap-20220419-0003/

Details

Source: MITRE

Published: 2022-03-03

Updated: 2022-04-27

Type: CWE-416

Risk Information

CVSS v2

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM

CVSS v3

Base Score: 7

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1

Severity: HIGH