packet: use consistent hard_header_len in TX_RING send path

Summary

CVECVE-2026-74668
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:40 UTC
Updated2026-08-22 16:16:40 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report