CVE-2024-35821

ubifs: Set page uptodate in the correct place

7.5 high EPSS 0.58%

Published 17 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-35821

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35821 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 Jan 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-772 Missing Release of Resource after Effective Lifetime

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 4aa554832b9dc9e66249df75b8f447d87853e12e
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 778c6ad40256f1c03244fc06d7cdf71f6b5e7310
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 8f599ab6fabbca4c741107eade70722a98adfd9f
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before f19b1023a3758f40791ec166038d6411c8894ae3
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 142d87c958d9454c3cffa625fab56f3016e8f9f3
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before fc99f4e2d2f1ce766c14e98463c2839194ae964f
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 17772bbe9cfa972ea1ff827319f6e1340de76566
affected from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, before 723012cab779eee8228376754e22c6594229bf8f
Other versions: unaffected
Linux
affected 2.6.27
unaffected before 2.6.27
unaffected from 4.19.312 up to and including 4.19.*
unaffected from 5.4.274 up to and including 5.4.*
unaffected from 5.10.215 up to and including 5.10.*
unaffected from 5.15.154 up to and including 5.15.*
unaffected from 6.1.84 up to and including 6.1.*
unaffected from 6.6.24 up to and including 6.6.*
unaffected from 6.7.12 up to and including 6.7.*
unaffected from 6.8.3 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35821 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35821

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-35821
trivy image --scanners vuln IMAGE | grep CVE-2024-35821

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-35821 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.