Race Condition Affecting torvalds/linux package, versions [4.1,6.11-rc7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UNMANAGED-TORVALDSLINUX-8072907
  • published 23 Sep 2024
  • disclosed 4 Sep 2024
  • credit Unknown

Introduced: 4 Sep 2024

CVE NOT AVAILABLE CWE-362 Open this link in a new tab

How to fix?

Upgrade torvalds/linux to version 6.11-rc7 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition through the improper synchronization mechanism in the perf_mmap and perf_mmap_close functions. An attacker can exploit this vulnerability to manipulate memory mappings and potentially execute arbitrary code by racing the mmap and munmap calls to create an orphaned auxiliary buffer. This is only exploitable if specific kernel configurations such as init_on_alloc, page_poisoning, init_on_free, CONFIG_DEBUG_PAGEALLOC, or CONFIG_DEBUG_VM are disabled or check_pages_enabled is true.

Note: Debian-based distributions, as well as Android and any virtual machines, are not affected.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None