{"id":"CVE-2026-99288","state":"PUBLISHED","title":"inet: reject unhashed sockets during established lookups","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ninet: reject unhashed sockets during established lookups\n\nTCP established ehash lookups are lockless. The socket caches involved\nuse SLAB_TYPESAFE_BY_RCU, so memory can be reused before an RCU reader\nthat retained its old address has finished.\n\nAfter a tuple match, __inet_lookup_established() and\n__inet6_lookup_established() acquire a reference and repeat the tuple\ncheck. They do not check whether the new object is hashed. If the\naddress is reused for a socket with the same tuple, the lookup can\nacquire a reference to the new object and return it while its nulls node\nis unhashed.\n\nA PoC that drives reuse with a SYN cookie request socket reproduced the\ncrash. The new request socket is unhashed and has a NULL rsk_listener.\nA lookup that had loaded the address of the old request socket acquired\nthe reference published by tcp_get_cookie_sock() and returned the new\nobject. tcp_v4_rcv() then read sk_state through the NULL listener.\n\nThe resulting crash was:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000012\n  #PF: supervisor read access in kernel mode\n  #PF: error_code(0x0000) - not-present page\n  ...\n  Oops: Oops: 0000 [#1] SMP NOPTI\n  CPU: 4 UID: 0 PID: 0 Comm: swapper/4 Not tainted 7.3.0-00591-g0e135910deec #1 PREEMPT(lazy)\n  ...\n  RIP: 0010:tcp_v4_rcv+0x44e/0x1280\n  ...\n  R10: 0000000000000001 R11: 00000000024ca8c0 R12: 0000000000000000\n  ...\n  CR2: 0000000000000012 CR3: 0000000103d50004 CR4: 0000000000770ef0\n  ...\n  Call Trace:\n   <IRQ>\n   ? raw_local_deliver+0xae/0x240\n   ip_protocol_deliver_rcu+0x2d/0x180\n   ip_local_deliver_finish+0x84/0x100\n   ip_sublist_rcv_finish+0x5f/0x70\n   ip_sublist_rcv+0x12a/0x1d0\n   ip_list_rcv+0xfd/0x130\n   __netif_receive_skb_list_core+0x223/0x250\n   netif_receive_skb_list_internal+0x1d2/0x2c0\n   ? try_fill_recv+0x39/0x7b0\n   napi_complete_done+0x74/0x170\n   virtnet_poll+0x445/0x600\n   __napi_poll+0x27/0x1e0\n   net_rx_action+0x2fe/0x3b0\n   handle_softirqs+0xc2/0x2c0\n   __irq_exit_rcu+0x74/0xd0\n   common_interrupt+0x7f/0x90\n   </IRQ>\n  ...\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nAfter taking a reference, check whether the nulls node is unhashed in\nboth IPv4 and IPv6 established lookups. If it is unhashed or the tuple\nno longer matches, drop the reference and restart the lookup.\n\nLookups racing with the TIME_WAIT hashdance, or with a request being\nreplaced by its child, now restart and find the new socket instead of\nreturning the old one.\n\nRequest sockets that were never inserted into ehash can have a nonzero\nrefcount, and a stale lookup can hold a transient reference. Therefore,\nwhen SYN cookie, Fast Open, and request migration paths fail after\nsetting a nonzero refcount, release the references held by those paths\nwith reqsk_put() instead of freeing the request directly.","publishedAt":"2026-11-10T18:19:08.557Z","updatedAt":"2026-11-20T04:06:11.697Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"d69100340b4cae08d40f898f1b601032403f6be6","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"8e5172cbd227fae32f3313cba1f3e1b9edb5c4fd","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"eb8a2d156f2c1d862fffdfd1b3432bfbcd939879","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"4e2b3ef19e0e04adca38442f07dd6bc93c712bf1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c","net/ipv4/syncookies.c","net/ipv4/tcp_input.c","net/ipv6/inet6_hashtables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c","net/ipv4/syncookies.c","net/ipv4/tcp_input.c","net/ipv6/inet6_hashtables.c"]}],"references":["https://git.kernel.org/stable/c/d69100340b4cae08d40f898f1b601032403f6be6","https://git.kernel.org/stable/c/8e5172cbd227fae32f3313cba1f3e1b9edb5c4fd","https://git.kernel.org/stable/c/eb8a2d156f2c1d862fffdfd1b3432bfbcd939879","https://git.kernel.org/stable/c/4e2b3ef19e0e04adca38442f07dd6bc93c712bf1","http://www.openwall.com/lists/oss-security/2026/11/15/2","http://www.openwall.com/lists/oss-security/2026/11/20/1","http://www.openwall.com/lists/oss-security/2026/11/20/3"],"weaknesses":["CWE-362"],"ingestedAt":"2026-11-20T04:20:06.311Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99288.json","commit":"7432fa71eae383cae3cbf6a2d3406865957be87c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99288","state":"PUBLISHED","datePublished":"2026-11-10T18:19:08.557Z","dateUpdated":"2026-11-20T04:06:11.697Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.405Z"},"containers":{"cna":{"title":"inet: reject unhashed sockets during established lookups","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ninet: reject unhashed sockets during established lookups\n\nTCP established ehash lookups are lockless. The socket caches involved\nuse SLAB_TYPESAFE_BY_RCU, so memory can be reused before an RCU reader\nthat retained its old address has finished.\n\nAfter a tuple match, __inet_lookup_established() and\n__inet6_lookup_established() acquire a reference and repeat the tuple\ncheck. They do not check whether the new object is hashed. If the\naddress is reused for a socket with the same tuple, the lookup can\nacquire a reference to the new object and return it while its nulls node\nis unhashed.\n\nA PoC that drives reuse with a SYN cookie request socket reproduced the\ncrash. The new request socket is unhashed and has a NULL rsk_listener.\nA lookup that had loaded the address of the old request socket acquired\nthe reference published by tcp_get_cookie_sock() and returned the new\nobject. tcp_v4_rcv() then read sk_state through the NULL listener.\n\nThe resulting crash was:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000012\n  #PF: supervisor read access in kernel mode\n  #PF: error_code(0x0000) - not-present page\n  ...\n  Oops: Oops: 0000 [#1] SMP NOPTI\n  CPU: 4 UID: 0 PID: 0 Comm: swapper/4 Not tainted 7.3.0-00591-g0e135910deec #1 PREEMPT(lazy)\n  ...\n  RIP: 0010:tcp_v4_rcv+0x44e/0x1280\n  ...\n  R10: 0000000000000001 R11: 00000000024ca8c0 R12: 0000000000000000\n  ...\n  CR2: 0000000000000012 CR3: 0000000103d50004 CR4: 0000000000770ef0\n  ...\n  Call Trace:\n   <IRQ>\n   ? raw_local_deliver+0xae/0x240\n   ip_protocol_deliver_rcu+0x2d/0x180\n   ip_local_deliver_finish+0x84/0x100\n   ip_sublist_rcv_finish+0x5f/0x70\n   ip_sublist_rcv+0x12a/0x1d0\n   ip_list_rcv+0xfd/0x130\n   __netif_receive_skb_list_core+0x223/0x250\n   netif_receive_skb_list_internal+0x1d2/0x2c0\n   ? try_fill_recv+0x39/0x7b0\n   napi_complete_done+0x74/0x170\n   virtnet_poll+0x445/0x600\n   __napi_poll+0x27/0x1e0\n   net_rx_action+0x2fe/0x3b0\n   handle_softirqs+0xc2/0x2c0\n   __irq_exit_rcu+0x74/0xd0\n   common_interrupt+0x7f/0x90\n   </IRQ>\n  ...\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nAfter taking a reference, check whether the nulls node is unhashed in\nboth IPv4 and IPv6 established lookups. If it is unhashed or the tuple\nno longer matches, drop the reference and restart the lookup.\n\nLookups racing with the TIME_WAIT hashdance, or with a request being\nreplaced by its child, now restart and find the new socket instead of\nreturning the old one.\n\nRequest sockets that were never inserted into ehash can have a nonzero\nrefcount, and a stale lookup can hold a transient reference. Therefore,\nwhen SYN cookie, Fast Open, and request migration paths fail after\nsetting a nonzero refcount, release the references held by those paths\nwith reqsk_put() instead of freeing the request directly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"d69100340b4cae08d40f898f1b601032403f6be6","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"8e5172cbd227fae32f3313cba1f3e1b9edb5c4fd","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"eb8a2d156f2c1d862fffdfd1b3432bfbcd939879","versionType":"git"},{"version":"079096f103faca2dd87342cca6f23d4b34da8871","status":"affected","lessThan":"4e2b3ef19e0e04adca38442f07dd6bc93c712bf1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c","net/ipv4/syncookies.c","net/ipv4/tcp_input.c","net/ipv6/inet6_hashtables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.4","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c","net/ipv4/syncookies.c","net/ipv4/tcp_input.c","net/ipv6/inet6_hashtables.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d69100340b4cae08d40f898f1b601032403f6be6"},{"url":"https://git.kernel.org/stable/c/8e5172cbd227fae32f3313cba1f3e1b9edb5c4fd"},{"url":"https://git.kernel.org/stable/c/eb8a2d156f2c1d862fffdfd1b3432bfbcd939879"},{"url":"https://git.kernel.org/stable/c/4e2b3ef19e0e04adca38442f07dd6bc93c712bf1"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - IPv4/IPv6 TCP segments reach the patched lookups from tcp_v4_rcv via __inet_lookup_skb and from tcp_v6_rcv via __inet6_lookup_skb. A SYN-cookie ACK in cookie_v4_check makes tcp_get_cookie_sock publish a refcount on an unhashed request of that 4-tuple, which the racing established lookup returns.\nAC:L - The attacker overflows the listener SYN queue so default tcp_syncookies=1 enters cookie_v4_check, then sends that cookie ACK together with a concurrent segment for the same 4-tuple; request_sock reuse is driven by those packets, and the reported PoC reproduced the oops.\nPR:N - cookie_v4_check and tcp_v4_rcv handle the ACK in the receive softirq before accept and before TCP-MD5/AO or any other credential check, so the sender needs no account or capability.\nUI:N - The attacker alone sends the SYN flood and the cookie ACK to a socket that is already listening; no mount, open, or other victim action is required.\nS:U - The fault is in the host kernel's tcp_v4_rcv softirq and panics that same kernel; it does not cross a guest/host or sandbox boundary.\nC:N - tcp_v4_rcv reads sk_state through req->rsk_listener, which cookie_tcp_reqsk_alloc left NULL by calling inet_reqsk_alloc with attach_listener false; the faulting address is the constant 0x12 and no socket bytes are returned to the peer.\nI:N - On the path that oopses, the lookup returns the still-live cookie request and tcp_v4_rcv faults on the NULL listener before tcp_check_req or any write to socket, packet, or connection state.\nA:H - The NULL sk_state read is in softirq inside tcp_v4_rcv, reached from ip_protocol_deliver_rcu, and the reported result is a fatal exception panic (\"Kernel panic - not syncing: Fatal exception in interrupt\")."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T13:52:03.815Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/15/2"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/20/1"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/20/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-11-20T04:06:11.697Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-17T18:08:21.349727Z","id":"CVE-2026-99288","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","type":"CWE","lang":"en","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-17T18:08:29.805Z"}}]}}}