CVE-2026-99538
JSON

Not scored

ksmbd: ignore network devices of other namespaces

Severity
Not scored
Exploit likelihood
0.21% (higher than 7% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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. ksmbd_netdev_event() does not look at the device's namespace, and create_socket() opens the listener in the namespace of the task raising NETDEV_UP. 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 init_net.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before a842094b4a3ac6116ccd002b1c73768051de9835, from 0626e6641f6b467447c81dd7678a69c66f7746cf before f909dfc54facd84906e0293047618aa18ae5b938, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 86798325d2c4594565c2a9349173a69d08056540, from 0626e6641f6b467447c81dd7678a69c66f7746cf before cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 9582dc3a31784ac930293b15edaa36c897d74e27, from 0626e6641f6b467447c81dd7678a69c66f7746cf before ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea, 5.15
Not affected: before 5.15, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.61 up to 6.18.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99538 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-99538 changed 2026-11-23Public domain