CVE-2026-53091: net: pull headers in qdisc_pkt_len_segs_init()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: pull headers in qdisc_pkt_len_segs_init()
Most ndo_start_xmit() methods expects headers of gso packets to be already in skb->head.
net/core/tso.c users are particularly at risk, because tso_build_hdr() does a memcpy(hdr, skb->data, hdr_len);
qdisc_pkt_len_segs_init() already does a dissection of gso packets.
Use pskb_may_pull() instead of skb_header_pointer() to make sure drivers do not have to reimplement this.
Some malicious packets could be fed, detect them so that we can drop them sooner with a new SKB_DROP_REASON_SKB_BAD_GSO drop_reason.
The Linux kernel CVE team has assigned CVE-2026-53091 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.16 with commit e876f208af18b074f800656e4d1b99da75b2135f and fixed in 7.0.10 with commit 9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a Issue introduced in 3.16 with commit e876f208af18b074f800656e4d1b99da75b2135f and fixed in 7.1 with commit 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53091
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/net/dropreason-core.h
net/core/dev.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a https://git.kernel.org/stable/c/7fb4c19670110f052c04e1ec1d2b953b9f4f57e4