packet: use consistent hard_header_len in TX_RING send path
Summary
| CVE | CVE-2026-74668 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-22 16:16:40 UTC |
| Updated | 2026-08-22 16:16:40 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
packet: use consistent hard_header_len in TX_RING send path
tpacket_snd() reads dev->hard_header_len independently for skb
allocation and header construction in tpacket_fill_skb(). Concurrent
netdevice reconfiguration can therefore make the reserved headroom
smaller than the amount later pushed, or make copylen - hard_header_len
negative.
Snapshot hard_header_len once before processing ring frames and use it
for the frame limit, headroom allocation, copy length, and skb
construction. Pass the snapshot to tpacket_fill_skb().
The separate SOCK_DGRAM consistency problem between hard_header_len and
header_ops->create is not addressed here. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 d85d2fd54e901637c81d847811e03c662aee13cd git |
Not specified |
| CNA |
Linux |
Linux |
affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 016763e829cac37b3234eace86fd0a4c560de4a7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 27e068d1b35dbec10a3cf268887c94407be4badc git |
Not specified |
| CNA |
Linux |
Linux |
affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 d48ea5c9c4c34dc0df621f0e39ed3a16b644621a git |
Not specified |
| CNA |
Linux |
Linux |
affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 21b5953e7494c16a42e6cd8cf110e18d13ae4a6b git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.31 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.31 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.152 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.104 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.45 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1.9 7.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d48ea5c9c4c34dc0df621f0e39ed3a16b644621a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/21b5953e7494c16a42e6cd8cf110e18d13ae4a6b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/016763e829cac37b3234eace86fd0a4c560de4a7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d85d2fd54e901637c81d847811e03c662aee13cd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/27e068d1b35dbec10a3cf268887c94407be4badc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.