CVE-2024-35821

published 17 May 2024 · updated 11 May 2026

ubifs: Set page uptodate in the correct place

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 142d87c958d9454c3cffa625fab56f3016e8f9f3, Kernel 17772bbe9cfa972ea1ff827319f6e1340de76566, Kernel 4aa554832b9dc9e66249df75b8f447d87853e12e and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.27, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <142d87c958d9454c3cffa625fab56f3016e8f9f3, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <17772bbe9cfa972ea1ff827319f6e1340de76566, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <4aa554832b9dc9e66249df75b8f447d87853e12e, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <723012cab779eee8228376754e22c6594229bf8f, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <778c6ad40256f1c03244fc06d7cdf71f6b5e7310, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <8f599ab6fabbca4c741107eade70722a98adfd9f, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <f19b1023a3758f40791ec166038d6411c8894ae3, >=1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d <fc99f4e2d2f1ce766c14e98463c2839194ae964f142d87c958d9454c3cffa625fab56f3016e8f9f3, 17772bbe9cfa972ea1ff827319f6e1340de76566, 4aa554832b9dc9e66249df75b8f447d87853e12e, 4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e, 723012cab779eee8228376754e22c6594229bf8f, 778c6ad40256f1c03244fc06d7cdf71f6b5e7310, 8f599ab6fabbca4c741107eade70722a98adfd9f, f19b1023a3758f40791ec166038d6411c8894ae3, fc99f4e2d2f1ce766c14e98463c2839194ae964f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35821 severity on Zeptric[![CVE-2024-35821](https://zeptric.io/badge/cve/CVE-2024-35821.svg)](https://zeptric.io/cve/CVE-2024-35821)