{"id":"CVE-2026-99201","aliases":["CVE-2026-99201"],"related":[],"kind":"vulnerability","state":"published","title":"netlink: avoid hashing the network namespace pointer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: avoid hashing the network namespace pointer\n\nThe netlink rhashtable key includes a raw struct net pointer and a\nuser-controlled port ID. Both /proc/net/netlink and socket diagnostics\nexpose the table's bucket order. By binding and rebinding chosen\nNETLINK_USERSOCK port IDs, an unprivileged reader can distinguish equal\nbuckets and recover the low bits of the Jenkins hash. Its 32-bit seed\nand the limited set of kernel-image slides can then be searched offline\nto recover the address of init_net.\n\nUse the namespace's unique, non-address net_cookie in the comparison\nkey instead. It is assigned before the per-net initializers run and\nremains unchanged for the namespace's lifetime. The lookup key and\nobject hash are still built by netlink_compare_arg_init(), keeping\nlookup, insertion, removal and rehashing consistent while preserving\nnamespace separation. Neither public table walker needs to change.\n\nReading the socket's namespace cookie in netlink_compare() is safe\nunder RCU, including during namespace teardown. netlink_release()\nremoves the socket from the hash table and defers its final put with\ncall_rcu(). cleanup_net() runs the per-net exit methods and waits for\noutstanding RCU callbacks with rcu_barrier() before freeing namespace\nstorage.\n\nUnlike ns.ns_id, net_cookie is also available and initialized during\nsetup_net() in older stable kernels, making the change straightforward\nto backport to v5.15 and later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlink: avoid hashing the network namespace pointer\n\nThe netlink rhashtable key includes a raw struct net pointer and a\nuser-controlled port ID. Both /proc/net/netlink and socket diagnostics\nexpose the table's bucket order. By binding and rebinding chosen\nNETLINK_USERSOCK port IDs, an unprivileged reader can distinguish equal\nbuckets and recover the low bits of the Jenkins hash. Its 32-bit seed\nand the limited set of kernel-image slides can then be searched offline\nto recover the address of init_net.\n\nUse the namespace's unique, non-address net_cookie in the comparison\nkey instead. It is assigned before the per-net initializers run and\nremains unchanged for the namespace's lifetime. The lookup key and\nobject hash are still built by netlink_compare_arg_init(), keeping\nlookup, insertion, removal and rehashing consistent while preserving\nnamespace separation. Neither public table walker needs to change.\n\nReading the socket's namespace cookie in netlink_compare() is safe\nunder RCU, including during namespace teardown. netlink_release()\nremoves the socket from the hash table and defers its final put with\ncall_rcu(). cleanup_net() runs the per-net exit methods and waits for\noutstanding RCU callbacks with rcu_barrier() before freeing namespace\nstorage.\n\nUnlike ns.ns_id, net_cookie is also available and initialized during\nsetup_net() in older stable kernels, making the change straightforward\nto backport to v5.15 and later.","source":"cvelist"}],"published":"2026-10-28T10:35:56.069Z","modified":"2026-10-30T13:21:52.503Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"c61431f3b8c9824e9848a0308054f92b27fa7794","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"f8d2690f3c5dfad1fc306f6d5d84a1d3176c3af9","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"c03fb9c4be3b2dd0996d91e54f65407f7f475238","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"41a2f69f091b0765f17890d8ac04852c12f25cf6","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"18edcb9945118beb7a1b64a31a7370ecab485a79","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"bdd55b8a8acbf6b4840ab420eb6a63774bf4593b","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"078deff25f8a849ecd1c3fe17b1e473b1cf44f28","status":"affected"},{"type":"git","introduced":"c428ecd1a21f1457ca3beb4df71b8a079c410e41","fixed":"f88bb3606e4bd11ee035b682cddc2999e604609a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.161","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c61431f3b8c9824e9848a0308054f92b27fa7794","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8d2690f3c5dfad1fc306f6d5d84a1d3176c3af9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c03fb9c4be3b2dd0996d91e54f65407f7f475238","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41a2f69f091b0765f17890d8ac04852c12f25cf6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18edcb9945118beb7a1b64a31a7370ecab485a79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdd55b8a8acbf6b4840ab420eb6a63774bf4593b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078deff25f8a849ecd1c3fe17b1e473b1cf44f28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f88bb3606e4bd11ee035b682cddc2999e604609a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99201","url":"https://www.cve.org/CVERecord?id=CVE-2026-99201","licence":"CVE Terms of Use","modified":"2026-10-30T12:42:51.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99201","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99201","licence":"Public domain","modified":"2026-10-30T13:21:52.503Z"}],"updatedAt":"2026-11-25T22:59:47.598Z","epss":{"score":0.00208,"percentile":0.1162,"date":"2026-12-01T12:00:22.000Z"}}