Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-74668

packet: use consistent hard_header_len in TX_RING send path

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < 9c7e8ff48c377bef18c3d178748aea0575b69edeaffected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < 2a73b2c37ee3060a880b53cd24783d93fc7be5f8affected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < e79f59a8527a49078cfaf8fe8fb5fcefc20c76d2affected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < d85d2fd54e901637c81d847811e03c662aee13cdaffected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < 016763e829cac37b3234eace86fd0a4c560de4a7affected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < 27e068d1b35dbec10a3cf268887c94407be4badcaffected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < d48ea5c9c4c34dc0df621f0e39ed3a16b644621aaffected
  • 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 to < 21b5953e7494c16a42e6cd8cf110e18d13ae4a6baffected

Linux Linux

Default version status: affected

  • 2.6.31affected
  • 0 to < 2.6.31unaffected
  • 5.10.267 to ≤ 5.10.*unaffected
  • 5.15.218 to ≤ 5.15.*unaffected
  • 6.1.185 to ≤ 6.1.*unaffected
  • 6.6.152 to ≤ 6.6.*unaffected
  • 6.12.104 to ≤ 6.12.*unaffected
  • 6.18.45 to ≤ 6.18.*unaffected
  • 7.1.9 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References