Description
In the Linux kernel, the following vulnerability has been resolved:
net: macb: fix unregister_netdev call order in macb_remove()
When removing a macb device, the driver calls phy_exit() before
unregister_netdev(). This leads to a WARN from kernfs:
------------[ cut here ]------------
kernfs: can not remove 'attached_dev', no directory
WARNING: CPU: 1 PID: 27146 at fs/kernfs/dir.c:1683
Call trace:
kernfs_remove_by_name_ns+0xd8/0xf0
sysfs_remove_link+0x24/0x58
phy_detach+0x5c/0x168
phy_disconnect+0x4c/0x70
phylink_disconnect_phy+0x6c/0xc0 [phylink]
macb_close+0x6c/0x170 [macb]
...
macb_remove+0x60/0x168 [macb]
platform_remove+0x5c/0x80
...
The warning happens because the PHY is being exited while the netdev
is still registered. The correct order is to unregister the netdev
before shutting down the PHY and cleaning up the MDIO bus.
Fix this by moving unregister_netdev() ahead of phy_exit() in
macb_remove().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.18 | 6.1.159 |
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.16.5-1 | — |
| Debian 13 | linux | 6.12.48-1 | DSA-6008-1 |
| Debian 12 | linux | 6.1.159-1 | — |
| Debian 11 | linux-6.1 | 6.1.159-1~deb11u1 | DLA-4436-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | 6.8.0-1017.21 | — |
| Ubuntu 25.10 | linux-azure-fde | No fix yet | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-106.106 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1050.53 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1051.57 | USN-8125-1 |
| Ubuntu 24.04 LTS | linux-azure-fde | 6.8.0-1058.65 | — |
| Ubuntu 24.04 LTS | linux-azure-nvidia | 6.8.0-1039.42 | — |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1052.55 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1048.53 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-gkeop | 6.8.0-1035.38 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1049.49 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-intel +19 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-lowlatency | 6.8.0-106.106.1 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1049.52 | USN-8100-1 |
| Ubuntu 24.04 LTS | linux-nvidia-lowlatency | 6.8.0-1049.52.1 | USN-8100-1 |
| Ubuntu 24.04 LTS | linux-nvidia-tegra | 6.8.0-1020.20 | — |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1047.48 | USN-8095-1 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1050.54 | USN-8095-5 |
| Ubuntu 24.04 LTS | linux-xilinx | 6.8.0-1028.29 | USN-8261-1 |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1050.53~22.04.1 | USN-8095-4 |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | USN-8126-1 |
| Ubuntu 22.04 LTS | linux-azure-fde-6.8 | 6.8.0-1058.65~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-gcp-6.8 | 6.8.0-1052.55~22.04.1 | USN-8095-1 |
| Ubuntu 22.04 LTS | linux-hwe-6.8 +1 | 6.8.0-106.106~22.04.1 | USN-8095-1 |
| Ubuntu 22.04 LTS | linux-ibm-6.8 | 6.8.0-1049.49~22.04.1 | USN-8095-1 |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.8 | 6.8.0-106.106.1~22.04.1 | USN-8095-1 |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1049.52~22.04.1 | USN-8100-1 |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1047.48~22.04.1 | USN-8095-1 |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2040.41 | USN-8095-5 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1045.46 | USN-8095-3 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.14 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | 6.8.1-1045.46~22.04.1 | USN-8095-3 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-aws-fips | 6.8.0-1050.53+fips1 | USN-8095-2 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-azure-fips | 6.8.0-1052.58+fips1 | USN-8165-1 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips | 6.8.0-106.106+fips1 | USN-8095-2 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-gcp-fips | 6.8.0-1052.55+fips1 | USN-8095-2 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | kernel-64kb +5 | 6.4.0-150700.53.25.1 | SUSE-SU-2025:4393-1 |
| SLES 15 SP7 | kernel-azure +2 | 6.4.0-150700.20.21.1 | SUSE-SU-2025:4517-1 |
| SLES 15 SP7 | kernel-default-base | 6.4.0-150700.53.25.1.150700.17.17.1 | SUSE-SU-2025:4393-1 |
| SLES 15 SP7 | kernel-docs | 6.4.0-150700.53.25.2 | SUSE-SU-2025:4393-1 |
| SLES 15 SP6 | kernel-64kb +3 | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| SLES 15 SP6 | kernel-azure +2 | 6.4.0-150600.8.58.1 | SUSE-SU-2025:4505-1 |
| SLES 15 SP6 | kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 | SUSE-SU-2025:4422-1 |
| SLES 15 SP6 | kernel-docs +1 | 6.4.0-150600.23.81.1 | SUSE-SU-2025:4422-1 |
| SLES 15 SP6 | kernel-source | 6.4.0-150600.23.81.2 | SUSE-SU-2025:4422-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | kernel-64kb +7 | 6.12.0-160000.8.1 | SUSE-SU-2026:20015-1 |
| SLES for SAP 16.0 | kernel-default-base | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20015-1 |
| SLES 16.0 | kernel-64kb +7 | 6.12.0-160000.8.1 | SUSE-SU-2026:20021-1, SUSE-SU-2026:20015-1 |
| SLES 16.0 | kernel-default-base | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20015-1 |
| SLE Micro 6.2 | kernel-default-base | 6.12.0-160000.8.1.160000.2.5 | SUSE-SU-2026:20012-1 |
| SLE Micro 6.2 | kernel-rt +5 | 6.12.0-160000.8.1 | SUSE-SU-2026:20562-1, SUSE-SU-2026:20012-1 |
| SLE Micro 6.1 | kernel-default-base | 6.4.0-38.1.21.15 | SUSE-SU-2026:20496-1 |
| SLE Micro 6.1 | kernel-rt +1 | 6.4.0-39.1 | SUSE-SU-2026:20059-1 |
| SLE Micro 6.1 | kernel-source +2 | 6.4.0-38.1 | SUSE-SU-2026:20496-1 |
| SLE Micro 6.0 | kernel-default-base | 6.4.0-38.1.21.15 | SUSE-SU-2026:20473-1 |
| SLE Micro 6.0 | kernel-rt +1 | 6.4.0-39.1 | SUSE-SU-2026:20039-1 |
| SLE Micro 6.0 | kernel-source +2 | 6.4.0-38.1 | SUSE-SU-2026:20473-1 |
| SLE Live Patching 15 SP7 | kernel-default | 6.4.0-150700.53.25.1 | SUSE-SU-2025:4393-1 |
| SLE Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_7 | 1-150700.1.3.1 | SUSE-SU-2025:4516-1 |
| SLE Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_7 | 1-150700.15.3.1 | SUSE-SU-2025:4393-1 |
| SLE Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_18 | 1-150600.1.3.1 | SUSE-SU-2025:4521-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_18 | 1-150600.13.3.3 | SUSE-SU-2025:4422-1 |
| SUSE Real Time Module 15 SP7 | kernel-rt +2 | 6.4.0-150700.7.25.1 | SUSE-SU-2025:4516-1 |
| SUSE Real Time Module 15 SP6 | kernel-rt +3 | 6.4.0-150600.10.61.1 | SUSE-SU-2025:4521-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | kernel-default-base | 6.12.0-160000.8.1.160000.2.5 | openSUSE-SU-2025:20172-1 |
| openSUSE Leap 16.0 | kernel-rt +10 | 6.12.0-160000.8.1 | openSUSE-SU-2025:20172-1 |
| openSUSE Leap 15.6 | dtb-aarch64 +3 | 6.4.0-150600.23.81.1 | SUSE-SU-2025:4422-1 |
| openSUSE Leap 15.6 | kernel-64kb +5 | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| openSUSE Leap 15.6 | kernel-azure +2 | 6.4.0-150600.8.58.1 | SUSE-SU-2025:4505-1 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 | SUSE-SU-2025:4422-1 |
| openSUSE Leap 15.6 | kernel-rt +3 | 6.4.0-150600.10.61.1 | SUSE-SU-2025:4521-1 |
| openSUSE Leap 15.6 | kernel-source | 6.4.0-150600.23.81.2 | SUSE-SU-2025:4422-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | kernel | 6.6.119.3-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-105.51.5.el10uek | ELSA-2025-25754 |
Advisories 29
- WID-SEC-2025-2077 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- USN-8100-1 linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8165-1 linux-azure-fips vulnerabilities Ubuntu Security Notices (USN) · Nov 4, 2026
- USN-8095-1 linux, linux-aws, linux-gcp, linux-gcp-6.8, linux-gke, linux-gkeop, linux-hwe-6.8, linux-ibm, linux-ibm-6.8, linux-lowlatency, linux-lowlatency-hwe-6.8, linux-oracle, linux-oracle-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8095-2 linux-fips, linux-aws-fips, linux-gcp-fips vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8126-1 linux-azure-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8095-5 linux-raspi, linux-raspi-realtime vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8125-1 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8095-4 linux-aws-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8095-3 linux-realtime, linux-realtime-6.8 vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8261-1 linux-xilinx vulnerabilities Ubuntu Security Notices (USN) · Sep 7, 2026
- SUSE-SU-2026:20562-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Jul 9, 2026
- openSUSE-SU-2025:20172-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20496-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20059-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20039-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20012-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20015-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20021-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4517-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20473-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4422-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4393-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4516-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4521-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-6008-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:4505-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- DLA-4436-1 linux-6.1 - security update Debian Security (DSA / DLA) · Jan 14, 2026
- ELSA-2025-25754 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 9, 2025
References
- https://git.kernel.org/stable/c/7351782f2fc8ac31ced52e3d4e6fa120f819a7ab
- https://git.kernel.org/stable/c/2b9719ccad38dffad7dbdd2f39896f723f9b9011
- https://git.kernel.org/stable/c/ff0d3bad32108b57265e5b48f15327549af771d3
- https://git.kernel.org/stable/c/775fe690fd4a3337ad2115de2adb41b227d4dae7
- https://git.kernel.org/stable/c/01b9128c5db1b470575d07b05b67ffa3cb02ebf1