CVE-2026-99201

netlink: avoid hashing the network namespace pointer

Published Oct 28, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

netlink: avoid hashing the network namespace pointer

The netlink rhashtable key includes a raw struct net pointer and a
user-controlled port ID. Both /proc/net/netlink and socket diagnostics
expose the table's bucket order. By binding and rebinding chosen
NETLINK_USERSOCK port IDs, an unprivileged reader can distinguish equal
buckets and recover the low bits of the Jenkins hash. Its 32-bit seed
and the limited set of kernel-image slides can then be searched offline
to recover the address of init_net.

Use the namespace's unique, non-address net_cookie in the comparison
key instead. It is assigned before the per-net initializers run and
remains unchanged for the namespace's lifetime. The lookup key and
object hash are still built by netlink_compare_arg_init(), keeping
lookup, insertion, removal and rehashing consistent while preserving
namespace separation. Neither public table walker needs to change.

Reading the socket's namespace cookie in netlink_compare() is safe
under RCU, including during namespace teardown. netlink_release()
removes the socket from the hash table and defers its final put with
call_rcu(). cleanup_net() runs the per-net exit methods and waits for
outstanding RCU callbacks with rcu_barrier() before freeing namespace
storage.

Unlike ns.ns_id, net_cookie is also available and initialized during
setup_net() in older stable kernels, making the change straightforward
to backport to v5.15 and later.

Analysis

AI-generated

Technical impact

The vulnerability lies in how the netlink hash table key is constructed: it uses a raw pointer to a network namespace structure together with a user‐controlled port ID. Because /proc/net/netlink and socket diagnostics expose the table bucket order, an unprivileged user can probe the hash, distinguish equal buckets, and recover the low bits of the Jenkins hash. Combining this with the 32‑bit seed and the limited set of kernel image slides allows an offline search that yields the address of init_net. This leakage constitutes a serious information disclosure that can defeat address‑space layout randomisation and potentially enable further kernel exploits.

Affected Systems

The flaw is in the Linux kernel itself. The change was backported to 5.15 and applies to all newer stable releases. Thus any system running Linux kernel 5.15 or later is impacted unless the vendor has already applied the patch. The data does not list a specific patched version, so administrators should verify the presence of the "netlink: avoid hashing the network namespace pointer" commit in their kernel source or consult vendor advisories.

Risk and Exploitability

The CVSS score of 3.3 indicates that this vulnerability is considered low severity, and the EPSS score of <1% suggests a very low probability of exploitation. Nevertheless, the flaw can be exploited on any host where an attacker can read /proc/net/netlink or interrogate netlink sockets. Because the vulnerability is not listed in the CISA KEV catalog, attackers must rely on this covert information‑disclosure vector to locate init_net, a necessary step for bypassing address‑space layout randomisation. Accordingly, environments with untrusted local users or remote network attackers face a modest but real risk of privilege‑escalation or kernel compromise, especially if additional vulnerabilities are present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the netlink net_cookie change (Linux kernel 5.15 or newer).
  • If a direct update is not yet available, backport the commit that replaces the raw network namespace pointer with the net_cookie value in the netlink comparison key.
  • As a temporary mitigation, restrict read access to /proc/net/netlink and limit or disable unused NETLINK_USERSOCK port IDs using firewall or SELinux policies.

Generated by OpenCVE AI on November 3, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
History
Type Values Removed Values Added
Weaknesses CWE-497
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netlink: avoid hashing the network namespace pointer The netlink rhashtable key includes a raw struct net pointer and a user-controlled port ID. Both /proc/net/netlink and socket diagnostics expose the table's bucket order. By binding and rebinding chosen NETLINK_USERSOCK port IDs, an unprivileged reader can distinguish equal buckets and recover the low bits of the Jenkins hash. Its 32-bit seed and the limited set of kernel-image slides can then be searched offline to recover the address of init_net. Use the namespace's unique, non-address net_cookie in the comparison key instead. It is assigned before the per-net initializers run and remains unchanged for the namespace's lifetime. The lookup key and object hash are still built by netlink_compare_arg_init(), keeping lookup, insertion, removal and rehashing consistent while preserving namespace separation. Neither public table walker needs to change. Reading the socket's namespace cookie in netlink_compare() is safe under RCU, including during namespace teardown. netlink_release() removes the socket from the hash table and defers its final put with call_rcu(). cleanup_net() runs the per-net exit methods and waits for outstanding RCU callbacks with rcu_barrier() before freeing namespace storage. Unlike ns.ns_id, net_cookie is also available and initialized during setup_net() in older stable kernels, making the change straightforward to backport to v5.15 and later.
Title netlink: avoid hashing the network namespace pointer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Low
Public date
Oct 28, 2026, 10:35 AM