CVE-2026-99538
ksmbd: ignore network devices of other namespaces
- CVSS
- —
- EPSS
- 0.21% (p11)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux 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.
Fixed in
1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea · 6.12.117 · 6.18.61 · 7.3.2 · 86798325d2c4594565c2a9349173a69d08056540 · 9582dc3a31784ac930293b15edaa36c897d74e27 · a842094b4a3ac6116ccd002b1c73768051de9835 · cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49 · ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b · f909dfc54facd84906e0293047618aa18ae5b938
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.15.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea | 1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <86798325d2c4594565c2a9349173a69d08056540 | 86798325d2c4594565c2a9349173a69d08056540 |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <9582dc3a31784ac930293b15edaa36c897d74e27 | 9582dc3a31784ac930293b15edaa36c897d74e27 |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <a842094b4a3ac6116ccd002b1c73768051de9835 | a842094b4a3ac6116ccd002b1c73768051de9835 |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49 | cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49 |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b | ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b |
| vendor | Linux | >=0626e6641f6b467447c81dd7678a69c66f7746cf, <f909dfc54facd84906e0293047618aa18ae5b938 | f909dfc54facd84906e0293047618aa18ae5b938 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49 other
- https://git.kernel.org/stable/c/9582dc3a31784ac930293b15edaa36c897d74e27 other
- https://git.kernel.org/stable/c/ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b other
- https://git.kernel.org/stable/c/1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99538.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99538 advisory
- https://git.kernel.org/stable/c/a842094b4a3ac6116ccd002b1c73768051de9835 other
- https://git.kernel.org/stable/c/f909dfc54facd84906e0293047618aa18ae5b938 other
- https://git.kernel.org/stable/c/86798325d2c4594565c2a9349173a69d08056540 other