{"id":"CVE-2026-99767","published":"2026-11-20T05:51:33Z","modified":"2026-11-20T05:51:33Z","title":"xfrm4: use a full socket for local errors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm4: use a full socket for local errors\n\nxfrm4_local_error() passes skb->sk to inet_sk() and ip_local_error()\nwithout ensuring it points to a full socket. TCP SYN-ACK skbs can be owned\nby TCP_NEW_SYN_RECV request sockets.\n\nxfrm4_tunnel_check_size() already checks sk_fullsock() since commit\n1620c88887b1 (\"xfrm: Fix the usage of skb->sk\"), so iptfs_is_too_big() is\nthe only remaining IPv4 caller passing a request socket here: the sk it\ntests is the listener, while skb->sk is the request socket.\n\nWhen IP-TFS rejects such an skb because it exceeds its payload MTU, the\nlocal error path treats the request socket as a struct inet_sock. KASAN\nreports a slab-out-of-bounds read in ip_local_error() beyond the\nrequest_sock_TCP allocation.\n\nResolve the skb owner with skb_to_full_sk() before accessing inet_sock\nstate or reporting the error. This maps a request socket to its listener\nand rejects sockets that cannot be used as full sockets, matching what\ncommit 6973a21ee73c (\"ipv6: xfrm: use full sockets in local error paths\")\ndid for xfrm6_local_error().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00155,"percentile":0.04709,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060","tags":[]},{"url":"https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046","tags":[]},{"url":"https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033","tags":[]}],"priority":{"score":0.9,"factors":[{"name":"EPSS percentile","points":0.94}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < 21ba931b2eec642b1c440e0b6eccc2d80f945060",">= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < e465b8f50337d0fb3b9753be6cb9fcac79800046",">= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < 5def91015ba7b59de62a81384572da7281b8a033"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-130884","exploited":false,"provenance":"source"}}