# CVE-2026-99538: ksmbd: ignore network devices of other namespaces

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-11-19T14:44:52.229Z
- Modified: 2026-11-23T08:17:55.750Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/a842094b4a3ac6116ccd002b1c73768051de9835>
- <https://git.kernel.org/stable/c/f909dfc54facd84906e0293047618aa18ae5b938>
- <https://git.kernel.org/stable/c/86798325d2c4594565c2a9349173a69d08056540>
- <https://git.kernel.org/stable/c/cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49>
- <https://git.kernel.org/stable/c/9582dc3a31784ac930293b15edaa36c897d74e27>
- <https://git.kernel.org/stable/c/ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b>
- <https://git.kernel.org/stable/c/1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea>

## Sources

- CVE List: [CVE-2026-99538](https://www.cve.org/CVERecord?id=CVE-2026-99538), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99538](https://nvd.nist.gov/vuln/detail/CVE-2026-99538), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99538 · Whole record: https://cve.day/CVE-2026-99538.json · Rebuilt by cve.day 2026-11-25T22:59:52.107Z
