In the Linux kernel, the following vulnerability has been resolved: macsec: don't read an unset MAC header in macsec_encrypt() macsec_encrypt()… (CVE-2026-72019)
A vulnerability in the Linux kernel's macsec_encrypt() function could cause a 12-byte heap out-of-bounds read when the MAC header is unset on the AF_PACKET SOCK_RAW + PACKET_QDISC_BYPASS transmit path. This occurs because macsec_encrypt() reads the Ethernet header assuming the MAC header is set, leading to an out-of-bounds memory read and potentially leaking data on the wire as the frame's outer source/destination MAC addresses. The issue has been resolved by changing the code to use skb_eth_hdr() which correctly handles unset MAC headers.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-72019 involves macsec_encrypt() reading the Ethernet header via eth_hdr(skb) which uses skb->head + skb->mac_header. On the AF_PACKET SOCK_RAW + PACKET_QDISC_BYPASS transmit path, the MAC header is unset, causing eth_hdr(skb) to resolve to an out-of-bounds memory location, resulting in a 12-byte heap over-read. This over-read is also emitted on the wire as the frame's outer source/destination MAC addresses. The issue was detected by KASAN and CONFIG_DEBUG_NET builds. The fix involves using skb_eth_hdr(), which accesses the L2 header at skb->data, avoiding assumptions about the MAC header being set.
Potential Impact
This vulnerability causes a heap out-of-bounds read of 12 bytes in kernel memory during packet transmission, which can leak unintended memory contents as part of the Ethernet frame's outer MAC addresses. While this is a memory safety issue, no direct code execution or privilege escalation impact is described. The data leak could potentially expose sensitive kernel memory contents on the network.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by modifying macsec_encrypt() to use skb_eth_hdr() instead of eth_hdr(skb), preventing out-of-bounds reads when the MAC header is unset. Users should update to a Linux kernel version that includes this fix. Patch status is not explicitly stated in the provided data; check the vendor advisory or Linux kernel mailing lists for the exact fixed version and apply the update accordingly.
In the Linux kernel, the following vulnerability has been resolved: macsec: don't read an unset MAC header in macsec_encrypt() macsec_encrypt()… (CVE-2026-72019)
Description
A vulnerability in the Linux kernel's macsec_encrypt() function could cause a 12-byte heap out-of-bounds read when the MAC header is unset on the AF_PACKET SOCK_RAW + PACKET_QDISC_BYPASS transmit path. This occurs because macsec_encrypt() reads the Ethernet header assuming the MAC header is set, leading to an out-of-bounds memory read and potentially leaking data on the wire as the frame's outer source/destination MAC addresses. The issue has been resolved by changing the code to use skb_eth_hdr() which correctly handles unset MAC headers.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-72019 involves macsec_encrypt() reading the Ethernet header via eth_hdr(skb) which uses skb->head + skb->mac_header. On the AF_PACKET SOCK_RAW + PACKET_QDISC_BYPASS transmit path, the MAC header is unset, causing eth_hdr(skb) to resolve to an out-of-bounds memory location, resulting in a 12-byte heap over-read. This over-read is also emitted on the wire as the frame's outer source/destination MAC addresses. The issue was detected by KASAN and CONFIG_DEBUG_NET builds. The fix involves using skb_eth_hdr(), which accesses the L2 header at skb->data, avoiding assumptions about the MAC header being set.
Potential Impact
This vulnerability causes a heap out-of-bounds read of 12 bytes in kernel memory during packet transmission, which can leak unintended memory contents as part of the Ethernet frame's outer MAC addresses. While this is a memory safety issue, no direct code execution or privilege escalation impact is described. The data leak could potentially expose sensitive kernel memory contents on the network.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by modifying macsec_encrypt() to use skb_eth_hdr() instead of eth_hdr(skb), preventing out-of-bounds reads when the MAC header is unset. Users should update to a Linux kernel version that includes this fix. Patch status is not explicitly stated in the provided data; check the vendor advisory or Linux kernel mailing lists for the exact fixed version and apply the update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-593p-5684-69pq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72019"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b79bf8831d5395024a4
Added to database: 08/15/2026, 15:53:29 UTC
Last enriched: 08/15/2026, 17:10:01 UTC
Last updated: 08/16/2026, 00:41:15 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.