7.5high
ubifs: Set page uptodate in the correct place
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 4aa554832b9dc9e66249df75b8f447d87853e12e, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 778c6ad40256f1c03244fc06d7cdf71f6b5e7310, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 8f599ab6fabbca4c741107eade70722a98adfd9f, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before f19b1023a3758f40791ec166038d6411c8894ae3, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 142d87c958d9454c3cffa625fab56f3016e8f9f3, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before fc99f4e2d2f1ce766c14e98463c2839194ae964f, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e, from 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d before 17772bbe9cfa972ea1ff827319f6e1340de76566 and 2 more Not affected: before 2.6.27, from 4.19.312 up to 4.19.*, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.* | CVE List |
| linux linux_kernel | from 1e51764a3c2a before 4aa554832b9d, from 1e51764a3c2a before 778c6ad40256, from 1e51764a3c2a before 8f599ab6fabb, from 1e51764a3c2a before f19b1023a375, from 1e51764a3c2a before 142d87c958d9, from 1e51764a3c2a before fc99f4e2d2f1, from 1e51764a3c2a before 4b7c4fc60d6a, from 1e51764a3c2a before 17772bbe9cfa and 10 more Not affected: before 2.6.27, from 4.19.312 up to 4.19.*, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.* | CVE List, NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ubifs: establece la actualización de la página en el lugar correcto. Las lecturas de la caché de la página no tienen bloqueo, por lo que configurar la actualización de la página recién asignada antes de que la sobrescribamos con los datos que se supone que debe contener lo hará. permitir que un lector simultáneo vea datos antiguos. Mueva la llamada a SetPageUptodate a ubifs_write_end(), que es después de que copiamos los nuevos datos en la página.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35821 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-35821 changed 2026-06-17 | Public domain |