VDB

CVE-2026-74582

CVE-2026-74582 PUBLISHED CVSS 7.8 HIGH

packet: use consistent hard_header_len in non-ring send paths

Reported by linux · Published August 21, 2026

In the Linux kernel, the following vulnerability has been resolved: 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-abi-stablelistserrata.rockylinux.org0:5.14.0-687.64.1.el9_8.noarch
kernel-debug-moduleserrata.rockylinux.org0:5.14.0-687.64.1.el9_8.aarch64
kernel-modules-coreerrata.rockylinux.org0:5.14.0-687.64.1.el9_8.aarch64
python3-perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-develerrata.rockylinux.org0:5.14.0-687.64.1.el9_8.aarch64
kernel-rt-debug-moduleserrata.rockylinux.org4.18.0-553.172.1.rt7.513.el8
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-rt-debug-modules-coreerrata.rockylinux.org0:5.14.0-687.64.1.el9_8.aarch64
kernel-rt-64k-debuginfoerrata.rockylinux.org0:5.14.0-687.64.1.el9_8.aarch64
kernel-docerrata.rockylinux.org0:5.14.0-687.64.1.el9_8.noarch
perferrata.rockylinux.org4.18.0-553.172.1.el8

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxb84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba
LinuxLinux4.17, 0, 5.10.267
amazon:2023python3-perf0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.120
LinuxLinux7.1.9, *, 6.18.45
amazon:2023kernel-tools0
amazon:2023python3-perf6.120
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra0
amazon:2perf0
amazon:2023kernel-livepatch-6.18.48-107.1480
amazon:2023perf0
amazon:2kernel-livepatch-4.14.355-287.7530
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2kernel-headers0
amazon:2023perf6.120

…and 26 more

Timeline

  • Aug 21, 2026 CVE Published
  • Aug 22, 2026 Coalition ESS Score
  • Aug 24, 2026 EPSS Score (7 in total, the first dated here)
  • Sep 3, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 4, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74582
vulnetix vdb fixes CVE-2026-74582

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74582/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›