CVE-2024-35821

Publication date

2024-05-17 13:23:24

Family

Linux

State

PUBLISHED

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 weve overwritten it with the data its 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.