Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100680; b=TqZf9ol/5edLfXs23AR+ByUzBKokb32xDT9/9PmqSFUoUGTK9kjJFYrlieKEPFKWeQ3N OpVCC1lSs+6MsclcF4c6nyNoARG/iAxJeD2Ix1DOCy0PQwKg2r7wbhhLRZAeQFQujrqFf n2X4Bj9hbOXIPEtZWvXGg80nP5jTnV/VSM4/fCM2hGgzIk/CLM8K9NVe1Ov8wr4mC1d3Y izEv14kLynJcuq38yLSHOqquKxjYV8MwTq9ctA1ZCfEd0JfmODi2m/dVluJUnHNlpqt5J QTDraHe2YXPZdOgrg1M3HD8cvnervFIjKOFywxUV1a7VVjAwN078Wg6ExznJlRU0TQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100680; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=xXscxwbiqVauHCZSM+pXSJ0L1oTzTTztBbQbdOxPciI=; b=1FU2ITMRi3I6hBOa8pXXpOQgxxKwmUxpKiiZH3OJJvuGrLzL4kog1QtByAXUIzdQHVjA RQa63Y8+ZXhUJqUJXHXqbwAf/BAgl+dE8FVset5wArUAU5BHOU0b5Xhqqbv/3H+NPDfvS opFqf734s/cmujPEYw2XVKV9ieV12+ZScGS3VABWLidukimvqQWtmW1W6jRFjHQqVl1XX fwaFw5t2eWO8kw5VoXMUwoPtd8pAWCdydrjw9VXOMlpluqABOy3M3bIm3bnCCVe2roFSq JlcY4biBUBz8YHeJ7qEIhi3AylV0tyqRTXjXWtz+Swfv+bnLErgjsB3kxlnxWBW7xYg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=dAEObKMe; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA69A606A330 for ; Thu, 19 Nov 2026 15:04:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=dAEObKMe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D72F1F000C7; Thu, 19 Nov 2026 15:04:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100679; bh=xXscxwbiqVauHCZSM+pXSJ0L1oTzTTztBbQbdOxPciI=; h=From:To:Cc:Subject:Date:Reply-To; b=dAEObKMewL5W6wScb0yrMchKflVnGeIK2nQit2LyKNGFOmWkD0hYTnHQGKrz/+cTh OkzfLunbsw9IMFcxz6Zaob8MUy0FXgA1C+Tolop2e5DQjxCP7aPrveNj67Gva89TLF mZdR2H6No0126PHbbpO/mwVw40eFat/tR9g31iBg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99538: ksmbd: ignore network devices of other namespaces Date: Thu, 19 Nov 2026 15:27:16 +0100 Message-ID: <2026111923-CVE-2026-99538-511a@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2844; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OsfvZJZ2iJtqew2mChI4XYyDunPOl9tpkRZwfTsX1hA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aZ3B25/IPDwyHut8kWGoim/9ad8s7qiLj9VZssJ+ 7sfhD/s7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJPBZlmB8xp6DZ2z18zy5d dqbitIO2zznCJzIs2GrjxRf38GuJ07S3Lx1d17vfc5CzBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99538 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 6.12.117 with commit cd27b2436d7fd04aaa8166ff3ce0da74cb12fe49 Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 6.18.61 with commit 9582dc3a31784ac930293b15edaa36c897d74e27 Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 7.3.2 with commit ddbcb0fe1b4ae5fd2c85fba5be61af1a554fce3b Issue introduced in 5.15 with commit 0626e6641f6b467447c81dd7678a69c66f7746cf and fixed in 7.4-rc1 with commit 1f5ce2b8b9164b3fcb93a18fe1e7b451c2fc6eea Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99538 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/smb/server/transport_tcp.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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