# CVE-2026-74582: packet: use consistent hard\_header\_len in non-ring send paths

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-21T16:31:55.283Z
- **Modified:** 2026-10-16T20:17:40.100Z

## Who should check

- Anyone running Linux \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 78a47127e33c340bc6d38dcc4552a094b4f5cc77; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 142e287b3a25cfe909215177c23243e7fc5ae2b1; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 91f041451f967cd87ed722a8f43c0b767a64f1a0; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 9052756290962ffb9a661bcf319e92dedaaedfed; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 5bb10753d428aadfc356a2bfe9acea09c82a62ec; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< b06b6fce6d7deaf7238e09b48ce3b1125ff41acd; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 03390aa32e669cc4ecd7d34108e2e1afc13d689d; d9fb8cc230b2a4757e9fe4f81468f81212d4deaa; 6190cce26e40bf71c4d375b21eea74bb07b6a0f3; …
- Anyone running Linux 4.17

## Description

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.

## Affected and fixed versions

- Linux: \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 78a47127e33c340bc6d38dcc4552a094b4f5cc77; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 142e287b3a25cfe909215177c23243e7fc5ae2b1; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 91f041451f967cd87ed722a8f43c0b767a64f1a0; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 9052756290962ffb9a661bcf319e92dedaaedfed; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 5bb10753d428aadfc356a2bfe9acea09c82a62ec; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< b06b6fce6d7deaf7238e09b48ce3b1125ff41acd; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 03390aa32e669cc4ecd7d34108e2e1afc13d689d; d9fb8cc230b2a4757e9fe4f81468f81212d4deaa; 6190cce26e40bf71c4d375b21eea74bb07b6a0f3; … (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74582. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74582.md
Affected: Linux >= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, < bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812; >= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, < 78a47127e33c340bc6d38dcc4552a094b4f5cc77; >= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, < 142e287b3a25cfe909215177c23243e7fc5ae2b1; >= b84bbaf7a6c8cca24f8acf2…
Fixed in: Linux 78a47127e33c340bc6d38dcc4552a094b4f5cc77, Linux 142e287b3a25cfe909215177c23243e7fc5ae2b1, Linux 91f041451f967cd87ed722a8f43c0b767a64f1a0, Linux 9052756290962ffb9a661bcf319e92dedaaedfed, Linux 5bb10753d428aadfc356a2bfe9acea09c82a62ec, Linux 03390aa32e669cc4ecd7d34108e2e1afc13d689d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74582 being exploited?

There is no confirmed exploitation: CVE-2026-74582 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74582?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74582?

Linux \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 78a47127e33c340bc6d38dcc4552a094b4f5cc77; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 142e287b3a25cfe909215177c23243e7fc5ae2b1; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 91f041451f967cd87ed722a8f43c0b767a64f1a0; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 9052756290962ffb9a661bcf319e92dedaaedfed; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 5bb10753d428aadfc356a2bfe9acea09c82a62ec; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< b06b6fce6d7deaf7238e09b48ce3b1125ff41acd; \>= b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, \< 03390aa32e669cc4ecd7d34108e2e1afc13d689d; d9fb8cc230b2a4757e9fe4f81468f81212d4deaa; 6190cce26e40bf71c4d375b21eea74bb07b6a0f3; …; Linux 4.17.

### Is there a fix for CVE-2026-74582?

Yes. Fixed in Linux 78a47127e33c340bc6d38dcc4552a094b4f5cc77, Linux 142e287b3a25cfe909215177c23243e7fc5ae2b1, Linux 91f041451f967cd87ed722a8f43c0b767a64f1a0, Linux 9052756290962ffb9a661bcf319e92dedaaedfed, Linux 5bb10753d428aadfc356a2bfe9acea09c82a62ec, Linux 03390aa32e669cc4ecd7d34108e2e1afc13d689d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74582?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812>
- other: <https://git.kernel.org/stable/c/78a47127e33c340bc6d38dcc4552a094b4f5cc77>
- other: <https://git.kernel.org/stable/c/142e287b3a25cfe909215177c23243e7fc5ae2b1>
- other: <https://git.kernel.org/stable/c/91f041451f967cd87ed722a8f43c0b767a64f1a0>
- other: <https://git.kernel.org/stable/c/9052756290962ffb9a661bcf319e92dedaaedfed>
- other: <https://git.kernel.org/stable/c/5bb10753d428aadfc356a2bfe9acea09c82a62ec>
- other: <https://git.kernel.org/stable/c/b06b6fce6d7deaf7238e09b48ce3b1125ff41acd>
- other: <https://git.kernel.org/stable/c/03390aa32e669cc4ecd7d34108e2e1afc13d689d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74582>

HTML: <https://flawdb.com/CVE-2026-74582> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74582>
