{"id":"CVE-2026-99538","summary":"ksmbd: ignore network devices of other namespaces","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: ignore network devices of other namespaces\n\nWith no interface list configured, ksmbd binds every interface that\ncomes up. ksmbd_netdev_event() does not look at the device's namespace,\nand create_socket() opens the listener in the namespace of the task\nraising NETDEV_UP. A container with its own address on a bridge brings\nup its interface and finds port 445 in its namespace already taken by\nksmbd, so an SMB server running inside the container fails with\n\"Address already in use\".\n\nInterfaces are also matched by name only, so a container's eth0 going\ndown would stop the listener on the host's eth0.\n\nOnly handle netdev events for devices in init_net.","modified":"2026-11-19T17:01:26.987390835Z","published":"2026-11-19T14:44:52.229Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99538.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9582dc3a31784ac930293b15edaa36c897d74e27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99538.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99538"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49"},{"fixed":"9582dc3a31784ac930293b15edaa36c897d74e27"},{"fixed":"ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b"},{"fixed":"1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99538.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99538.json"}}],"schema_version":"1.9.2"}