CVEvulnerability
CVE-2024-35821
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-772
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 configurations
• debian debian linux 10.0
• linux linux kernel (>= 2.6.27 < 4.19.312)
• linux linux kernel (>= 4.20 < 5.4.274)
• linux linux kernel (>= 5.5 < 5.10.215)
• linux linux kernel (>= 5.11 < 5.15.154)
• linux linux kernel (>= 5.16 < 6.1.84)
• linux linux kernel (>= 6.2 < 6.6.24)
• linux linux kernel (>= 6.7 < 6.7.12)
• linux linux kernel (>= 6.8 < 6.8.3)
Related
Weakness · CWE (1)
- CWE-772 Missing Release of Resource after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3 Patch
- https://git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566 Patch
- https://git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e Patch
- https://git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e Patch
- https://git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f Patch
- https://git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310 Patch
- https://git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f Patch
- https://git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3 Patch
- https://git.kernel.org/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f Patch
- https://git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3 Patch
- https://git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566 Patch
- https://git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e Patch
- https://git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e Patch
- https://git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f Patch
- https://git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310 Patch
- https://git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f Patch
- https://git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3 Patch
- https://git.kernel.org/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Third Party Advisory