CVE-2026-43038·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ipv6: icmp: clear skb2->cb[] in ip6_err_gen_icmpv6_unreach() Sashiko AI-review observed: In ip6_err_gen_icmpv6_unreach(), the skb is an outer IPv4 ICMP error packet where its cb contains an IPv4 inet_skb_parm. When skb is cloned into skb2 and passed to icmp6_send(), it uses IP6CB(skb2). IP6CB interprets the IPv4 inet_skb_parm as an inet6_skb_parm. The cipso offset in inet_skb_parm.opt directly overlaps with dsthao in inet6_skb_parm at offset 18. If an attacker sends a forged ICMPv4 error with a CIPSO IP option, dsthao would be a non-zero offset. Inside icmp6_send(), mip6_addr_swap() is called and uses ipv6_find_tlv(skb, opt->dsthao, IPV6_TLV_HAO). This would scan the inner, attacker-controlled IPv6 packet starting at that offset, potentially returning a fake TLV without checking if the remaining packet length can hold the full 18-byte struct ipv6_destopt_hao. Could mip6_addr_swap() then perform a 16-byte swap that extends past the end of the packet data into skb_shared_info? Should the cb array also be cleared in ip6_err_gen_icmpv6_unreach() and ip6ip6_err() to prevent this? This patch implements the first suggestion. I am not sure if ip6ip6_err() needs to be changed. A separate patch would be better anyway.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 6.19.12
- Published
Affected versions
From: 6.19
Until: 6.19.12
Fixed in: 6.19.12
How to fix this CVE
Update the Linux kernel to version 6.19.12 or later to patch a critical memory safety issue in IPv6 ICMP error handling. The vulnerability allows attackers to trigger uninitialized buffer access through specially crafted ICMPv4 packets with CIPSO options. Apply the kernel update and reboot your system to remediate this issue.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check the currently running kernel version and verify it is 6.19.12 or later
- Execute `cat /proc/version` to confirm the kernel build matches the patched version
- Check `/var/log/kern.log` (or `journalctl -k`) for any memory access violations or kernel panics related to IPv6 processing
- Run `sudo dmesg | grep -i 'icmp\|ipv6\|skb' to look for kernel warnings or errors that might indicate exploitation attempts
FAQ
What is CVE-2026-43038?
CVE-2026-43038 is a critical kernel vulnerability in IPv6 ICMP error handling where uninitialized socket buffer metadata from IPv4 packets is misinterpreted as IPv6 structures, allowing attackers to trigger out-of-bounds memory operations through forged ICMP packets with CIPSO options.
Is CVE-2026-43038 being actively exploited?
No, there are currently no reports of active exploitation or public exploits available for CVE-2026-43038, though the critical CVSS 9.8 score warrants immediate patching.
What versions of Kernel are affected by CVE-2026-43038?
Linux kernel versions 6.19 through 6.19.11 are affected. The vulnerability is resolved in kernel 6.19.12 and later.
How do I check if my server is vulnerable to CVE-2026-43038?
Run `uname -r` and compare your kernel version to the affected range. If your version is between 6.19 and 6.19.11, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-43038?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-43038 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0452b6526b2f54b2413b9cb4ff1ea2ac542c99c7
- https://git.kernel.org/stable/c/1ceeebd5bd6d855b17a5df625109bfe29129d7cf
- https://git.kernel.org/stable/c/3d5127d998de617b130aae96b138dba22ac6a8a7
- https://git.kernel.org/stable/c/86ab3e55673a7a49a841838776f1ab18d23a67b5
- https://git.kernel.org/stable/c/a2edbb6393972a02114b6003953a5cef3104fada
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-43038. Free for 1 server.
Get started free