Description
In the Linux kernel, the following vulnerability has been resolved:
mm: krealloc: Fix MTE false alarm in __do_krealloc
This patch addresses an issue introduced by commit 1a83a716ec233 ("mm:
krealloc: consider spare memory for __GFP_ZERO") which causes MTE
(Memory Tagging Extension) to falsely report a slab-out-of-bounds error.
The problem occurs when zeroing out spare memory in __do_krealloc. The
original code only considered software-based KASAN and did not account
for MTE. It does not reset the KASAN tag before calling memset, leading
to a mismatch between the pointer tag and the memory tag, resulting
in a false positive.
Example of the error:
==================================================================
swapper/0: BUG: KASAN: slab-out-of-bounds in __memset+0x84/0x188
swapper/0: Write at addr f4ffff8005f0fdf0 by task swapper/0/1
swapper/0: Pointer tag: [f4], memory tag: [fe]
swapper/0:
swapper/0: CPU: 4 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.
swapper/0: Hardware name: MT6991(ENG) (DT)
swapper/0: Call trace:
swapper/0: dump_backtrace+0xfc/0x17c
swapper/0: show_stack+0x18/0x28
swapper/0: dump_stack_lvl+0x40/0xa0
swapper/0: print_report+0x1b8/0x71c
swapper/0: kasan_report+0xec/0x14c
swapper/0: __do_kernel_fault+0x60/0x29c
swapper/0: do_bad_area+0x30/0xdc
swapper/0: do_tag_check_fault+0x20/0x34
swapper/0: do_mem_abort+0x58/0x104
swapper/0: el1_abort+0x3c/0x5c
swapper/0: el1h_64_sync_handler+0x80/0xcc
swapper/0: el1h_64_sync+0x68/0x6c
swapper/0: __memset+0x84/0x188
swapper/0: btf_populate_kfunc_set+0x280/0x3d8
swapper/0: __register_btf_kfunc_id_set+0x43c/0x468
swapper/0: register_btf_kfunc_id_set+0x48/0x60
swapper/0: register_nf_nat_bpf+0x1c/0x40
swapper/0: nf_nat_init+0xc0/0x128
swapper/0: do_one_initcall+0x184/0x464
swapper/0: do_initcall_level+0xdc/0x1b0
swapper/0: do_initcalls+0x70/0xc0
swapper/0: do_basic_setup+0x1c/0x28
swapper/0: kernel_init_freeable+0x144/0x1b8
swapper/0: kernel_init+0x20/0x1a8
swapper/0: ret_from_fork+0x10/0x20
==================================================================
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.10.14 – < 6.11, 5.10.227 – < 5.10.230, 5.15.168 – < 5.15.173, 6.1.113 – < 6.1.118, 6.6.55 – < 6.6.62, 6.11.3 – < 6.11.9 | 6.11 |
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.11.9-1 | — |
| Debian 13 | linux | 6.11.9-1 | — |
| Debian 12 | linux | 6.1.119-1 | — |
| Debian 11 | linux | 5.10.234-1 | DLA-4075-1 |
| Debian 11 | linux-6.1 | 6.1.119-1~deb11u1 | DLA-4008-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1060.62 | — |
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux | 5.15.0-133.144 | USN-7288-1 |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1078.85 | USN-7308-1 |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1081.90 | USN-7289-1 |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1081.90.1 | USN-7289-1 |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1077.86 | USN-7291-1 |
| Ubuntu 22.04 LTS | linux-gke +1 | 5.15.0-1075.81 | USN-7291-1, USN-7289-1 |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1060.68 | USN-7289-1 |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1070.73 | USN-7289-3 |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1073.79 | USN-7289-4 |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1076.81 | USN-7388-1 |
| Ubuntu 22.04 LTS | linux-lowlatency | 5.15.0-133.143 | USN-7288-1 |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1072.73 | USN-7289-1 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra | 5.15.0-1033.33 | USN-7389-1 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra-igx | 5.15.0-1021.21 | USN-7389-1 |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1072.75 | USN-7305-1 |
| Ubuntu 22.04 LTS | linux-riscv +31 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1044.48 | USN-7390-1 |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1080.87~20.04.1 | USN-7388-1 |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1081.90~20.04.1 | USN-7289-2 |
| Ubuntu 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1081.90~20.04.1.1 | USN-7289-2 |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1077.86~20.04.1 | USN-7291-1 |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 | 5.15.0-134.145~20.04.1 | USN-7331-1 |
| Ubuntu 20.04 LTS | linux-ibm-5.15 | 5.15.0-1074.77~20.04.1 | USN-7458-1 |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1073.79~20.04.2 | USN-7289-4 |
| Ubuntu 20.04 LTS | linux-lowlatency-hwe-5.15 | 5.15.0-133.143~20.04.1 | USN-7288-2 |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1075.81~20.04.1 | USN-7289-2 |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1073.77~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
Show 3 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 22.04 LTS | linux-intel-iot-realtime | 5.15.0-1071.73 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1078.86 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-aws-fips | 5.15.0-1078.85+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-azure-fips | 5.15.0-1080.89+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips | 5.15.0-133.144+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-gcp-fips | 5.15.0-1077.86+fips1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | rv +77 | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.119-129.201 | 1.0-0.amzn2023 | ALAS2023-2025-802 |
| Amazon Linux 2023 | perf +14 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | kernel | 6.6.64.2-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | bpftool | 7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux 9 | rv +28 | 5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux 8 | bpftool +13 | 5.15.0-304.171.4.el9uek | ELSA-2025-20018 |
| Oracle Linux 7 | kernel-uek +6 | 5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux 7 | perf +3 | 5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
Advisories 25
- RHSA-2025:6966 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- USN-7458-1 linux-ibm-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7289-2 linux-azure-5.15, linux-azure-fde-5.15, linux-oracle-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7289-1 linux-azure, linux-azure-fde, linux-gkeop, linux-nvidia, linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7289-3 linux-ibm vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7388-1 linux-aws-5.15, linux-kvm vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7389-1 linux-nvidia-tegra, linux-nvidia-tegra-igx vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7291-1 linux-gcp, linux-gcp-5.15, linux-gke vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7390-1 linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7288-1 linux, linux-lowlatency vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7289-4 linux-intel-iotg, linux-intel-iotg-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7308-1 linux-aws vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7331-1 linux-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7305-1 linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7288-2 linux-lowlatency-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- WID-SEC-2025-2855 IBM DataPower Gateway: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- WID-SEC-2024-3547 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Sep 17, 2026
- DLA-4008-1 linux-6.1 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4075-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ICSA-25-226-07 Siemens Third-Party Components in SINEC OS CISA ICS & IT advisories · Feb 25, 2026
- SSA-355557 SSA-355557: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.2 Siemens ProductCERT · Feb 24, 2026
- ALAS2023-2025-802 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 2, 2025
- ELSA-2025-6966 Moderate: kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 16, 2025
- ELSA-2025-20018 Important: Unbreakable Enterprise kernel security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 11, 2025
- ELSA-2024-12884 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 16, 2024
References
- https://git.kernel.org/stable/c/8ebee7565effdeae6085458f8f8463363120a871
- https://git.kernel.org/stable/c/d02492863023431c31f85d570f718433c22b9311
- https://git.kernel.org/stable/c/d43f1430d47c22a0727c05b6f156ed25fecdfeb4
- https://git.kernel.org/stable/c/486aeb5f1855c75dd810c25036134961bd2a6722
- https://git.kernel.org/stable/c/71548fada7ee0eb50cc6ccda82dff010c745f92c
- https://git.kernel.org/stable/c/3dfb40da84f26dd35dd9bbaf626a2424565b8406
- https://git.kernel.org/stable/c/704573851b51808b45dae2d62059d1d8189138a2