{"id":"CVE-2026-99767","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-20T06:18:15.327","lastModified":"2026-11-20T06:18:15.327","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv4/xfrm4_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","lessThan":"21ba931b2eec642b1c440e0b6eccc2d80f945060","versionType":"git","status":"affected"},{"version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","lessThan":"e465b8f50337d0fb3b9753be6cb9fcac79800046","versionType":"git","status":"affected"},{"version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","lessThan":"5def91015ba7b59de62a81384572da7281b8a033","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv4/xfrm4_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}