In the Linux kernel, the following vulnerability has been resolved:
ipv6: ioam: refresh hdr pointer before ioam6_event()
Reported by Sashiko:
In ipv6_hop_ioam(), the hdr pointer is initialized to point into the skb's linear data buffer. Later, the code calls skb_ensure_writable(), which might reallocate the buffer:
if (skb_ensure_writable(skb, optoff + 2 + hdr->opt_len)) goto drop;
/* Trace pointer may have changed */ trace = (struct ioam6_trace_hdr *)(skb_network_header(skb) + optoff + sizeof(*hdr));
ioam6_fill_trace_data(skb, ns, trace, true);
ioam6_event(IOAM6_EVENT_TRACE, dev_net(skb->dev), GFP_ATOMIC, (void *)trace, hdr->opt_len - 2);
If the skb is cloned or lacks sufficient linear headroom, skb_ensure_writable() will invoke pskb_expand_head(), which reallocates the skb's data buffer and frees the old one, invalidating pointers to it. While the code recalculates the trace pointer immediately after the call to skb_ensure_writable(), it fails to recalculate the hdr pointer.
This patch fixes the above by recalculating the hdr pointer before passing hdr->opt_len to ioam6_event(), so that we avoid any UaF.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.18Upgrade perf6.18Upgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-toolsUpgrade kernel6.18-tools-develUpgrade kernel6.18-develUpgrade bpftool6.18Upgrade kernel6.18-modules-extraUpgrade kernel6.18-tools-debuginfoUpgrade kernel-livepatch-6.18.35-68.127Upgrade microvm-kernel6.18Upgrade kernel6.18-headersUpgrade kernel6.18-debuginfo-common-x86_64Upgrade perf6.18-debuginfoUpgrade bpftool6.18-debuginfoUpgrade kernel6.18-debuginfoUpgrade kernel6.18-debuginfo-common-aarch64Upgrade python3-perf6.18Upgrade python3-perf6.18-debuginfo | Aug 10, 2026 | Jul 19, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Ubuntu | — | Upgrade linux-image-ibmUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-7.0.0-1009-awsUpgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-awsUpgrade linux-image-azure-fdeUpgrade linux-image-azureUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-nvidia-bosUpgrade linux-image-nvidia-64kUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-gcpUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-7.0.0-1010-azureUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-aws-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1014-azureUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-oracleUpgrade linux-image-ibm-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-nvidiaUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-aws-64k | Jul 21, 2026 | Jul 20, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub