CVE-2026-99538: ksmbd: ignore network devices of other namespaces
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: ignore network devices of other namespaces
With no interface list configured, ksmbd binds every interface that comes up. ksmbdnetdevevent() does not look at the device's namespace, and createsocket() opens the listener in the namespace of the task raising NETDEVUP. A container with its own address on a bridge brings up its interface and finds port 445 in its namespace already taken by ksmbd, so an SMB server running inside the container fails with "Address already in use".
Interfaces are also matched by name only, so a container's eth0 going down would stop the listener on the host's eth0.
Only handle netdev events for devices in initnet.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1