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 AE21C383C9F for ; Thu, 25 Jun 2026 08:46:52 +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=1782377213; cv=none; b=Kc6tpBHoR/D8eUlduSAjX0XIYmiV83ML5qljm80REOYnIqG1Oev3viEcygZRtLqzjBIYQGbTg65/JXdZhHWRVW1X1cwBoWmQ9zJ/q0hz2hvfB1ydJiqsD5CDNNwPvLiYUoT1ul7lV3hDIeB7I8KIlE7kBdGyP/ZwWuwSNIivYoQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377213; c=relaxed/simple; bh=OVM/irQdL2zJoyzsMbFbNTlu3j8d3h817Hv5pHMKeI8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PKGZCXQKw7ieS/8go/vAOJE2HOHzMB+whlYtQZGuAv6Uq/6yNWQRb6jcbs7QsdhxaRo28sCIKHjnSQ6JlSL+7EDjEoQ6ZTA4mD1pdcBNHayew6qZouYa/ymUvGYFvi4mJMYCESQ/ijRy+wjk9mN+LifbiJphAde76/MGssM8D34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NpHiy0Rl; 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="NpHiy0Rl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 000991F00A3A; Thu, 25 Jun 2026 08:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377212; bh=Lv68gsRFRnyDmGM3qRYIUX+jQ7C2YTBHvDPCbr1dYp4=; h=From:To:Cc:Subject:Date:Reply-To; b=NpHiy0RlBqyP74Q3GFeTTql2vzWF4bgt6zFGQrAxBuyTgJy4cEpmumrIFlOldfJf5 m8lM2NNacbS5lEbtSpSJOYjSfTjlFijW+lxx8jLYZXV+THCU0fOHke+XbrE6amNkdT +4//bBelkI0IeYUF6rzaXZbHubM356FZFKjVfrbM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53214: ipv6: Fix a potential NPD in cleanup_prefix_route() Date: Thu, 25 Jun 2026 09:41:02 +0100 Message-ID: <2026062504-CVE-2026-53214-9ec6@gregkh> X-Mailer: git-send-email 2.54.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=4252; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WzEOKcyEVP4QmPFF2JAuSXXW+KfuABYvYG0mVZcO2Ow=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L1PYwvccZFM0nacQJZjL2++j3fTv9nFunazbd+TCm DfOi3jdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5uJ9hrlBKs2SSySxNtkn1 bBZd74+aFC/3Z5hfvv+Uo/jtjFUTJ28oV9y78dzHiT1bAA== 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: ipv6: Fix a potential NPD in cleanup_prefix_route() addrconf_get_prefix_route() can return the fib6_null_entry sentinel entry which has a NULL fib6_table pointer. Therefore, before setting the route's expiration time, check that we are not working with this entry, as otherwise a NPD will be triggered [1]. Note that the other callers of addrconf_get_prefix_route() are not susceptible to this bug: 1. addrconf_prefix_rcv(): Requests a route with the 'RTF_ADDRCONF | RTF_PREFIX_RT' flags which are not set on fib6_null_entry. 2. modify_prefix_route(): Fixed by commit a747e02430df ("ipv6: avoid possible NULL deref in modify_prefix_route()"). 3. __ipv6_ifa_notify(): Calls ip6_del_rt() which specifically checks for fib6_null_entry and returns an error. [1] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [...] Call Trace: __kasan_check_byte (mm/kasan/common.c:573) lock_acquire.part.0 (kernel/locking/lockdep.c:5842 (discriminator 1)) _raw_spin_lock_bh (kernel/locking/spinlock.c:182 (discriminator 1)) cleanup_prefix_route (net/ipv6/addrconf.c:1280) ipv6_del_addr (net/ipv6/addrconf.c:1342) inet6_addr_del.isra.0 (net/ipv6/addrconf.c:3119) inet6_rtm_deladdr (net/ipv6/addrconf.c:4812) rtnetlink_rcv_msg (net/core/rtnetlink.c:6997) netlink_rcv_skb (net/netlink/af_netlink.c:2555) netlink_unicast (net/netlink/af_netlink.c:1344) netlink_sendmsg (net/netlink/af_netlink.c:1899) __sock_sendmsg (net/socket.c:802 (discriminator 4)) ____sys_sendmsg (net/socket.c:2698) ___sys_sendmsg (net/socket.c:2752) __sys_sendmsg (net/socket.c:2784) do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) The Linux kernel CVE team has assigned CVE-2026-53214 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.120 with commit bd12abe294c7738421bdfbc486f1909d02db30e9 and fixed in 6.6.143 with commit 5f82b02b4059ddc06e4fcfd057bfb59fd6885cd2 Issue introduced in 6.9 with commit 5eb902b8e7193cdcb33242af0a56502e6b5206e9 and fixed in 6.12.94 with commit 192df376a05c2db15564640f9da7e20907c1fa24 Issue introduced in 6.9 with commit 5eb902b8e7193cdcb33242af0a56502e6b5206e9 and fixed in 6.18.36 with commit 07d9a0870a178843cea44cfd58c27445dc94cf5f Issue introduced in 6.9 with commit 5eb902b8e7193cdcb33242af0a56502e6b5206e9 and fixed in 7.0.13 with commit 653a2849305708f75260b5296f17b2a759ff9cc7 Issue introduced in 6.9 with commit 5eb902b8e7193cdcb33242af0a56502e6b5206e9 and fixed in 7.1 with commit b70c687b7cf267fb08586667a3946c8851cad672 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-53214 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/ipv6/addrconf.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/5f82b02b4059ddc06e4fcfd057bfb59fd6885cd2 https://git.kernel.org/stable/c/192df376a05c2db15564640f9da7e20907c1fa24 https://git.kernel.org/stable/c/07d9a0870a178843cea44cfd58c27445dc94cf5f https://git.kernel.org/stable/c/653a2849305708f75260b5296f17b2a759ff9cc7 https://git.kernel.org/stable/c/b70c687b7cf267fb08586667a3946c8851cad672