Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Defer the free of inner map when necessary
When updating or deleting an inner map in map array or map htab, the map
may still be accessed by non-sleepable program or sleepable program.
However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map
directly through bpf_map_put(), if the ref-counter is the last one
(which is true for most cases), the inner map will be freed by
ops->map_free() in a kworker. But for now, most .map_free() callbacks
don't use synchronize_rcu() or its variants to wait for the elapse of a
RCU grace period, so after the invocation of ops->map_free completes,
the bpf program which is accessing the inner map may incur
use-after-free problem.
Fix the free of inner map by invoking bpf_map_free_deferred() after both
one RCU grace period and one tasks trace RCU grace period if the inner
map has been removed from the outer map before. The deferment is
accomplished by using call_rcu() or call_rcu_tasks_trace() when
releasing the last ref-counter of bpf map. The newly-added rcu_head
field in bpf_map shares the same storage space with work field to
reduce the size of bpf_map.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.9 | 5.10.214 |
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.6.15-1 | — |
| Debian 13 | linux | 6.6.15-1 | — |
| Debian 12 | linux | 6.1.76-1 | — |
| Debian 11 | linux | 5.10.216-1 | DSA-5681-1 |
| Debian 10 | linux-5.10 | 5.10.216-1~deb10u1 | DLA-3842-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1044.46 | — |
| Ubuntu 22.04 LTS | linux | 5.15.0-112.122 | USN-6820-1 |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1063.69 | USN-6821-3 |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1066.75 | USN-6821-4 |
| Ubuntu 22.04 LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | USN-6819-1 |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1067.76.1 | USN-6821-4 |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1062.70 | USN-6820-1 |
| Ubuntu 22.04 LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | USN-6818-1 |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1060.66 | USN-6821-1 |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1046.53 | USN-6821-2 |
| Ubuntu 22.04 LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | USN-6818-4 |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1056.59 | USN-6821-1 |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1058.64 | USN-6821-1 |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1060.65 | USN-6821-2 |
| Ubuntu 22.04 LTS | linux-lowlatency | 5.15.0-110.120 | USN-6820-1 |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | USN-6818-1 |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1058.59 | USN-6820-2 |
| Ubuntu 22.04 LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | USN-6818-3 |
| Ubuntu 22.04 LTS | linux-nvidia-tegra | 5.15.0-1026.26 | — |
| Ubuntu 22.04 LTS | linux-nvidia-tegra-igx | 5.15.0-1015.15 | — |
| Ubuntu 22.04 LTS | linux-oem-6.1 | 6.1.0-1035.35 | USN-6688-1 |
| Ubuntu 22.04 LTS | linux-oem-6.5 | 6.5.0-1024.25 | USN-6819-3 |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1061.67 | USN-6821-1 |
| Ubuntu 22.04 LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | USN-6819-4 |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1058.61 | USN-6919-1 |
| Ubuntu 22.04 LTS | linux-riscv +21 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv-6.5 | 6.5.0-40.40.1~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | USN-6819-1 |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | USN-6820-1 |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1065.74~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu 20.04 LTS | linux-hwe-5.15 | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu 20.04 LTS | linux-ibm-5.15 | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu 20.04 LTS | linux-lowlatency-hwe-5.15 | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu 20.04 LTS | linux-nvidia-tegra-5.15 | 5.15.0-1027.27~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1061.67~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1059.63~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2001.1 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-intel-iot-realtime | 5.15.0-1056.58 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1064.72 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-aws-fips | 5.15.0-1063.69+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-azure-fips | 5.15.0-1065.74+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips | 5.15.0-111.121+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-gcp-fips | 5.15.0-1062.70+fips1 | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | linux-fips +3 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.52.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.37.1 | SUSE-SU-2024:1490-1, SUSE-SU-2024:0855-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.52.1.150500.6.23.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| SLES 15 SP4 | kernel-64kb +3 | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLES 15 SP4 | kernel-syms +2 | 5.14.21-150400.24.111.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLES for SAP 15 SP4 | kernel-docs +1 | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLES for SAP 15 SP4 | kernel-syms +2 | 5.14.21-150400.24.111.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.52.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.52.1.150500.6.23.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.38.1 | SUSE-SU-2024:1466-1, SUSE-SU-2024:0910-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.52.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_11 +2 | 1-150500.11.3.1 | SUSE-SU-2024:1466-1, SUSE-SU-2024:0910-1, SUSE-SU-2024:0858-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_12 | 1-150500.11.7.1 | SUSE-SU-2024:1480-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4-RT_Update_19 | 1-150400.1.3.1 | SUSE-SU-2024:0977-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_24 | 1-150400.9.3.1 | SUSE-SU-2024:0900-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_25 | 1-150400.9.5.1 | SUSE-SU-2024:1321-1 |
| SLE HPC 15 SP4 | kernel-64kb +2 | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SLE HPC 15 SP4 | kernel-syms +2 | 5.14.21-150400.24.111.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.38.1 | SUSE-SU-2024:1466-1, SUSE-SU-2024:0910-1 |
| SUSE Manager Server 4.3 | kernel-default +1 | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
| SUSE Manager Server 4.3 | kernel-syms +1 | 5.14.21-150400.24.111.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
| SUSE Manager Proxy 4.3 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +1 | 5.14.21-150400.24.111.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-2, SUSE-SU-2024:0900-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +10 | 5.14.21-150500.55.52.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.37.1 | SUSE-SU-2024:1490-1, SUSE-SU-2024:0855-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.52.1.150500.6.23.1 | SUSE-SU-2024:1480-1, SUSE-SU-2024:0858-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.38.1 | SUSE-SU-2024:1466-1, SUSE-SU-2024:0910-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| openSUSE Leap Micro 5.4 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| openSUSE Leap Micro 5.4 | kernel-rt | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
| openSUSE Leap Micro 5.3 | kernel-default | 5.14.21-150400.24.111.2 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| openSUSE Leap Micro 5.3 | kernel-default-base | 5.14.21-150400.24.111.2.150400.24.52.1 | SUSE-SU-2024:1321-1, SUSE-SU-2024:0900-1 |
| openSUSE Leap Micro 5.3 | kernel-rt | 5.14.21-150400.15.71.1 | SUSE-SU-2024:0977-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.75-99.163 | 1.0-0.amzn2023 | ALAS2023-2024-519 |
| Amazon Linux 2023 | perf +14 | 6.1.75-99.163.amzn2023 | ALAS2023-2024-519 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | hyperv-daemons | 5.15.153.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | kernel | 5.15.158.1-1 | — |
Advisories 33
- USN-6819-4 linux-oracle-6.5 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6818-3 linux-nvidia-6.5 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6819-3 linux-oem-6.5 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6818-1 linux, linux-gcp, linux-gcp-6.5, linux-lowlatency, linux-lowlatency-hwe-6.5, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6819-1 linux-azure, linux-azure-6.5, linux-starfive, linux-starfive-6.5 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6818-4 linux-hwe-6.5 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-6828-1 linux-intel-iotg-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-6919-1 linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6821-4 linux-azure, linux-azure-fde vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6871-1 linux-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6820-1 linux, linux-gcp, linux-gcp-5.15, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6821-1 linux-gke, linux-ibm, linux-intel-iotg, linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6821-2 linux-gkeop, linux-gkeop-5.15, linux-kvm vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6821-3 linux-aws, linux-aws-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6892-1 linux-ibm-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6820-2 linux-nvidia vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- USN-6688-1 linux-oem-6.1 vulnerabilities Ubuntu Security Notices (USN) · Oct 22, 2026
- SSA-265688 SSA-265688: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1 Siemens ProductCERT · Oct 13, 2026
- ICSA-24-102-01 Siemens SIMATIC S7-1500 TM MFP CISA ICS & IT advisories · May 14, 2026
- DSA-5681-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3842-1 linux-5.10 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0473 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 16, 2026
- SUSE-SU-2024:0977-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0858-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1480-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1490-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1466-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0855-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0910-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1321-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:0900-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2024:0900-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2023-2024-519 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 5, 2024
References
- https://git.kernel.org/stable/c/90c445799fd1dc214d7c6279c144e33a35e29ef2
- https://git.kernel.org/stable/c/37d98fb9c3144c0fddf7f6e99aece9927ac8dce6
- https://git.kernel.org/stable/c/62fca83303d608ad4fec3f7428c8685680bb01b0
- https://git.kernel.org/stable/c/f91cd728b10c51f6d4a39957ccd56d1e802fc8ee
- https://git.kernel.org/stable/c/bfd9b20c4862f41d4590fde11d70a5eeae53dcc5
- https://git.kernel.org/stable/c/876673364161da50eed6b472d746ef88242b2368