CVE-2024-35821

ubifs: Set page uptodate in the correct place

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:23 PM UTC
Updated: June 17, 2026 at 07:35 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

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.6%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ubifs: Set page uptodate in the correct place Page cache reads are lockless, so setting the freshly allocated page uptodate before we've overwritten it with the data it's supposed to have in it will allow a simultaneous reader to see old data. Move the call to SetPageUptodate into ubifs_write_end(), which is after we copied the new data into the page.

Affected

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

2.6.27 ≤ v < 4.19.3122.6.27 ≤ v < 5.10.2152.6.27 ≤ v < 5.15.1542.6.27 ≤ v < 5.4.2742.6.27 ≤ v < 6.1.842.6.27 ≤ v < 6.6.242.6.27 ≤ v < 6.7.122.6.27 ≤ v < 6.8.32.6.27 ≤ v < 6.94.20 ≤ v < 5.4.2745.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.845.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.246.7 ≤ v < 6.7.126.8 ≤ v < 6.8.31e51764a3c2a1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d2.6.27
Vendor states this is fixed in 142d87c958d9 (fixed)
Vendor states this is fixed in 142d87c958d9454c3cffa625fab56f3016e8f9f3 (fixed)
Vendor states this is fixed in 17772bbe9cfa (fixed)
Vendor states this is fixed in 17772bbe9cfa972ea1ff827319f6e1340de76566 (fixed)
Vendor states this is fixed in 4aa554832b9d (fixed)
Vendor states this is fixed in 4aa554832b9dc9e66249df75b8f447d87853e12e (fixed)
Vendor states this is fixed in 4b7c4fc60d6a (fixed)
Vendor states this is fixed in 4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e (fixed)
Vendor states this is fixed in 723012cab779 (fixed)
Vendor states this is fixed in 723012cab779eee8228376754e22c6594229bf8f (fixed)
Vendor states this is fixed in 778c6ad40256 (fixed)
Vendor states this is fixed in 778c6ad40256f1c03244fc06d7cdf71f6b5e7310 (fixed)
Vendor states this is fixed in 8f599ab6fabb (fixed)
Vendor states this is fixed in 8f599ab6fabbca4c741107eade70722a98adfd9f (fixed)
Vendor states this is fixed in f19b1023a375 (fixed)
Vendor states this is fixed in f19b1023a3758f40791ec166038d6411c8894ae3 (fixed)
Vendor states this is fixed in fc99f4e2d2f1 (fixed)
Vendor states this is fixed in fc99f4e2d2f1ce766c14e98463c2839194ae964f (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial 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

StatusANALYZED
CWE
CWE-772NVD-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