{"api_version":"1","generated_at":"2026-11-20T07:30:03+00:00","cve":"CVE-2026-99767","urls":{"html":"https://cve.report/CVE-2026-99767","api":"https://cve.report/api/cve/CVE-2026-99767.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99767","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99767"},"summary":{"title":"xfrm4: use a full socket for local errors","description":"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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:15","updated_at":"2026-11-20 06:18:15"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060","name":"https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046","name":"https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033","name":"https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99767","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99767","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 21ba931b2eec642b1c440e0b6eccc2d80f945060 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 e465b8f50337d0fb3b9753be6cb9fcac79800046 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 5def91015ba7b59de62a81384572da7281b8a033 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/xfrm4_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"21ba931b2eec642b1c440e0b6eccc2d80f945060","status":"affected","version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","versionType":"git"},{"lessThan":"e465b8f50337d0fb3b9753be6cb9fcac79800046","status":"affected","version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","versionType":"git"},{"lessThan":"5def91015ba7b59de62a81384572da7281b8a033","status":"affected","version":"0e4fbf013fa566f274ce9b4ce698c75b1f998c52","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/xfrm4_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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()."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:33.530Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060"},{"url":"https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046"},{"url":"https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033"}],"title":"xfrm4: use a full socket for local errors","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99767","datePublished":"2026-11-20T05:51:33.530Z","dateReserved":"2026-09-25T10:25:14.433Z","dateUpdated":"2026-11-20T05:51:33.530Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:15","lastModifiedDate":"2026-11-20 06:18:15","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99767","Ordinal":"1","Title":"xfrm4: use a full socket for local errors","CVE":"CVE-2026-99767","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99767","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"xfrm4: use a full socket for local errors"}]}}}