{"id":"CVE-2026-98241","aliases":["CVE-2026-98241"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: xfrm: use full sockets in local error paths","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2026-10-06T08:45:11.954Z","modified":"2026-10-19T10:18:24.967Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"b1a88633c36d2cbc3831382f3846754d344276fd","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"904a0e827d0d7189271a3a2eb648293809f25efc","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"675919e08ce266b8cac11fd9af29170e762a480f","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"60459c670329d586a58db5d8f811fa5accfe4862","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"ca3d68c3213475b53db6647e159dc73bd1af5ab1","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"4c030a0400ebfd2318361c923a88103b2c67c49f","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8","status":"affected"},{"type":"git","introduced":"dd767856a36e00b631d65ebc4bb81b19915532d6","fixed":"6973a21ee73c5567f883813c8ef414774b45892f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b1a88633c36d2cbc3831382f3846754d344276fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/904a0e827d0d7189271a3a2eb648293809f25efc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/675919e08ce266b8cac11fd9af29170e762a480f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60459c670329d586a58db5d8f811fa5accfe4862","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca3d68c3213475b53db6647e159dc73bd1af5ab1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c030a0400ebfd2318361c923a88103b2c67c49f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c21f3f7fbfeda7c5794f606cb0ffcc2d9001eef8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6973a21ee73c5567f883813c8ef414774b45892f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98241","url":"https://www.cve.org/CVERecord?id=CVE-2026-98241","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:12.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98241","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98241","licence":"Public domain","modified":"2026-10-19T10:18:24.967Z"}],"updatedAt":"2026-11-25T22:59:42.300Z","epss":{"score":0.00176,"percentile":0.04163,"date":"2026-11-30T12:00:22.000Z"}}