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=1795099636; b=VgJr6B2VklKyEhgxPant3ewMwA3GVcsbHKD3yhHcI9BrlIm1bQLTvqeNkY6iZ2NY+FEs lLj3cQoHyh0jNYDLUoAbJwIjq8BLCnq9RfBvFLkQ/UScMu6+C0JzYHVnzCAoy+pxxEfsC h0OgkMYyXZtNQUPcUWeoynqGVt0Pl9NTTFFAyLC06zF46Lz6M9a0FKOGlRrYpb1K1qAMs 4IL770Wca/97O9wCdGggBSfM2AwCFToyPteaOSLENa3yVXYOlzXbmk9/3PepS25hA0wKt jUf7jMr1/ydln/mzDthKRVKm48hIw/Ucp+xJkahsRq+LwWqy8UkE+FurejnFYl3Cdkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099636; 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=dfUK/QE1y53NN7qanUoCPk9DQnZYr0n3vTBFGE7kEw0=; b=BDp+74bvBBmj8UAG1e+aYJgSEpp1yB8PVCPXyQLrC9sKTojbiaB223KUZqTntPwGsZ6L 5G37tWPooQIMaKidu5sHT0LvRjTbcTVBnvNd84fJMSaI+pkX4k5KQW++AYGR9Uv52wXZQ DlkjIoMnJlBKKCnvpvIvAM2u6v0oK7hemwBp5xbOzInlx+9QUjELnilEg1UQczOzwRkrR RIfomN7sGNweHKGkL/3t8Dr9TUX0+D5stv6Cvfw7xMKgVEn345gk+BdHNRziiHJDMzpja m6qgJKNY1dPI8mw1mne9egZKZJaGgumknqP3QlbJTiezD+jqsWYwzFAKfqveHkOv/IA== 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="HaeDr/c1"; 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 5CF34606A324 for ; Thu, 19 Nov 2026 14:47:16 +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=HaeDr/c1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12AFB1F000C6; Thu, 19 Nov 2026 14:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099636; bh=dfUK/QE1y53NN7qanUoCPk9DQnZYr0n3vTBFGE7kEw0=; h=From:To:Cc:Subject:Date:Reply-To; b=HaeDr/c1PolE+lFHSP9ZDqRxKpfe5jYr86I4tY4zYMv3UGCdI28xToDMyMtgDfk9T vu1D8mJJq39Q8M3dtVZw0MxoAqGf6VBOl2S/aryhM/afKbE+gtOq9QYRME+I/p0afM QLgvOBfX91p6n7jP3LkCCm8LGq/eDCqwQK7/HyEM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99401: rtnetlink: wait for RCU readers in rtnl_link_unregister() Date: Thu, 19 Nov 2026 15:24:59 +0100 Message-ID: <2026111957-CVE-2026-99401-776c@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=3778; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l2fE4SEEsIsXEQ6wSyLHyprv1uK9bBMwnhIBjFsehMI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Wo7t/Larc19Pb93d5II+yb/TM4p/Iv/dL3V3C/uN LXi5fe6jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIu30MC3YYBfQpH7q4oG+F 7wPpnvsic3x6DjPMZi9Q9FBQe3ohxHiDeP434Tiur3qRAA== 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: rtnetlink: wait for RCU readers in rtnl_link_unregister() rtnl_link_ops_get() finds ops on link_ops under rcu_read_lock() and only then takes ops->srcu. rtnl_link_unregister() unlinks ops, then calls synchronize_srcu() and cleanup_srcu_struct() without first waiting for RCU readers. A reader that found ops before list_del_rcu() and has not yet taken ops->srcu is not waited for. Such a reader then locks a cleaned-up srcu_struct and keeps using ops after the module that owns it is gone. rtnl_newlink() and rtnl_dump_ifinfo() both look up ops without RTNL, the latter for any user that dumps links filtered by kind. With delays added between the lookup and srcu_read_lock() in rtnl_link_ops_get(), and before rtnl_link_ops_put() in rtnl_dump_ifinfo(), running "ip link show type dummy" alongside "rmmod dummy" on a KASAN kernel gives: BUG: KASAN: vmalloc-out-of-bounds in __srcu_read_unlock+0x57/0x70 Read of size 8 at addr ffffffffc02ff318 by task ip/147 Call Trace: __srcu_read_unlock+0x57/0x70 rtnl_dump_ifinfo.cold+0x30/0x3b rtnl_dumpit+0x7a/0x1b0 netlink_dump+0x486/0x11b0 __netlink_dump_start+0x661/0x910 rtnetlink_rcv_msg+0x611/0x9e0 netlink_rcv_skb+0x126/0x380 netlink_unicast+0x605/0x830 netlink_sendmsg+0x6d0/0xbb0 __sys_sendto+0x335/0x3a0 Call synchronize_rcu() before synchronize_srcu(), as rtnl_af_unregister() already does. This should be enough because rtnl_link_ops_get() is the only RCU walker of link_ops, and it takes ops->srcu before rcu_read_unlock(), so every reader that found ops is covered by synchronize_srcu() once the RCU grace period ends. The extra grace period only costs time at module unload. Readers and the writer were serialized by RTNL until link_ops got its own mutex, which is why the missing RCU wait did not matter before. The Linux kernel CVE team has assigned CVE-2026-99401 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 6b57ff21a3109b1dba2d286ff415463e6fb1fca3 and fixed in 6.18.61 with commit 9e3a6b707681a6291a410d1b7ce15840a9912a86 Issue introduced in 6.13 with commit 6b57ff21a3109b1dba2d286ff415463e6fb1fca3 and fixed in 7.3.2 with commit ee636421740bc47e9d9e612ca7c9fa7dc5d17be1 Issue introduced in 6.13 with commit 6b57ff21a3109b1dba2d286ff415463e6fb1fca3 and fixed in 7.4-rc1 with commit 3b70edea393de445255da6c706eebb823117a955 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-99401 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: net/core/rtnetlink.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/9e3a6b707681a6291a410d1b7ce15840a9912a86 https://git.kernel.org/stable/c/ee636421740bc47e9d9e612ca7c9fa7dc5d17be1 https://git.kernel.org/stable/c/3b70edea393de445255da6c706eebb823117a955