Linux
net: pull headers in qdisc_pkt_len_segs_init()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e876f208af18b074f800656e4d1b99da75b2135f, < 5895cfc76924a629c6eaa5e5f049de642860045f
- >= e876f208af18b074f800656e4d1b99da75b2135f, < 7564dc804d8289d2e5c6edb8173754051b71bff4
- >= e876f208af18b074f800656e4d1b99da75b2135f, < 9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a
- >= e876f208af18b074f800656e4d1b99da75b2135f, < 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4
Fixed in 5895cfc76924a629c6eaa5e5f049de642860045f, 7564dc804d8289d2e5c6edb8173754051b71bff4, 9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a, 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4
- 3.16
Fixed in 0, 6.6.160, 6.12.114, 7.0.10, 7.1
Mitigation
Upgrade Linux to 5895cfc76924a629c6eaa5e5f049de642860045f or 7564dc804d8289d2e5c6edb8173754051b71bff4 or 9d4f5c68f5ad4ab425f3ce1500c97c9f9743999a or 7fb4c19670110f052c04e1ec1d2b953b9f4f57e4 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.114 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.