CVE-2026-74582

packet: use consistent hard_header_len in non-ring send paths

7.8 high EPSS 0.12%

Published 21 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74582

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74582 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.03% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before bcd4df60ac9481b1ceffdfe5ec38fe51dcaae812
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 78a47127e33c340bc6d38dcc4552a094b4f5cc77
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 142e287b3a25cfe909215177c23243e7fc5ae2b1
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 91f041451f967cd87ed722a8f43c0b767a64f1a0
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 9052756290962ffb9a661bcf319e92dedaaedfed
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 5bb10753d428aadfc356a2bfe9acea09c82a62ec
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before b06b6fce6d7deaf7238e09b48ce3b1125ff41acd
affected from b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba, before 03390aa32e669cc4ecd7d34108e2e1afc13d689d
affected d9fb8cc230b2a4757e9fe4f81468f81212d4deaa
affected 6190cce26e40bf71c4d375b21eea74bb07b6a0f3
affected 01a658c1b9d4b5393c38d5a92d9112ab1425382a
affected 8809ae6747e760e6f1d2453ceb08c9bcc4939766
affected from 4.4.133, before 4.5
affected from 4.9.103, before 4.10
affected from 4.14.44, before 4.15
affected from 4.16.12, before 4.17
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 5.10.267 up to and including 5.10.*
unaffected from 5.15.218 up to and including 5.15.*
unaffected from 6.1.185 up to and including 6.1.*
unaffected from 6.6.152 up to and including 6.6.*
unaffected from 6.12.104 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74582 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74582

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74582
trivy image --scanners vuln IMAGE | grep CVE-2026-74582

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74582 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.