Vulnerability · Published May 1, 2024 · Assigned by Linux
CVE-2024-26947ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses Since commit a4d5613c4dc6 ("arm: extend pfn_valid to take into account freed memory map alignment") changes the semantics of pfn_valid() to check presence of the memory map for a PFN. A valid page for an address which is reserved but not mapped by the kernel[1], the system crashed during some uio test with the following memory layout: node 0: [mem 0x00000000c0a00000-0x00000000cc8fffff] node 0: [mem 0x00000000d0000000-0x00000000da1fffff] the uio layout is:0xc0900000, 0x100000 the crash backtrace like: Unable to handle kernel paging request at virtual address bff00000 [...] CPU: 1 PID: 465 Comm: startapp.bin Tainted: G O 5.10.0 #1 Hardware name: Generic DT based system PC is at b15_flush_kern_dcache_area+0x24/0x3c LR is at __sync_icache_dcache+0x6c/0x98 [...] (b15_flush_kern_dcache_area) from (__sync_icache_dcache+0x6c/0x98) (__sync_icache_dcache) from (set_pte_at+0x28/0x54) (set_pte_at) from (remap_pfn_range+0x1a0/0x274) (remap_pfn_range) from (uio_mmap+0x184/0x1b8 [uio]) (uio_mmap [uio]) from (__mmap_region+0x264/0x5f4) (__mmap_region) from (__do_mmap_mm+0x3ec/0x440) (__do_mmap_mm) from (do_mmap+0x50/0x58) (do_mmap) from (vm_mmap_pgoff+0xfc/0x188) (vm_mmap_pgoff) from (ksys_mmap_pgoff+0xac/0xc4) (ksys_mmap_pgoff) from (ret_fast_syscall+0x0/0x5c) Code: e0801001 e2423001 e1c00003 f57ff04f (ee070f3e) ---[ end trace 09cf0734c3805d52 ]--- Kernel panic - not syncing: Fatal exception So check if PG_reserved was set to solve this issue. [1]: https://lore.kernel.org/lkml/Zbtdue57RO0QScJM@linux.ibm.com/
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bpftool | 7.3.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-doc | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-headers | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-tools | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | libperf | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | perf | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | python3-perf | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | rtla | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux:9 | rv | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
| Debian:12 | linux | no fix listed | DEBIAN-CVE-2024-26947 |
| Debian:13 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26947 |
| Debian:14 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux | 5.15.0-127.137 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-127.137 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux | 6.8.0-35.35 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1073.79 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1073.79 | USN-7166-2 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1009.9 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1078.87 | USN-7186-2 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1078.87 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1008.8 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1078.87.1 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1072.80 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1072.80 | USN-7166-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1008.9 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1070.76 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1070.76 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1004.7 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1056.63 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1056.63 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1066.69 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1066.69 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1006.6 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1071.77 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1071.77 | USN-7186-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1070.75 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1070.75 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-127.137 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-127.137 | USN-7166-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1068.69 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1068.69 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1032.32 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1020.20 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1006.6 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1071.77 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1071.77 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1006.6 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1066.69 | USN-7166-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1066.69 | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1005.5 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1039.43 | UBUNTU-CVE-2024-26947 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1039.43 | USN-7166-4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before ed95b1e88174566de3dc81d94399aacf2c9dfba4a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 0c027c2bad7f5111c51a358b5d392e1a695dabffa4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 9f7ddc222cae8254e93d5c169a8ae11a49d912a7a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before fb3a122a978626b33de3367ee1762da934c0f512a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 0c66c6f4e21cb22220cbd8821c5c73fc157d20dc6026d4032dbbe3d7f4ac2c8daa923fe74dcf41c465c578935bcc26ddc04e6757b2c7be95bf235b315.4.167 – before 5.5 |
| Linux | Linux | 5.14 |
References
- https://git.kernel.org/stable/c/ed95b1e88174566de3dc81d94399aacf2c9dfba4
- https://git.kernel.org/stable/c/0c027c2bad7f5111c51a358b5d392e1a695dabff
- https://git.kernel.org/stable/c/9f7ddc222cae8254e93d5c169a8ae11a49d912a7
- https://git.kernel.org/stable/c/fb3a122a978626b33de3367ee1762da934c0f512
- https://git.kernel.org/stable/c/0c66c6f4e21cb22220cbd8821c5c73fc157d20dc