{"id":"CVE-2026-23331","published":"2026-03-25T10:27:22Z","modified":"2026-05-11T22:04:47Z","title":"udp: Unhash auto-bound connected sk from 4-tuple hash table when disconnected.","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nudp: Unhash auto-bound connected sk from 4-tuple hash table when disconnected.\n\nLet's say we bind() an UDP socket to the wildcard address with a\nnon-zero port, connect() it to an address, and disconnect it from\nthe address.\n\nbind() sets SOCK_BINDPORT_LOCK on sk->sk_userlocks (but not\nSOCK_BINDADDR_LOCK), and connect() calls udp_lib_hash4() to put\nthe socket into the 4-tuple hash table.\n\nThen, __udp_disconnect() calls sk->sk_prot->rehash(sk).\n\nIt computes a new hash based on the wildcard address and moves\nthe socket to a new slot in the 4-tuple hash table, leaving a\ngarbage in the chain that no packet hits.\n\nLet's remove such a socket from 4-tuple hash table when disconnected.\n\nNote that udp_sk(sk)->udp_portaddr_hash needs to be udpated after\nudp_hash4_dec(hslot2) in udp_unhash4().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0014,"percentile":0.03447,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b955350778b8715e1b7885179979b3a68221c0fb","tags":[]},{"url":"https://git.kernel.org/stable/c/3b8f104880c104151f8c30f2f89df81fb59a286c","tags":[]},{"url":"https://git.kernel.org/stable/c/6996a2d2d0a64808c19c98002aeb5d9d1b2df6a4","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.69}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 78c91ae2c6deb5d236a5a93ff2995cdd05514380, < b955350778b8715e1b7885179979b3a68221c0fb",">= 78c91ae2c6deb5d236a5a93ff2995cdd05514380, < 3b8f104880c104151f8c30f2f89df81fb59a286c",">= 78c91ae2c6deb5d236a5a93ff2995cdd05514380, < 6996a2d2d0a64808c19c98002aeb5d9d1b2df6a4"]},{"vendor":"Linux","product":"Linux","versions":["6.13"]}],"euvd":{"id":"EUVD-2026-15289","exploited":false,"provenance":"source"}}