Description
In the Linux kernel, the following vulnerability has been resolved:
driver: base: fix UAF when driver_attach failed
When driver_attach(drv); failed, the driver_private will be freed.
But it has been added to the bus, which caused a UAF.
To fix it, we need to delete it from the bus when failed.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 3.9 | 5.4.198 |
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 | 5.18.5-1 | — |
| Debian 13 | linux | 5.18.5-1 | — |
| Debian 12 | linux | 5.18.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | linux-vmware | No fix yet | — |
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-48.54 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1020.24 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1020.25 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1024.30.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1018.24 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1016.19 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1003.5 | — |
| Ubuntu 22.04 LTS | linux-ibm +1 | 5.15.0-1015.17 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1016.21 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1018.22 | — |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1007.7 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1018.23 | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-126.142 | — |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1085.92 | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1020.24~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1091.96 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1020.25~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1046.51 | — |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1089.97 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1018.24~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-48.54~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1033.37 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1016.21~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1004.6 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1075.80 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1083.91 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1018.23~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1070.80 | — |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1019.22~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1085.92~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1091.96~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1089.97~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-126.142~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1033.37~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1083.91~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1070.80~18.04.1 | — |
Show 11 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-realtime | 5.15.0-1021.21 | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1085.92+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1091.96+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1061.69 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1089.97+fips1 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +5 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.0 E4S | kernel-rt +12 | 5.14.0-70.144.1.rt21.216.el9_0 | RHSA-2025:14749 |
| RHEL 9.0 E4S | perf +28 | 5.14.0-70.144.1.el9_0 | RHSA-2025:14744 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SLES 15 SP3 | kernel-64kb +7 | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SLES 12 SP5 | kernel-syms +2 | 4.12.14-122.258.1 | SUSE-SU-2025:01600-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | kernel-default-base | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SLES for SAP 15 SP5 | kernel-docs +4 | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SLES for SAP 15 SP4 | kernel-docs +4 | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLES for SAP 15 SP3 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SLES for SAP 15 SP3 | kernel-docs +5 | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.91.1 | SUSE-SU-2025:1176-1 |
| SLE Micro 5.5 | kernel-source +1 | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.115.1 | SUSE-SU-2025:1183-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.115.1 | SUSE-SU-2025:1183-1 |
| SLE Micro 5.2 | kernel-default | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLE Micro 5.2 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SLE Micro 5.2 | kernel-rt +1 | 5.3.18-150300.205.1 | SUSE-SU-2025:1194-1 |
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SLE Micro 5.1 | kernel-rt +1 | 5.3.18-150300.205.1 | SUSE-SU-2025:1194-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_25 | 1-150500.11.3.1 | SUSE-SU-2025:1241-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_38 | 1-150400.9.3.1 | SUSE-SU-2025:1027-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_56 | 1-150300.7.3.1 | SUSE-SU-2025:1263-1 |
| SLE Live Patching 12 SP5 | kernel-default | 4.12.14-122.258.1 | SUSE-SU-2025:01600-1 |
| SLE Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_68 | 1-8.3.1 | SUSE-SU-2025:01600-1 |
| SLE HPC 15 SP5 | kernel-64kb +5 | 5.14.21-150500.55.100.1 | SUSE-SU-2025:1241-1 |
| SLE HPC 15 SP5 | kernel-default-base | 5.14.21-150500.55.100.1.150500.6.47.1 | SUSE-SU-2025:1241-1 |
| SLE HPC 15 SP4 | kernel-64kb +5 | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SLE HPC 15 SP3 | kernel-64kb +6 | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SLE HPC 15 SP3 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SUSE Manager Server 4.3 | kernel-syms +3 | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.158.1.150400.24.78.1 | SUSE-SU-2025:1027-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +2 | 5.14.21-150400.24.158.1 | SUSE-SU-2025:1027-1 |
| SUSE Enterprise Storage 7.1 | kernel-64kb +6 | 5.3.18-150300.59.201.1 | SUSE-SU-2025:1263-1 |
| SUSE Enterprise Storage 7.1 | kernel-default-base | 5.3.18-150300.59.201.1.150300.18.120.1 | SUSE-SU-2025:1263-1 |
Advisories 9
- RHSA-2025:14749 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2025:14744 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- SUSE-SU-2025:1194-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1176-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1241-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1027-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1183-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:01600-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1263-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Apr 16, 2025
References
- https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b
- https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4
- https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21
- https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df
- https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86
- https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27