Description
In the Linux kernel, the following vulnerability has been resolved:
net: explicitly clear the sk pointer, when pf->create fails
We have recently noticed the exact same KASAN splat as in commit
6cd4a78d962b ("net: do not leave a dangling sk pointer, when socket
creation fails"). The problem is that commit did not fully address the
problem, as some pf->create implementations do not use sk_common_release
in their error paths.
For example, we can use the same reproducer as in the above commit, but
changing ping to arping. arping uses AF_PACKET socket and if packet_create
fails, it will just sk_free the allocated sk object.
While we could chase all the pf->create implementations and make sure they
NULL the freed sk object on error from the socket, we can't guarantee
future protocols will not make the same mistake.
So it is easier to just explicitly NULL the sk pointer upon return from
pf->create in __sock_create. We do know that pf->create always releases the
allocated sk object on error, so if the pointer is not NULL, it is
definitely dangling.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.15.162 – < 5.15.168, 6.1.96 – < 6.1.113, 6.6.36 – < 6.6.57, 6.9.7 – < 6.10, 6.10 | 5.15.168 |
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.4-1 | — |
| Debian 13 | linux | 6.11.4-1 | — |
| Debian 12 | linux | 6.1.115-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-1057.59 | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-56.58 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1025.27 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1025.30 | USN-7384-1 |
| Ubuntu 24.04 LTS | linux-azure-6.11 | 6.11.0-1012.12~24.04.1 | — |
| Ubuntu 24.04 LTS | linux-azure-nvidia | 6.8.0-1014.15 | USN-7468-1 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1026.28 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-gcp-6.11 | 6.11.0-1011.11~24.04.1 | — |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1021.25 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-gkeop | 6.8.0-1008.10 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1022.22 | USN-7385-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1024.27 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-nvidia-6.11 | 6.11.0-1007.7 | — |
| Ubuntu 24.04 LTS | linux-nvidia-lowlatency | 6.8.0-1024.27.1 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-nvidia-tegra | 6.8.0-1004.4 | — |
| Ubuntu 24.04 LTS | linux-oem-6.11 | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | 6.8.0-1024.24 | USN-7386-1 |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1022.23 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1028.32 | USN-7524-1 |
| Ubuntu 24.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-56.58.1 | USN-7383-1 |
| Ubuntu 24.04 LTS | linux-xilinx | 6.8.0-1017.18 | — |
| 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-aws-6.8 | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1078.87 | USN-7186-2 |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1025.30~22.04.1 | USN-7384-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-gcp-6.8 | 6.8.0-1026.28~22.04.1 | USN-7383-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-hwe-6.8 | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu 22.04 LTS | linux-ibm +1 | 5.15.0-1066.69 | USN-7166-1 |
| Ubuntu 22.04 LTS | linux-ibm-6.8 | 6.8.0-1023.23~22.04.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-6.8 | 6.8.0-1024.27~22.04.1 | USN-7383-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-oracle-6.8 | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu 22.04 LTS | linux-riscv +31 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv-6.8 +1 | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1039.43 | USN-7166-4 |
| 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.15 | 5.15.0-1078.87~20.04.1 | USN-7194-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 +27 | 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.15 | 5.15.0-1066.69~20.04.1 | USN-7166-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.15 +1 | 5.15.0-1071.77~20.04.1 | USN-7186-2, USN-7166-1 |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1069.73~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
Show 4 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-2023.24 | USN-7523-1 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1018.19 | USN-7383-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 Realtime 22.04 LTS | linux-realtime-6.8 | 6.8.1-1018.19~22.04.1 | — |
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | rv +77 | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | kernel-64kb +6 | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SLES 15 SP6 | kernel-azure +2 | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SLES 15 SP6 | kernel-coco +3 | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SLES 15 SP6 | kernel-default-base | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | kernel-default-base | 6.4.0-24.1.21.4 | SUSE-SU-2025:20247-1 |
| SLE Micro 6.1 | kernel-livepatch-MICRO-6-0-RT_Update_4 | 1-1.1 | SUSE-SU-2025:20246-1 |
| SLE Micro 6.1 | kernel-livepatch-MICRO-6-0_Update_4 | 1-1.2 | SUSE-SU-2025:20247-1 |
| SLE Micro 6.1 | kernel-rt +1 | 6.4.0-22.1 | SUSE-SU-2025:20246-1 |
| SLE Micro 6.1 | kernel-source +2 | 6.4.0-24.1 | SUSE-SU-2025:20247-1 |
| SLE Micro 6.0 | kernel-default-base | 6.4.0-24.1.21.4 | SUSE-SU-2025:20164-1 |
| SLE Micro 6.0 | kernel-livepatch-MICRO-6-0-RT_Update_4 | 1-1.1 | SUSE-SU-2025:20163-1 |
| SLE Micro 6.0 | kernel-livepatch-MICRO-6-0_Update_4 | 1-1.2 | SUSE-SU-2025:20164-1 |
| SLE Micro 6.0 | kernel-rt +1 | 6.4.0-22.1 | SUSE-SU-2025:20163-1 |
| SLE Micro 6.0 | kernel-source +2 | 6.4.0-24.1 | SUSE-SU-2025:20164-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
| SLE Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_6 | 1-150600.1.3.1 | SUSE-SU-2024:4314-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_6 | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_23 | 1-150500.11.3.1 | SUSE-SU-2024:4315-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_21 | 1-150500.11.5.1 | SUSE-SU-2024:4364-1 |
| SUSE Real Time Module 15 SP6 | kernel-rt +3 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kernel-source | 6.11.8-1.1 | openSUSE-SU-2024:14500-1 |
| openSUSE Tumbleweed | kernel-source-longterm | 6.12.11-1.1 | openSUSE-SU-2025:14705-1 |
| openSUSE Leap 15.6 | dtb-aarch64 +10 | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| openSUSE Leap 15.6 | kernel-azure +2 | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| openSUSE Leap 15.6 | kernel-rt +3 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.5 | kernel-rt | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.115-126.197 | 1.0-0.amzn2023 | ALAS2023-2025-794 |
| Amazon Linux 2023 | perf +14 | 6.1.115-126.197.amzn2023 | ALAS2023-2025-794 |
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 |
Advisories 38
- USN-7468-1 linux-azure-nvidia vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7451-1 linux-aws-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7524-1 linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7523-1 linux-raspi-realtime vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7310-1 linux-oem-6.11 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7384-2 linux-azure-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7384-1 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 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-7383-1 linux, linux-aws, linux-gcp, linux-gcp-6.8, linux-gke, linux-gkeop, linux-lowlatency, linux-lowlatency-hwe-6.8, linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency, linux-oracle, linux-oracle-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7166-3 linux-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7386-1 linux-oem-6.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7383-2 linux-realtime 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-7403-1 linux-hwe-6.8 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-7385-1 linux-ibm vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7186-1 linux-intel-iotg vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7166-4 linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- RHSA-2025:6966 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- WID-SEC-2025-2855 IBM DataPower Gateway: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- SUSE-SU-2025:20163-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20246-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20164-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20247-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4008-1 linux-6.1 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-3376 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Feb 16, 2026
- SUSE-SU-2024:4376-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4318-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4364-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4316-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14705-1 kernel-devel-longterm-6.12.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14500-1 kernel-devel-6.11.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4315-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4387-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4314-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2025-794 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
References
- https://git.kernel.org/stable/c/daf462ff3cde6ecf22b98d9ae770232c10d28de2
- https://git.kernel.org/stable/c/b7d22a79ff4e962b8af5ffe623abd1d6c179eb9f
- https://git.kernel.org/stable/c/563e6892e21d6ecabdf62103fc4e7b326d212334
- https://git.kernel.org/stable/c/8e1b72fd74bf9da3b099d09857f4e7f114f38e12
- https://git.kernel.org/stable/c/631083143315d1b192bd7d915b967b37819e88ea