]> Git Repo - linux.git/commit
Merge branch 'net-two-fixes-for-qdisc_pkt_len_init'
authorPaolo Abeni <[email protected]>
Tue, 1 Oct 2024 09:47:08 +0000 (11:47 +0200)
committerPaolo Abeni <[email protected]>
Tue, 1 Oct 2024 09:47:08 +0000 (11:47 +0200)
commit23e19f2473c8762438baa1bcf3f71ee16dfcd535
treea1459d6153629dc225628a0994b929b7251e227a
parente9d591b16c0ed8489aedc86cac237145815d14dc
parentab9a9a9e9647392a19e7a885b08000e89c86b535
Merge branch 'net-two-fixes-for-qdisc_pkt_len_init'

Eric Dumazet says:

====================
net: two fixes for qdisc_pkt_len_init()

Inspired by one syzbot report.

At least one qdisc (fq_codel) depends on qdisc_skb_cb(skb)->pkt_len
having a sane value (not zero)

With the help of af_packet, syzbot was able to fool qdisc_pkt_len_init()
to precisely set qdisc_skb_cb(skb)->pkt_len to zero.

First patch fixes this issue.

Second one (a separate one to help future bisections) adds
more sanity check to SKB_GSO_DODGY users.
====================

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
This page took 0.053107 seconds and 4 git commands to generate.