Skip to content
7.5 High

CVE-2024-35821 In the Linux kernel, the following vulnerability has been resolved: ubifs: Set page uptodate in the correct place Page…

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 products and versions

Product Affected versions Fixed in
Linux 6.9 earliest → < 6.9 6.9
Linux 6.8 earliest → < 6.8.3 6.8.3
Linux 6.7 earliest → < 6.7.12 6.7.12
Linux 6.6 earliest → < 6.6.24 6.6.24
Linux 6.1 earliest → < 6.1.84 6.1.84
Linux 5.15 earliest → < 5.15.154 5.15.154
Linux 5.10 earliest → < 5.10.215 5.10.215
Linux 5.4 earliest → < 5.4.274 5.4.274
Linux 4.19 earliest → < 4.19.312 4.19.312
Show the 2 other branches
Product Affected versions Fixed in
Linux 2.6.27 No fix stated
linux_kernel 6.9 earliest → < 6.9 6.9

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE