{"id":"CVE-2024-35821","aliases":["CVE-2024-35821"],"related":[],"kind":"vulnerability","state":"published","title":"ubifs: Set page uptodate in the correct place","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: Set page uptodate in the correct place\n\nPage cache reads are lockless, so setting the freshly allocated page\nuptodate before we've overwritten it with the data it's supposed to have\nin it will allow a simultaneous reader to see old data.  Move the call\nto SetPageUptodate into ubifs_write_end(), which is after we copied the\nnew data into the page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: Set page uptodate in the correct place\n\nPage cache reads are lockless, so setting the freshly allocated page\nuptodate before we've overwritten it with the data it's supposed to have\nin it will allow a simultaneous reader to see old data.  Move the call\nto SetPageUptodate into ubifs_write_end(), which is after we copied the\nnew data into the page.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-05-17T13:23:24.350Z","modified":"2026-06-17T07:35:28.820Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-772"],"affected":[{"ranges":[{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"4aa554832b9dc9e66249df75b8f447d87853e12e","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"778c6ad40256f1c03244fc06d7cdf71f6b5e7310","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"8f599ab6fabbca4c741107eade70722a98adfd9f","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"f19b1023a3758f40791ec166038d6411c8894ae3","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"142d87c958d9454c3cffa625fab56f3016e8f9f3","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"fc99f4e2d2f1ce766c14e98463c2839194ae964f","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"17772bbe9cfa972ea1ff827319f6e1340de76566","status":"affected"},{"type":"git","introduced":"1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d","fixed":"723012cab779eee8228376754e22c6594229bf8f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.27","status":"unaffected"},{"type":"semver","introduced":"4.19.312","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.274","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.215","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.154","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.84","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.24","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.12","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.3","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"4aa554832b9d","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"778c6ad40256","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"8f599ab6fabb","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"f19b1023a375","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"142d87c958d9","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"fc99f4e2d2f1","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"4b7c4fc60d6a","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"17772bbe9cfa","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1e51764a3c2a","fixed":"723012cab779","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.6.27","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"4.19.312","lastAffected":"4.19.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.4.274","lastAffected":"5.4.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.10.215","lastAffected":"5.10.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.15.154","lastAffected":"5.15.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.1.84","lastAffected":"6.1.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.6.24","lastAffected":"6.6.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.7.12","lastAffected":"6.7.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.8.3","lastAffected":"6.8.*","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"6.9","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.6.27","fixed":"4.19.312"},{"status":"affected","introduced":"4.20","fixed":"5.4.274"},{"status":"affected","introduced":"5.5","fixed":"5.10.215"},{"status":"affected","introduced":"5.11","fixed":"5.15.154"},{"status":"affected","introduced":"5.16","fixed":"6.1.84"},{"status":"affected","introduced":"6.2","fixed":"6.6.24"},{"status":"affected","introduced":"6.7","fixed":"6.7.12"},{"status":"affected","introduced":"6.8","fixed":"6.8.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-01-23T21:47:42.750Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35821","url":"https://www.cve.org/CVERecord?id=CVE-2024-35821","licence":"CVE Terms of Use","modified":"2026-05-11T20:11:38.406Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35821","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35821","licence":"Public domain","modified":"2026-06-17T07:35:28.820Z"}],"updatedAt":"2026-11-25T22:58:40.526Z","epss":{"score":0.00575,"percentile":0.48813,"date":"2026-12-01T12:00:22.000Z"}}