In the Linux kernel, the following vulnerability has been resolved:
tunnels: fix out of bounds access when building IPv6 PMTU error
If the ICMPv6 error is built from a non-linear skb we get the following splat,
BUG: KASAN: slab-out-of-bounds in docsum+0x220/0x240 Read of size 4 at addr ffff88811d402c80 by task netperf/820 CPU: 0 PID: 820 Comm: netperf Not tainted 6.8.0-rc1+ #543 ... kasanreport+0xd8/0x110 docsum+0x220/0x240 csumpartial+0xc/0x20 skbtunnelcheckpmtu+0xeb9/0x3280 vxlanxmitone+0x14c2/0x4080 vxlanxmit+0xf61/0x5c00 devhardstartxmit+0xfb/0x510 _devqueuexmit+0x7cd/0x32a0 brdevqueuepushxmit+0x39d/0x6a0
Use skbchecksum instead of csumpartial who cannot deal with non-linear SKBs.
{ "vanir_signatures": [ { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e37cde7a5716466ff2a76f7f27f0a29b05b9a732", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1401.0, "function_hash": "37442755251493590419553087355114524495" }, "id": "CVE-2024-26665-0f01c447" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d964dd1bc1452594b4207d9229c157d9386e5d8a", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1401.0, "function_hash": "37442755251493590419553087355114524495" }, "id": "CVE-2024-26665-4d369935" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e37cde7a5716466ff2a76f7f27f0a29b05b9a732", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-51520340" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e77bf828f1ca1c47fcff58bdc26b60a9d3dfbe1d", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-530d3065" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@510c869ffa4068c5f19ff4df51d1e2f3a30aaac1", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-5e429dad" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dc9feb8b1705cf00de20563b6bc4831f4c99dab", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1401.0, "function_hash": "37442755251493590419553087355114524495" }, "id": "CVE-2024-26665-6600d592" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@510c869ffa4068c5f19ff4df51d1e2f3a30aaac1", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1401.0, "function_hash": "37442755251493590419553087355114524495" }, "id": "CVE-2024-26665-8f88d65e" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e77bf828f1ca1c47fcff58bdc26b60a9d3dfbe1d", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1404.0, "function_hash": "112003897581331271559411628182203445410" }, "id": "CVE-2024-26665-9807fa29" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d75abeec401f8c86b470e7028a13fcdc87e5dd06", "signature_type": "Function", "target": { "function": "iptunnel_pmtud_build_icmpv6", "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "length": 1401.0, "function_hash": "37442755251493590419553087355114524495" }, "id": "CVE-2024-26665-dc127d9c" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dc9feb8b1705cf00de20563b6bc4831f4c99dab", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-e166a205" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d75abeec401f8c86b470e7028a13fcdc87e5dd06", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-f4c1ed1d" }, { "signature_version": "v1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d964dd1bc1452594b4207d9229c157d9386e5d8a", "signature_type": "Line", "target": { "file": "net/ipv4/ip_tunnel_core.c" }, "deprecated": false, "digest": { "line_hashes": [ "184685759333855103871183819320572558232", "44592871459409609654574357522249069146", "248769997936184829726465029044808828752", "278728370917271040768516537656846719457" ], "threshold": 0.9 }, "id": "CVE-2024-26665-fc8ebba5" } ] }