CVE-2024-35821 json
ubifs: Set page uptodate in the correct place
published 2024-05-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-35738
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3, 6.9
- linux linux_kernel 4aa554832b9d, 4b7c4fc60d6a, 8f599ab6fabb, 142d87c958d9, 778c6ad40256, 17772bbe9cfa, 723012cab779, f19b1023a375, fc99f4e2d2f1
- linux Debian 12 6.1.85-1
- linux Debian 14, Debian 13 6.7.12-1
debian advisories DEBIAN-CVE-2024-35821
- linux Ubuntu 20.04 LTS 5.4.0-189.209
- linux Ubuntu 22.04 LTS 5.15.0-116.126
- linux Ubuntu 24.04 LTS 6.8.0-35.35
- linux-aws Ubuntu 20.04 LTS 5.4.0-1128.138
- linux-aws Ubuntu 22.04 LTS 5.15.0-1065.71
- linux-aws Ubuntu 24.04 LTS 6.8.0-1009.9
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1132.141
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1064.72
ubuntu advisories UBUNTU-CVE-2024-35821
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-livepatch-MICRO-6-0-RT_Update_5 Linux Micro 6.1, Linux Micro 6.0 1-1.1
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
suse advisories SUSE-SU-2025:20166-1SUSE-SU-2025:20249-1SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2973-1SUSE-SU-2024:2203-1
- git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e commit
- git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310 commit
- git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f commit
- git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3 commit
- git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3 commit
- git.kernel.org/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f commit
- git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e commit
- git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566 commit
- git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-35821 updated cvss 5.5
kernel: ubifs: Set page uptodate in the correct place
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected products
- Linux Linux
- linux linux_kernel
Classification
- Weakness
-
- CWE-772 Missing Release of Resource after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e
patch
-
git.kernel.org
/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310
patch
-
git.kernel.org
/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f
patch
-
git.kernel.org
/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3
patch
-
git.kernel.org
/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3
patch
-
git.kernel.org
/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f
patch
-
git.kernel.org
/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e
patch
-
git.kernel.org
/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566
patch
-
git.kernel.org
/stable/c/723012cab779eee8228376754e22c6594229bf8f
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
third-party-advisory
Sources
- CVE List CVE-2024-35821
- NVD CVE-2024-35821
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.