What’s Vulnerable › Vulnerabilities

CVE-2024-35821: ubifs: Set page uptodate in the correct place

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

How to fix

Upgrade to a fixed version: Linux kernel 4.19.312, 5.10.215, 5.15.154, 5.4.274. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35821 or the next vulnerability affects your stack