CVE-2021-3640

Aliases:UBUNTU-CVE-2021-3640DEBIAN-CVE-2021-3640
Advisory lineage Upstream: 0 Downstream: 44
Modified
Published: 03 Mar 2022, 22:04
Last modified:03 Aug 2024, 17:01

Vulnerability Summary

Overall Risk (default)
medium
38/100
CVSS Score
7 HIGH
v3.1 (nvd)
EPSS Score
0.37% LOW
0% probability +0.37%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

03 Mar 2022, 22:04
Published
Vulnerability first disclosed
03 Aug 2024, 17:01
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0HIGHScore: 7.3CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 0.37% Percentile: 31%

Techniques & Countermeasures

  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

    The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 18.04 | 20.04 | 21.10

  • debianlinux

    < 5.10.84-1 | < 5.15.3-1 | < 5.15.3-1 | < 5.15.3-1

  • ubuntulinux

    all | < 4.15.0-167.175 | < 5.4.0-97.110

  • ubuntulinux-aws

    all | < 4.15.0-1119.127 | < 5.4.0-1064.67

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    < 5.11.0-1028.31~20.04.1

  • ubuntulinux-aws-5.13

    < 5.13.0-1012.13~20.04.1

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1064.67~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2060.62 | all | < 5.4.0-1069.73+fips2

  • ubuntulinux-aws-hwe

    < 4.15.0-1119.126~16.04.2

  • ubuntulinux-azure

    < 4.15.0-1130.143~14.04.1 | < 4.15.0-1130.143~16.04.1 | all | < 5.4.0-1068.71

  • ubuntulinux-azure-4.15

    < 4.15.0-1131.144

  • ubuntulinux-azure-5.11

    < 5.11.0-1028.31~20.04.2

  • ubuntulinux-azure-5.13

    < 5.13.0-1013.15~20.04.1

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1068.71~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde-5.15

    < 5.15.0-1114.123~20.04.1

  • ubuntulinux-azure-fips

    < 4.15.0-2042.46 | all | < 5.4.0-1073.76+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1026.29

  • ubuntulinux-dell300x

    < 4.15.0-1034.39

  • ubuntulinux-fips

    all | < 4.15.0-1076.85 | < 5.4.0-1041.47

  • ubuntulinux-gcp

    < 4.15.0-1115.129~16.04.1 | all | < 5.4.0-1063.67

  • ubuntulinux-gcp-4.15

    < 4.15.0-1115.129

  • ubuntulinux-gcp-5.11

    < 5.11.0-1029.33~20.04.3

  • ubuntulinux-gcp-5.13

    < 5.13.0-1013.16~20.04.1

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1063.67~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-edge

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2025.27 | all | < 5.4.0-1067.71~20.04.1

  • ubuntulinux-gke

    < 5.4.0-1061.64

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1061.64~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1032.33

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1032.33~18.04.1

  • ubuntulinux-hwe

    < 4.15.0-167.175~16.04.1 | all

  • ubuntulinux-hwe-5.11

    all

  • ubuntulinux-hwe-5.13

    < 5.13.0-28.31~20.04.1

  • ubuntulinux-hwe-5.4

    < 5.4.0-97.110~18.04.1

  • ubuntulinux-hwe-5.8

    all

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-ibm

    < 5.4.0-1013.14

  • ubuntulinux-ibm-5.4

    < 5.4.0-1014.15~18.04.1

  • ubuntulinux-intel-5.13

    all

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    all | < 4.15.0-1106.108 | < 5.4.0-1054.56

Showing first 50 affected entries in server-rendered view.

References (19)