CVE-2026-53223: net: guard timestamp cmsgs to real error queue skbs

Published Jun 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: guard timestamp cmsgs to real error queue skbs

skbiserrqueue() treats PACKETOUTGOING as the sole marker for an skb from skerrorqueue. That assumption is not true for AFPACKET sockets: outgoing packet taps are also delivered to packet sockets with skb->pkttype == PACKETOUTGOING, but their skb->cb is owned by AFPACKET instead of struct sockexterrskb.

If such an skb is received with timestamping enabled, the generic timestamp cmsg path can read AFPACKET control-buffer state as sockexterrskb::optstats. With SORXQOVFL enabled, the packet drop counter overlaps optstats. An odd drop count makes the path emit SCMTIMESTAMPINGOPTSTATS with skb->len and skb->data. For non-linear skbs this copies past the linear head and can trigger hardened usercopy or disclose adjacent heap contents.

Keep skbiserrqueue() local to net/socket.c, but make it verify that the PACKETOUTGOING marker is paired with the sockrmemfree destructor installed by sockqueueerrskb(). AFPACKET receive skbs use normal receive ownership and no longer pass as error-queue skbs, while legitimate skerrorqueue entries keep the PACKETOUTGOING marker and sockrmemfree ownership.

Affected Software

23 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=4.10.14<4.11
Linux Linux kernel>=4.11.1<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=4.11
Linux Linux kernel=4.11-rc4
Linux Linux kernel=4.11-rc5
Linux Linux kernel=4.11-rc6
Linux Linux kernel=4.11-rc7
Linux Linux kernel=4.11-rc8
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6
Linux Linux kernel=7.1-rc7
Microsoft azl3 kernel 6.6.139.1-1<6.6.143.1-1
6.6.143.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1

Event History

Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
DescriptionSeverity
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software
Jul 4, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity

Frequently Asked Questions

1

Which systems are realistically exposed?

Systems using AF_PACKET sockets that receive outgoing packet taps are exposed when timestamping is enabled. The issue is locally exploitable, so an attacker needs local access with the privileges required to use the affected socket configuration.

2

What conditions are needed to trigger the problematic timestamp handling?

An AF_PACKET receive skb marked PACKET_OUTGOING must be processed through the generic timestamp control-message path. With SO_RXQ_OVFL enabled, an odd packet-drop count can be interpreted as timestamp statistics and cause SCM_TIMESTAMPING_OPT_STATS to include skb length and data; non-linear skbs can then copy beyond the linear head.

3

What can be done before an update is available?

Disable timestamping on affected AF_PACKET sockets to prevent the generic timestamp cmsg path from handling these packet-tap skbs. Where feasible, also avoid enabling SO_RXQ_OVFL on those sockets, since its drop counter is the value that can overlap the misread timestamp statistics.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203