{"id":"CVE-2026-43038","published":"2026-05-01T14:15:35Z","modified":"2026-11-10T12:46:20Z","title":"ipv6: icmp: clear skb2->cb[] in ip6_err_gen_icmpv6_unreach()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: icmp: clear skb2->cb[] in ip6_err_gen_icmpv6_unreach()\n\nSashiko AI-review observed:\n\n  In ip6_err_gen_icmpv6_unreach(), the skb is an outer IPv4 ICMP error packet\n  where its cb contains an IPv4 inet_skb_parm. When skb is cloned into skb2\n  and passed to icmp6_send(), it uses IP6CB(skb2).\n\n  IP6CB interprets the IPv4 inet_skb_parm as an inet6_skb_parm. The cipso\n  offset in inet_skb_parm.opt directly overlaps with dsthao in inet6_skb_parm\n  at offset 18.\n\n  If an attacker sends a forged ICMPv4 error with a CIPSO IP option, dsthao\n  would be a non-zero offset. Inside icmp6_send(), mip6_addr_swap() is called\n  and uses ipv6_find_tlv(skb, opt->dsthao, IPV6_TLV_HAO).\n\n  This would scan the inner, attacker-controlled IPv6 packet starting at that\n  offset, potentially returning a fake TLV without checking if the remaining\n  packet length can hold the full 18-byte struct ipv6_destopt_hao.\n\n  Could mip6_addr_swap() then perform a 16-byte swap that extends past the end\n  of the packet data into skb_shared_info?\n\n  Should the cb array also be cleared in ip6_err_gen_icmpv6_unreach() and\n  ip6ip6_err() to prevent this?\n\nThis patch implements the first suggestion.\n\nI am not sure if ip6ip6_err() needs to be changed.\nA separate patch would be better anyway.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00442,"percentile":0.3027,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/c438ba010171b70bad22fc18b1d5bdc3627476e8","tags":[]},{"url":"https://git.kernel.org/stable/c/0452b6526b2f54b2413b9cb4ff1ea2ac542c99c7","tags":[]},{"url":"https://git.kernel.org/stable/c/a4437faf135da293d16fcc4cc607316742bd0ebb","tags":[]},{"url":"https://git.kernel.org/stable/c/3d5127d998de617b130aae96b138dba22ac6a8a7","tags":[]},{"url":"https://git.kernel.org/stable/c/e41953e7d118e2702bcb217879c173d9d1d3cd4e","tags":[]},{"url":"https://git.kernel.org/stable/c/a2edbb6393972a02114b6003953a5cef3104fada","tags":[]},{"url":"https://git.kernel.org/stable/c/1ceeebd5bd6d855b17a5df625109bfe29129d7cf","tags":[]},{"url":"https://git.kernel.org/stable/c/86ab3e55673a7a49a841838776f1ab18d23a67b5","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-43038","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2464397","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43038.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24343","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30129","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22940","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23237","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23224","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30848","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55618","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25121","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55762","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26535","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25533","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22964","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55761","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55837","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:56224","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:56225","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55763","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25120","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22900","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":6.05},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ca15a078bd907df5fc1c009477869c5cbde3b753, < c438ba010171b70bad22fc18b1d5bdc3627476e8",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < 0452b6526b2f54b2413b9cb4ff1ea2ac542c99c7",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < a4437faf135da293d16fcc4cc607316742bd0ebb",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < 3d5127d998de617b130aae96b138dba22ac6a8a7",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < e41953e7d118e2702bcb217879c173d9d1d3cd4e",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < a2edbb6393972a02114b6003953a5cef3104fada",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < 1ceeebd5bd6d855b17a5df625109bfe29129d7cf",">= ca15a078bd907df5fc1c009477869c5cbde3b753, < 86ab3e55673a7a49a841838776f1ab18d23a67b5"]},{"vendor":"Linux","product":"Linux","versions":["3.13"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-16T15:13:51.083279Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-26637","exploited":false,"provenance":"source"}}