{"id":"CVE-2026-98241","revision":"8f475298f15648df97a321e27453a4c2","records":[{"revision":"8f475298f15648df97a321e27453a4c2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98241","aliases":[],"title":"ipv6: xfrm: use full sockets in local error paths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: xfrm: use full sockets in local error paths\n\nxfrm6_local_rxpmtu() and xfrm6_local_error() dereference skb->sk as if it\nalways pointed at a full IPv6 socket.\n\nThat is not guaranteed. TCP SYN-ACK skbs can be owned by a\nTCP_NEW_SYN_RECV request_sock while the output path itself is driven by the\nfull listener. If rerouting selects an IPv6 XFRM tunnel route with a lower\nMTU, the local PMTU/error handling path can reach these callbacks with that\nmini-socket still attached to the skb.\n\nThe callbacks then miscast the request socket as a full inet/IPv6 socket and\ncan read beyond the request_sock allocation when they access inet_sock or\nipv6_pinfo state.\n\nResolve the owner with skb_to_full_sk() in both callbacks and bail out when\nno full socket is attached. This matches the surrounding XFRM IPv6 PMTU/error\nlogic, which already reasons about full sockets with skb_to_full_sk().","state":0,"publishedAt":"2026-10-06T08:45:11.954+00:00","modifiedAt":"2026-10-19T09:16:12.796+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/ipv6/xfrm6_output.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"b1a88633c36d2cbc3831382f3846754d344276fd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"904a0e827d0d7189271a3a2eb648293809f25efc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"675919e08ce266b8cac11fd9af29170e762a480f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"60459c670329d586a58db5d8f811fa5accfe4862\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"ca3d68c3213475b53db6647e159dc73bd1af5ab1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"4c030a0400ebfd2318361c923a88103b2c67c49f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"dd767856a36e00b631d65ebc4bb81b19915532d6\",\n                            \"lessThan\": \"6973a21ee73c5567f883813c8ef414774b45892f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/ipv6/xfrm6_output.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.271\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.222\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.189\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.158\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.112\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.54\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.8\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/b1a88633c36d2cbc3831382f3846754d344276fd","https://git.kernel.org/stable/c/904a0e827d0d7189271a3a2eb648293809f25efc","https://git.kernel.org/stable/c/675919e08ce266b8cac11fd9af29170e762a480f","https://git.kernel.org/stable/c/60459c670329d586a58db5d8f811fa5accfe4862","https://git.kernel.org/stable/c/ca3d68c3213475b53db6647e159dc73bd1af5ab1","https://git.kernel.org/stable/c/4c030a0400ebfd2318361c923a88103b2c67c49f","https://git.kernel.org/stable/c/c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8","https://git.kernel.org/stable/c/6973a21ee73c5567f883813c8ef414774b45892f"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98241","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98241","identifiers":["CVE-2026-98241"]},"retained":false,"historicalAffected":[]}],"coverage":[]}