Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C80137C930 for ; Sat, 15 Aug 2026 06:31:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775502; cv=none; b=FJPuFt30NduAlN54mwLT2zTaSA/W0UAbfZVBsNHNbQkW3Rb1VKuulO0uzkcubK7RxZM0Fpqs3T2km5jWOod8a5BHsPHcgtfv7wxpm0h3pUTfh/TZiZ/SHey6o+MMqh9f5wYCPmN7Akdh/AMPq1UxAZVSrEs/Uf5agHmAH0SEyN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775502; c=relaxed/simple; bh=8dAemHyct1c0SfL8vgvgYQB6GdxKtRAFjvgEiqzIbKI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MjEAQFLgAFZyfCFXYDHBl1/cLLKWZ7hOi+WQwafa6n5VNs6GRwlw6SnQNWoO2PctVyerIooVSUiuADVkdUfVpAw7k8TFv0anNMW4OAR/THHGyEEhDfpU60O89uE7X/uaMsvQH7IlyU8ILJguhJi9bsWaW9xGEUYnWPjEO/R1HLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v00vCx8A; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="v00vCx8A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB9EC1F000E9; Sat, 15 Aug 2026 06:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775501; bh=Udkicn+IZK2CRLz/Mjkn/DgOASojV9SynfuObWNJPF8=; h=From:To:Cc:Subject:Date:Reply-To; b=v00vCx8AEeMiUeSZdBhbu0EqwllzI780CY5prZCJU2lsM/Dlz6KyLNIvI4dXeldFl TwJieBxESJ6PY8K0CBoUVS0DHLTkG5+mFwEOJQkWQ2TsuQLSBpeY2nlb3chhgVhpPk RnM/X+QEc5pIJEsFOVt69O+QX3lKrDz+2GTjZ/IE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74259: cifs: remove all cifs files before kill super Date: Sat, 15 Aug 2026 15:09:46 +0900 Message-ID: <2026081542-CVE-2026-74259-6b8e@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4309; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UK3w85ARzGOVk/8yTE9XYjI9IpMXTa1NZxQXorUsJRI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjEzMTJ/uGkcVveiRyXU/JaUl6sU6//bFRV1fT6ik2 U3dW1fVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZ0sowv4bhUui/CZP1uCo0 bkafqZszoy/pPcM8i5TZFTaHRCrLVGf6Myg4tW+bp1cHAA== 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: cifs: remove all cifs files before kill super Cifs files may be put into fileinfo_put_wq during umounting cifs. After umount done, cifsFileInfo_put_final is called, which cause following BUG: BUG: kernel NULL pointer dereference, address: 0000000000000000 ... [ 134.222152] list_lru_add+0x64/0x1a0 [ 134.222399] ? cifs_put_tcon+0x171/0x340 [cifs] [ 134.222772] d_lru_add+0x44/0x60 [ 134.222997] dput+0x1fc/0x210 [ 134.223213] cifsFileInfo_put_final+0x11a/0x140 [cifs] [ 134.223576] process_one_work+0x17c/0x320 [ 134.223843] worker_thread+0x188/0x280 [ 134.224084] ? __pfx_worker_thread+0x10/0x10 [ 134.224366] kthread+0xcc/0x100 [ 134.224576] ? __pfx_kthread+0x10/0x10 [ 134.224827] ret_from_fork+0x30/0x50 [ 134.225063] ? __pfx_kthread+0x10/0x10 [ 134.225328] ret_from_fork_asm+0x1b/0x30 This can be reproduce by following: unshare -n bash -c " mkdir -p ${CIFS_MNT} ip netns attach root 1 ip link add eth0 type veth peer veth0 netns root ip link set eth0 up ip -n root link set veth0 up ip addr add 192.168.0.2/24 dev eth0 ip -n root addr add 192.168.0.1/24 dev veth0 ip route add default via 192.168.0.1 dev eth0 ip netns exec root sysctl net.ipv4.ip_forward=1 ip netns exec root iptables -t nat -A POSTROUTING -s 192.168.0.2 -o ${DEV} -j MASQUERADE mount -t cifs ${CIFS_PATH} ${CIFS_MNT} -o vers=3.0,sec=ntlmssp,credentials=${CIFS_CRED},rsize=65536,wsize=65536,cache=none,echo_interval=1 touch ${CIFS_MNT}/a.txt ip netns exec root iptables -t nat -D POSTROUTING -s 192.168.0.2 -o ${DEV} -j MASQUERADE " umount ${CIFS_MNT} The Linux kernel CVE team has assigned CVE-2026-74259 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.167 with commit 708c276f516d27beaded7f372ac8111cee43926c and fixed in 6.1.178 with commit 55fb9581986141659002264fdc75cef307811eb8 Issue introduced in 6.6.130 with commit 0629a1a187e424373364d681b42b101894bdb548 and fixed in 6.6.145 with commit 4465ebe67d89345954bb3622b25dd13e06f9d367 Issue introduced in 6.12.78 with commit 0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd and fixed in 6.12.97 with commit 3baedc9b2f53e6a6ac57b16fdff0f9b954d9ca71 Issue introduced in 6.18.20 with commit f655467a9973f964b267871e5fef533ad5014494 and fixed in 6.18.40 with commit 21303c4a2b7275e626c6b67de0f45f2d5b9bb3e7 Issue introduced in 7.0 with commit 340cea84f691c5206561bb2e0147158fe02070be and fixed in 7.1.5 with commit 7839f1817a0cb6c4ed5cfe25d04845c43380a129 Issue introduced in 7.0 with commit 340cea84f691c5206561bb2e0147158fe02070be and fixed in 7.2-rc1 with commit 6d9a4aaaa8b2612b5ef9d581e2f286a458b71ee1 Issue introduced in 6.19.10 with commit 30afc6ea72cc6cf7c8d579e79b64232801c38d08 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-74259 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/client/connect.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/55fb9581986141659002264fdc75cef307811eb8 https://git.kernel.org/stable/c/4465ebe67d89345954bb3622b25dd13e06f9d367 https://git.kernel.org/stable/c/3baedc9b2f53e6a6ac57b16fdff0f9b954d9ca71 https://git.kernel.org/stable/c/21303c4a2b7275e626c6b67de0f45f2d5b9bb3e7 https://git.kernel.org/stable/c/7839f1817a0cb6c4ed5cfe25d04845c43380a129 https://git.kernel.org/stable/c/6d9a4aaaa8b2612b5ef9d581e2f286a458b71ee1