CVE-2026-99211: netlink: reset skb headers before unicast and multicast filtering
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netlink: reset skb headers before unicast and multicast filtering
Socket filters can use SKF_NET_OFF and SKF_LL_OFF to read relative to an skb's network and MAC headers. Netlink producers may reserve headroom without resetting those headers, allowing a receiving socket's filter to read data before the initialized message.
For example, IWPM HELLO replies are allocated with dev_alloc_skb(), which reserves NET_SKB_PAD bytes. An unprivileged NETLINK_RDMA user can attach a classic socket filter and disclose this headroom through the length of the delivered reply. The resets in netlink_dump() do not help because IWPM sends a separately allocated skb through netlink_unicast().
Reset both headers before running the receiver's filter in unicast and broadcast delivery, as is already done for dump skbs. This also covers other netlink producers that reserve headroom without changing their allocation or message-building code.
The Linux kernel CVE team has assigned CVE-2026-99211 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.26 with commit b1153f29ee07dc1a788964409255a4b4fae50b98 and fixed in 6.18.59 with commit 06791594274f87c29f1a9f1961d700272716a49d Issue introduced in 2.6.26 with commit b1153f29ee07dc1a788964409255a4b4fae50b98 and fixed in 7.2.13 with commit 06935da5de83aa8b98841563894857e7d2f80e47 Issue introduced in 2.6.26 with commit b1153f29ee07dc1a788964409255a4b4fae50b98 and fixed in 7.3 with commit 8bf659bd54e1f00e34cf5244b1d289c506fa47c0
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-99211
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/netlink/af_netlink.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/06791594274f87c29f1a9f1961d700272716a49d https://git.kernel.org/stable/c/06935da5de83aa8b98841563894857e7d2f80e47 https://git.kernel.org/stable/c/8bf659bd54e1f00e34cf5244b1d289c506fa47c0