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.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.2%top 86.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:9bpftool7.3.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-devel-matched5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-debug-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-devel-matched5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-64k-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-abi-stablelists5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-cross-headers5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-devel-matched5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-debug-uki-virt5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-devel-matched5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-doc5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-headers5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-rt-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-tools5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-tools-libs5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-tools-libs-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-uki-virt5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-devel5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-modules5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-modules-core5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9libperf5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9perf5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9python3-perf5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9rtla5.14.0-427.37.1.el9_4ALSA-2024:6997
AlmaLinux:9rv5.14.0-427.37.1.el9_4ALSA-2024:6997
Debian:12linuxno fix listedDEBIAN-CVE-2024-26947
Debian:13linux6.7.12-1DEBIAN-CVE-2024-26947
Debian:14linux6.7.12-1DEBIAN-CVE-2024-26947
Ubuntu:22.04:LTSlinux5.15.0-127.137USN-7166-1
Ubuntu:22.04:LTSlinux5.15.0-127.137UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux6.8.0-35.35UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-aws5.15.0-1073.79UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-aws5.15.0-1073.79USN-7166-2
Ubuntu:24.04:LTSlinux-aws6.8.0-1009.9UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure5.15.0-1078.87USN-7186-2
Ubuntu:22.04:LTSlinux-azure5.15.0-1078.87UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-azure6.8.0-1008.8UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1078.87.1UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gcp5.15.0-1072.80UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gcp5.15.0-1072.80USN-7166-1
Ubuntu:24.04:LTSlinux-gcp6.8.0-1008.9UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gke5.15.0-1070.76USN-7166-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1070.76UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-gke6.8.0-1004.7UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1056.63UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1056.63USN-7166-1
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-ibm5.15.0-1066.69USN-7166-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1066.69UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-ibm6.8.0-1006.6UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1071.77UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1071.77USN-7186-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1070.75UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-kvm5.15.0-1070.75USN-7166-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-127.137UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-127.137USN-7166-1
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-35.35.1UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1068.69UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1068.69USN-7166-1
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1032.32UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1020.20UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1006.6UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oracle5.15.0-1071.77USN-7166-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1071.77UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-oracle6.8.0-1006.6UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-raspi5.15.0-1066.69USN-7166-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1066.69UBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-raspi6.8.0-1005.5UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-26947
Ubuntu:24.04:LTSlinux-riscv6.8.0-35.35.1UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1039.43UBUNTU-CVE-2024-26947
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1039.43USN-7166-4

Affected products (as reported)

VendorProductVersions
Linux Linux a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before ed95b1e88174566de3dc81d94399aacf2c9dfba4a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 0c027c2bad7f5111c51a358b5d392e1a695dabffa4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 9f7ddc222cae8254e93d5c169a8ae11a49d912a7a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before fb3a122a978626b33de3367ee1762da934c0f512a4d5613c4dc6d413e0733e37db9d116a2a36b9f3 – before 0c66c6f4e21cb22220cbd8821c5c73fc157d20dc6026d4032dbbe3d7f4ac2c8daa923fe74dcf41c465c578935bcc26ddc04e6757b2c7be95bf235b315.4.167 – before 5.5
Linux Linux 5.14

References