CVE-2024-35821
kernel: ubifs: Set page uptodate in the correct place
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-772
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 115 fixes
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.216-1.ph4 |
| 5.0 | linux-esx +2 | 6.1.90-1.ph5 |
| 5.0 | bpftool +7 | 6.1.90-2.ph5 |
SUSE Linux Enterprise 2 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | kernel-livepatch-5-14-21-150500-13-58-rt | 1-150500.11.3.1 | SUSE-SU-2024:2008-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-68-default | 1-150500.11.3.1 | SUSE-SU-2024:2190-1 |
| 15.5 | kernel-azure +4 | 5.14.21-150500.33.57.1 | SUSE-SU-2024:2019-1 |
| 15.5 | cluster-md-kmp-default +18 | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-10-5-rt | 1-150600.1.5.1 | SUSE-SU-2024:2973-1 |
8 more rows
SUSE Linux Enterprise Micro 3 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | kernel-rt +1 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
| 5.5 | kernel-default | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| 5.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| 6.0 | kernel-livepatch-6-4-0-25-rt | 1-1.1 | SUSE-SU-2025:20166-1 |
| 6.0 | kernel-default-base | 6.4.0-17.1.1.51 | SUSE-SU-2025:20008-1 |
| 6.0 | kernel-default +5 | 6.4.0-18.1 | SUSE-SU-2025:20008-1 |
4 more rows
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | linux | 4.19.316-1 |
| 10 | linux-5-10 | 5.10.216-1~deb10u1 |
| 11 | linux | 5.10.216-1 |
| 12 | linux | 6.1.85-1 |
| 13 | linux | 6.7.12-1 |
| 14 | linux | 6.7.12-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.85-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.216-1 |
| 12 | rootio-linux | 6.1.85-1 |
| 13 | rootio-linux | 6.7.12-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-116.126 |
| 24.04 | rootio-linux | 6.8.0-35.35 |
ubuntu 5 releases · 38 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1075.80~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1112.124~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1127.136~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1128.138~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1132.141~18.04.1 |
| 18.04-ESM | linux-azure-5-4 | 5.4.0-1133.140~18.04.1 |
70 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-35821
- git.kernel.org https://git.kernel.org/linus/723012cab779eee8228376754e22c6594229bf8f (6.9-rc1)
- git.kernel.org https://git.kernel.org/stable/c/142d87c958d9454c3cffa625fab56f3016e8f9f3
- git.kernel.org https://git.kernel.org/stable/c/17772bbe9cfa972ea1ff827319f6e1340de76566
- git.kernel.org https://git.kernel.org/stable/c/4aa554832b9dc9e66249df75b8f447d87853e12e
- git.kernel.org https://git.kernel.org/stable/c/4b7c4fc60d6a46350fbe54f5dc937aeaa02e675e
- git.kernel.org https://git.kernel.org/stable/c/723012cab779eee8228376754e22c6594229bf8f
- git.kernel.org https://git.kernel.org/stable/c/778c6ad40256f1c03244fc06d7cdf71f6b5e7310
- git.kernel.org https://git.kernel.org/stable/c/8f599ab6fabbca4c741107eade70722a98adfd9f
- git.kernel.org https://git.kernel.org/stable/c/f19b1023a3758f40791ec166038d6411c8894ae3
Show all 34 references
- git.kernel.org https://git.kernel.org/stable/c/fc99f4e2d2f1ce766c14e98463c2839194ae964f
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024051744-CVE-2024-35821-6af5@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-35821
- ubuntu.com https://ubuntu.com/security/notices/USN-6816-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6878-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-4
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-5
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-4
- ubuntu.com https://ubuntu.com/security/notices/USN-6917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6919-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6927-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7019-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-35821
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.