CVE-2024-42299
published high CVSS 3.1 · 7.8fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb46acd6a6a627d876898e1c84d3f84902264b445 to < 0484adcb5fbcadd9ba0fd4485c42630f72e97da9 · b46acd6a6a627d876898e1c84d3f84902264b445 to < b90ceffdc975502bc085ce8e79c6adeff05f9521 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 2cac0df3324b5e287d8020bc0708f7d2dec88a6f · b46acd6a6a627d876898e1c84d3f84902264b445 to < 0a4ae2644e2a3b3b219aad9639fb2b0691d08420 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 2fef55d8f78383c8e6d6d4c014b9597375132696 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.103 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-065 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-864 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1072 | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1072 | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1072 | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1055-gkeop | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1065-ibm | Advisory build | 5.15.0-1065.68~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1067-intel-iotg | Advisory build | 5.15.0-1067.73~20.04.1 | USN-7144-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-oracle | Advisory build | 5.15.0-1070.76~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1071-gcp | Advisory build | 5.15.0-1071.79~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1072-aws | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-125-generic | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-125-generic-64k | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-125-generic-lpae | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-125-lowlatency | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-125-lowlatency-64k | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1055-gkeop | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1067-intel-iotg | Advisory build | 5.15.0-1067.73~20.04.1 | USN-7144-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1072-aws | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-125-generic | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-125-lowlatency | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1071.79~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1071 | Advisory build | 5.15.0-1071.79~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1071 | Advisory build | 5.15.0-1071.79~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gkeop-5.15 | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1055 | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1055 | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1055 | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1055-gkeop | Advisory build | 5.15.0-1055.62~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1065-ibm | Advisory build | 5.15.0-1065.68~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1067-intel-iotg | Advisory build | 5.15.0-1067.73~20.04.1 | USN-7144-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-oracle | Advisory build | 5.15.0-1070.76~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1071-gcp | Advisory build | 5.15.0-1071.79~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1072-aws | Advisory build | 5.15.0-1072.78~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-headers-5.15.0-125-generic | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-125-generic-64k | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
| Ubuntu | focal | linux-headers-5.15.0-125-generic-lpae | Advisory build | 5.15.0-125.135~20.04.1 | USN-7100-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed If an NTFS file system is mounted to another system with different PAGE_SIZE from the original system, log->page_size will change in log_replay(), but log->page_{mask,bits} don't change correspondingly. This will cause a panic because "u32 bytes = log->page_size - page_off" will get a negative value in the later read_log_page().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The corruption is triggered during ntfs3 mount-time journal replay of an attacker-supplied NTFS image, delivered via removable media, a loop device, or an image file — there is no network path to `log_replay()`. AC:L - Triggering is fully deterministic with no race: the attacker simply sets `sys_page_size`/`page_size` in the $LogFile restart header to a value differing from the host `PAGE_SIZE`, and the stale `page_mask`/`page_bits`/`one_page_buf` mismatch corrupts memory on every mount. PR:L - NTFS volumes on removable media are routinely auto-mounted by desktop/kiosk automounters (udisks2) with the in-kernel ntfs3 driver, so an unprivileged local user who supplies the media or image reaches the vulnerable replay path without administrator action. UI:N - Automount performs the mount and journal replay automatically when the media is attached; no victim action such as opening a file is required for the overflow to occur. S:U - The heap overflow and out-of-bounds reads are confined to kernel memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - With a stale mask larger than the new page size, `bytes = log->page_size - page_off` underflows and `memcpy()` reads up to ~4 GiB past `one_page_buf` into the caller's buffer, and the mismatched `page_off`/`bytes` also expose adjacent slab contents to the log parser — an unbounded kernel heap disclosure. I:H - When the on-disk page size exceeds the host's, `ntfs_read_run_nb()` writes `log->page_size` bytes (e.g. 64 KiB) of fully attacker-controlled disk data into the 4 KiB `one_page_buf`, a controlled-length, controlled-content linear heap overflow usable for object corruption and control-flow hijack. A:H - The commit message documents an outright kernel panic from the negative-length read, and a ~60 KiB slab overwrite or ~4 GiB wild memcpy reliably oopses the machine at mount time.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b46acd6a6a627d876898e1c84d3f84902264b445 to < 0484adcb5fbcadd9ba0fd4485c42630f72e97da9 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < b90ceffdc975502bc085ce8e79c6adeff05f9521 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 2cac0df3324b5e287d8020bc0708f7d2dec88a6f (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 0a4ae2644e2a3b3b219aad9639fb2b0691d08420 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 2fef55d8f78383c8e6d6d4c014b9597375132696 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.103 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/0484adcb5fbcadd9ba0fd4485c42630f72e97da9
- https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420
- https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f
- https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696
- https://git.kernel.org/stable/c/b90ceffdc975502bc085ce8e79c6adeff05f9521
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36abe62bd80b72540afbfdacce3b98d9dde762474cb7bf42ac7878e97dd2c918
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record