{"id":"CVE-2026-98241","summary":"ipv6: xfrm: use full sockets in local error paths","details":"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-\u003esk 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().","modified":"2026-10-07T02:47:29.996254893Z","published":"2026-10-06T08:45:11.954Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98241.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c030a0400ebfd2318361c923a88103b2c67c49f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60459c670329d586a58db5d8f811fa5accfe4862"},{"type":"WEB","url":"https://git.kernel.org/stable/c/675919e08ce266b8cac11fd9af29170e762a480f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6973a21ee73c5567f883813c8ef414774b45892f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/904a0e827d0d7189271a3a2eb648293809f25efc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1a88633c36d2cbc3831382f3846754d344276fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca3d68c3213475b53db6647e159dc73bd1af5ab1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98241.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98241"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6"},{"fixed":"b1a88633c36d2cbc3831382f3846754d344276fd"},{"fixed":"904a0e827d0d7189271a3a2eb648293809f25efc"},{"fixed":"675919e08ce266b8cac11fd9af29170e762a480f"},{"fixed":"60459c670329d586a58db5d8f811fa5accfe4862"},{"fixed":"ca3d68c3213475b53db6647e159dc73bd1af5ab1"},{"fixed":"4c030a0400ebfd2318361c923a88103b2c67c49f"},{"fixed":"c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8"},{"fixed":"6973a21ee73c5567f883813c8ef414774b45892f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98241.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98241.json"}}],"schema_version":"1.9.0"}