← VULNERABILITIES

CVE-2026-99538

ksmbd: ignore network devices of other namespaces

UnscoredFix available
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

EcosystemPackageRangeFixed
LinuxKernel>=5.15.0, <6.12.1176.12.117
LinuxKernel>=6.13.0, <6.18.616.18.61
LinuxKernel>=6.19.0, <7.3.27.3.2
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <86798325d2c4594565c2a9349173a69d0805654086798325d2c4594565c2a9349173a69d08056540
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <9582dc3a31784ac930293b15edaa36c897d74e279582dc3a31784ac930293b15edaa36c897d74e27
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <a842094b4a3ac6116ccd002b1c73768051de9835a842094b4a3ac6116ccd002b1c73768051de9835
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3bddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <f909dfc54facd84906e0293047618aa18ae5b938f909dfc54facd84906e0293047618aa18ae5b938

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

JSON