{"id":"CVE-2026-98532","aliases":["CVE-2026-98532"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: do not let ipv6_find_hdr() return an offset past the packet end","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: do not let ipv6_find_hdr() return an offset past the packet end\n\nipv6_find_hdr() walks the extension header chain, skipping each header by\nthe length that header itself declares.  ipv6_optlen() returns up to 2048,\nand the skip is never checked against skb->len, so the offset stored in\n*offset can point past the end of the packet.\n\nopenvswitch installs that offset as the transport header, and\nupdate_ipv6_checksum() then reads and writes the transport checksum field\nout of bounds:\n\n  BUG: KASAN: slab-use-after-free in inet_proto_csum_replace16+0x445/0x470\n  Read of size 2 at addr ffff88810b754b06 by task ovs_ipv6_oob/629\n  CPU: 4 UID: 1000 PID: 629 Comm: ovs_ipv6_oob Tainted: G N 7.3.0-rc3+ #348\n  Call Trace:\n   inet_proto_csum_replace16+0x445/0x470\n   set_ipv6_addr+0x3dd/0x460\n   do_execute_actions+0x6a3d/0x7c40\n   ovs_execute_actions+0xfd/0x480\n   ovs_packet_cmd_execute+0xc38/0xf20\n   genl_rcv_msg+0x59e/0x870\n   netlink_rcv_skb+0x18b/0x450\n   genl_rcv+0x2d/0x40\n   netlink_unicast+0x6bc/0xa20\n\n  The buggy address belongs to the object at ffff88810b754980\n   which belongs to the cache skbuff_small_head of size 704\n  The buggy address is located 390 bytes inside of\n   freed 704-byte region [ffff88810b754980, ffff88810b754c40)\n\nOther callers use that offset too, so bound it here rather than in one\ncaller.\n\nReject a header whose declared length does not fit in the packet.\nipv6_find_hdr() already fails with -EBADMSG on a malformed chain, so this\nadds no new failure mode.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: do not let ipv6_find_hdr() return an offset past the packet end\n\nipv6_find_hdr() walks the extension header chain, skipping each header by\nthe length that header itself declares.  ipv6_optlen() returns up to 2048,\nand the skip is never checked against skb->len, so the offset stored in\n*offset can point past the end of the packet.\n\nopenvswitch installs that offset as the transport header, and\nupdate_ipv6_checksum() then reads and writes the transport checksum field\nout of bounds:\n\n  BUG: KASAN: slab-use-after-free in inet_proto_csum_replace16+0x445/0x470\n  Read of size 2 at addr ffff88810b754b06 by task ovs_ipv6_oob/629\n  CPU: 4 UID: 1000 PID: 629 Comm: ovs_ipv6_oob Tainted: G N 7.3.0-rc3+ #348\n  Call Trace:\n   inet_proto_csum_replace16+0x445/0x470\n   set_ipv6_addr+0x3dd/0x460\n   do_execute_actions+0x6a3d/0x7c40\n   ovs_execute_actions+0xfd/0x480\n   ovs_packet_cmd_execute+0xc38/0xf20\n   genl_rcv_msg+0x59e/0x870\n   netlink_rcv_skb+0x18b/0x450\n   genl_rcv+0x2d/0x40\n   netlink_unicast+0x6bc/0xa20\n\n  The buggy address belongs to the object at ffff88810b754980\n   which belongs to the cache skbuff_small_head of size 704\n  The buggy address is located 390 bytes inside of\n   freed 704-byte region [ffff88810b754980, ffff88810b754c40)\n\nOther callers use that offset too, so bound it here rather than in one\ncaller.\n\nReject a header whose declared length does not fit in the packet.\nipv6_find_hdr() already fails with -EBADMSG on a malformed chain, so this\nadds no new failure mode.","source":"cvelist"}],"published":"2026-10-18T15:17:50.490Z","modified":"2026-10-24T14:16:46.340Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"ca96b38730e31357ef4a9d76af1336958ac670d7","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"531255de8971c06d5d5986f85fdc2525d707ba71","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"543354c6efb27eae3372a3a9674aeaa2a86e2b2c","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"dc92cb972e86790b8078337ec41015b748b8f8e5","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"1c70275ca87e769e1a52abc644d61372d8c016cb","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"1d42828565889632068fbc2983c34d57c66af4e0","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"4254d5878c320c19961dd0b8e1d0aca4800d8b7d","status":"affected"},{"type":"git","introduced":"f8f626754ebeca613cf1af2e6f890cfde0e74d5b","fixed":"ee319bd3a0e976af5087cbe59ebc50a66f31d202","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","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.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","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/ca96b38730e31357ef4a9d76af1336958ac670d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/531255de8971c06d5d5986f85fdc2525d707ba71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/543354c6efb27eae3372a3a9674aeaa2a86e2b2c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc92cb972e86790b8078337ec41015b748b8f8e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c70275ca87e769e1a52abc644d61372d8c016cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d42828565889632068fbc2983c34d57c66af4e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4254d5878c320c19961dd0b8e1d0aca4800d8b7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee319bd3a0e976af5087cbe59ebc50a66f31d202","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98532","url":"https://www.cve.org/CVERecord?id=CVE-2026-98532","licence":"CVE Terms of Use","modified":"2026-10-24T14:09:19.064Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98532","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98532","licence":"Public domain","modified":"2026-10-24T14:16:46.340Z"}],"updatedAt":"2026-11-25T22:59:45.215Z","epss":{"score":0.00613,"percentile":0.50718,"date":"2026-12-01T12:00:22.000Z"}}