CVE-2026-74582
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-abi-stablelists | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.noarch |
| kernel-debug-modules | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.aarch64 |
| kernel-modules-core | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.aarch64 |
| python3-perf | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel-devel | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.aarch64 |
| kernel-rt-debug-modules | errata.rockylinux.org | 4.18.0-553.172.1.rt7.513.el8 |
| kernel6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel-rt-debug-modules-core | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.aarch64 |
| kernel-rt-64k-debuginfo | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.aarch64 |
| kernel-doc | errata.rockylinux.org | 0:5.14.0-687.64.1.el9_8.noarch |
| perf | errata.rockylinux.org | 4.18.0-553.172.1.el8 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba |
| Linux | Linux | 4.17, 0, 5.10.267 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | 7.1.9, *, 6.18.45 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.18.48-107.148 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2 | kernel-livepatch-4.14.355-287.753 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.1.186-228.374 | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
…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