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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.4.167 – < 5.5, 5.10.87 – < 5.11, 5.14 | 5.5 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.7.12-1 | — |
| Debian 13 | linux | 6.7.12-1 | — |
| Debian 12 | linux | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1057.59 | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu 24.04 LTS | linux-ibm +2 | 6.8.0-1006.6 | USN-6878-1, USN-6817-2, USN-6816-1 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-127.137 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1073.79 | USN-7166-2 |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1078.87 | USN-7186-2 |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1078.87.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1072.80 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1070.76 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1056.63 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-ibm +1 | 5.15.0-1066.69 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1070.75 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1068.69 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra | 5.15.0-1032.32 | — |
| Ubuntu 22.04 LTS | linux-nvidia-tegra-igx | 5.15.0-1020.20 | — |
| Ubuntu 22.04 LTS | linux-oracle +1 | 5.15.0-1071.77 | USN-7186-1, USN-7166-1 |
| Ubuntu 22.04 LTS | linux-riscv +31 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1039.43 | USN-7166-4 |
| Ubuntu 20.04 LTS | linux | 5.4.0-202.222 | USN-7159-1 |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1136.146 | USN-7159-2 |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1142.149 | USN-7195-1 |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1096.103 | USN-7159-3 |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1140.149 | USN-7159-1 |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-127.137~20.04.1 | USN-7166-3, USN-7166-1 |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1083.88 | USN-7159-1 |
| Ubuntu 20.04 LTS | linux-ibm-5.15 | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1045.46 | USN-7159-4 |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1124.132 | USN-7159-1 |
| Ubuntu 20.04 LTS | linux-nvidia-tegra-5.15 | 5.15.0-1032.32~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1135.144 | USN-7159-3 |
| Ubuntu 20.04 LTS | linux-oracle-5.15 +1 | 5.15.0-1071.77~20.04.1 | USN-7186-2, USN-7166-1 |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1120.132 | USN-7159-1 |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1069.73~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-xilinx-zynqmp | 5.4.0-1055.59 | USN-7159-1 |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2004.4 | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1002.2 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-intel-iot-realtime | 5.15.0-1066.68 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1074.82 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-aws-fips | 5.15.0-1073.79+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-azure-fips | 5.15.0-1078.87+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips | 5.15.0-127.137+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-gcp-fips | 5.15.0-1072.80+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1136.146+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1142.149+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1110.120 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1140.149+fips1 | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux-aws-5.4 | 5.4.0-1136.146~18.04.1 | USN-7159-2 |
| Ubuntu Pro 18.04 LTS | linux-azure-5.4 | 5.4.0-1142.149~18.04.1 | USN-7195-2 |
| Ubuntu Pro 18.04 LTS | linux-gcp-5.4 | 5.4.0-1140.149~18.04.1 | USN-7159-1 |
| Ubuntu Pro 18.04 LTS | linux-hwe-5.4 | 5.4.0-202.222~18.04.1 | USN-7159-1 |
| Ubuntu Pro 18.04 LTS | linux-ibm-5.4 | 5.4.0-1083.88~18.04.1 | USN-7159-1 |
| Ubuntu Pro 18.04 LTS | linux-oracle-5.4 | 5.4.0-1135.144~18.04.1 | USN-7159-3 |
| Ubuntu Pro 18.04 LTS | linux-raspi-5.4 | 5.4.0-1120.132~18.04.1 | USN-7159-5 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | bpftool | 7.3.0-427.37.1.el9_4 | RHSA-2024:6997 |
| RHEL 9 | rv +64 | 5.14.0-427.37.1.el9_4 | RHSA-2024:6997 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.2 EUS | bpftool | 7.0.0-284.77.1.el9_2 | RHSA-2024:5066 |
| RHEL 9.2 EUS | kernel-rt +14 | 5.14.0-284.77.1.rt14.362.el9_2 | RHSA-2024:5067 |
| RHEL 9.2 EUS | perf +47 | 5.14.0-284.77.1.el9_2 | RHSA-2024:5066 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | bpftool | 7.3.0-427.37.1.el9_4 | ALSA-2024:6997 |
| AlmaLinux 9 | rv +60 | 5.14.0-427.37.1.el9_4 | ALSA-2024:6997 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | bpftool | 7.3.0-427.37.1.el9_4 | ELSA-2024-6997 |
| Oracle Linux 9 | rv +27 | 5.14.0-427.37.1.el9_4 | ELSA-2024-6997 |
Advisories 26
- RHSA-2024:6997 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- USN-7166-1 linux, linux-gcp, linux-gcp-5.15, linux-gke, linux-gkeop, linux-ibm, linux-ibm-5.15, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, linux-oracle, linux-oracle-5.15, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7166-3 linux-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7195-2 linux-azure-5.4 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7159-3 linux-bluefield, linux-oracle, linux-oracle-5.4 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7186-2 linux-azure, linux-intel-iotg-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7194-1 linux-azure-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7166-2 linux-aws, linux-aws-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7186-1 linux-intel-iotg vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7159-1 linux, linux-gcp, linux-gcp-5.4, linux-hwe-5.4, linux-ibm, linux-ibm-5.4, linux-kvm, linux-raspi, linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7166-4 linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7159-2 linux-aws, linux-aws-5.4 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7159-4 linux-iot vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7159-5 linux-raspi-5.4 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7195-1 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- ALSA-2024:6997 Important: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-6878-1 linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6816-1 linux, linux-ibm, linux-lowlatency, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-3 linux-azure, linux-gke vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-1 linux-aws, linux-gcp vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6817-2 linux-oem-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- WID-SEC-2024-1008 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Oct 12, 2026
- RHSA-2024:5067 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- RHSA-2024:5066 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Sep 28, 2026
- WID-SEC-2024-1913 Red Hat OpenShift Container Platform: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 3, 2026
- ELSA-2024-6997 Important: kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 24, 2024
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