Bug 2519475 (CVE-2026-74582) - CVE-2026-74582 kernel: packet: use consistent hard_header_len in non-ring send paths
Summary: CVE-2026-74582 kernel: packet: use consistent hard_header_len in non-ring sen...
Keywords:
Status: NEW
Alias: CVE-2026-74582
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 10:18 UTC by OSIDB Bzimport
Modified: 2026-10-07 20:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:60484 0 None None None 2026-08-27 12:41:06 UTC
Red Hat Product Errata RHSA-2026:60486 0 None None None 2026-08-27 12:51:58 UTC
Red Hat Product Errata RHSA-2026:62609 0 None None None 2026-09-02 12:29:41 UTC
Red Hat Product Errata RHSA-2026:63537 0 None None None 2026-09-04 08:14:48 UTC
Red Hat Product Errata RHSA-2026:65710 0 None None None 2026-09-09 00:35:53 UTC
Red Hat Product Errata RHSA-2026:65711 0 None None None 2026-09-09 00:40:44 UTC
Red Hat Product Errata RHSA-2026:67721 0 None None None 2026-09-16 00:14:33 UTC
Red Hat Product Errata RHSA-2026:67723 0 None None None 2026-09-16 00:42:19 UTC
Red Hat Product Errata RHSA-2026:76738 0 None None None 2026-10-07 20:29:00 UTC
Red Hat Product Errata RHSA-2026:77498 0 None None None 2026-10-07 18:52:09 UTC
Red Hat Product Errata RHSA-2026:77500 0 None None None 2026-10-07 11:21:58 UTC

Description OSIDB Bzimport 2026-08-19 10:18:37 UTC
packet: use consistent hard_header_len in non-ring send paths
packet_snd() reads dev->hard_header_len multiple times while allocating
and constructing an skb. Device reconfiguration can change this value
concurrently, for example through bonding device type changes.

For SOCK_RAW, packet_snd() can save a larger value in reserve and later
allocate headroom using a smaller value. Moving skb->data back by reserve
then places it before skb->head, and the following copy from userspace can
attempt an out-of-bounds write.

packet_sendmsg_spkt() has the same issue because it calculates its
reservation and header offset from separate reads before dropping the RCU
read lock to allocate the skb.

Add LL_RESERVED_SPACE_EX() for callers that already saved a header length.
Read hard_header_len once in packet_snd() and use it for allocation and
construction. In packet_sendmsg_spkt(), preserve the allocation-time value
through the device lookup retry.

The separate SOCK_DGRAM consistency problem between hard_header_len and
header_ops->create is not addressed here.

Comment 4 errata-xmlrpc 2026-08-27 12:41:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:60484 https://access.redhat.com/errata/RHSA-2026:60484

Comment 5 errata-xmlrpc 2026-08-27 12:51:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:60486 https://access.redhat.com/errata/RHSA-2026:60486

Comment 6 errata-xmlrpc 2026-09-02 12:29:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:62609 https://access.redhat.com/errata/RHSA-2026:62609

Comment 7 errata-xmlrpc 2026-09-04 08:14:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:63537 https://access.redhat.com/errata/RHSA-2026:63537

Comment 8 errata-xmlrpc 2026-09-09 00:35:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:65710 https://access.redhat.com/errata/RHSA-2026:65710

Comment 9 errata-xmlrpc 2026-09-09 00:40:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:65711 https://access.redhat.com/errata/RHSA-2026:65711

Comment 11 Jon Orris 2026-09-16 00:14:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:67721 https://access.redhat.com/errata/RHSA-2026:67721

Comment 12 Jon Orris 2026-09-16 00:42:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:67723 https://access.redhat.com/errata/RHSA-2026:67723

Comment 14 Jon Orris 2026-10-07 11:21:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:77500 https://access.redhat.com/errata/RHSA-2026:77500

Comment 15 Jon Orris 2026-10-07 18:52:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:77498 https://access.redhat.com/errata/RHSA-2026:77498

Comment 16 Jon Orris 2026-10-07 20:28:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:76738 https://access.redhat.com/errata/RHSA-2026:76738


Note You need to log in before you can comment on or make changes to this bug.