CVE-2024-35821 — ubifs: Set page uptodate in the correct place
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 allocat…
Published: 2024-05-17 · CVSS: 7.5 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7