CVE-2024-46780

nilfs2: protect references to superblock parameters exposed in sysfs

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 07:12 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore "nilfs->ns_sem". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.17 ≤ v < 4.19.3223.17 ≤ v < 5.10.2263.17 ≤ v < 5.15.1673.17 ≤ v < 5.4.2843.17 ≤ v < 6.1.1103.17 ≤ v < 6.10.103.17 ≤ v < 6.113.17 ≤ v < 6.6.514.20 ≤ v < 5.4.2845.11 ≤ v < 5.15.1675.16 ≤ v < 6.1.1105.5 ≤ v < 5.10.2266.2 ≤ v < 6.6.516.7 ≤ v < 6.10.106.11 rc16.11 rc26.11 rc36.11 rc46.11 rc56.11 rc6da7141fb78db915680616e15677539fc8140cf53
Vendor states this is fixed in 157c0d94b4c40887329418c70ef4edd1a8d6b4ed (fixed)
Vendor states this is fixed in 19cfeba0e4b8eda51484fcf8cf7d150418e1d880 (fixed)
Vendor states this is fixed in 683408258917541bdb294cd717c210a04381931e (fixed)
Vendor states this is fixed in 8c6e43b3d5f109cf9c61bc188fcc8175404e924f (fixed)
Vendor states this is fixed in 962562d4c70c5cdeb4e955d63ff2017c4eca1aad (fixed)
Vendor states this is fixed in b14e7260bb691d7f563f61da07d61e3c8b59a614 (fixed)
Vendor states this is fixed in b90beafac05931cbfcb6b1bd4f67c1923f47040e (fixed)
Vendor states this is fixed in ba97ba173f9625d5f34a986088979eae8b80d38e (fixed)
Vendor states this is fixed in 3.17 (unaffected)
Vendor states this is fixed in 4.19.322 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/157c0d94b4c40887329418c70ef4edd1a8d6b4ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19cfeba0e4b8eda51484fcf8cf7d150418e1d880
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/683408258917541bdb294cd717c210a04381931e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c6e43b3d5f109cf9c61bc188fcc8175404e924f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/962562d4c70c5cdeb4e955d63ff2017c4eca1aad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b14e7260bb691d7f563f61da07d61e3c8b59a614
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b90beafac05931cbfcb6b1bd4f67c1923f47040e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ba97ba173f9625d5f34a986088979eae8b80d38e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card