CVE-2024-35821

Medium

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.

Package Linux Kernel
Published 2024-05-17
Last modified 2025-12-23
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-772

CVE-2024-35821 is a Missing Release of Resource after Effective Lifetime vulnerability

What is Missing Release of Resource after Effective Lifetime?

The product does not release a resource after its effective lifetime has ended. Learn more on MITRE CWE

Affected versions

Linux kernel versions 2.6.27 and later are affected. Fixed in 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 and their respective stable series.

Affected from
≥ 2.6.27
Fixed in
✓ 4.19.312 4.19.x ✓ 5.4.274 5.4.x ✓ 5.10.215 5.10.x ✓ 5.15.154 5.15.x ✓ 6.1.84 6.1.x ✓ 6.6.24 6.6.x ✓ 6.7.12 6.7.x ✓ 6.8.3 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-35821?

    CVE-2024-35821 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Missing Release of Resource after Effective Lifetime flaw (CWE-772) . It affects Linux kernel versions from 2.6.27 onward and has been patched in 4.19.312, 5.4.274, 5.10.215 and others. CVE-2024-35821 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-35821?

    CVE-2024-35821 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-35821?

    Yes. CVE-2024-35821 has been patched. Fixed versions include 4.19.312, 5.4.274, 5.10.215 and others. If you are running Linux kernel 2.6.27 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-35821 actively exploited?

    No. CVE-2024-35821 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.