]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-netem-fix-issues-with-corrupting-GSO-frames'
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 01:30:39 +0000 (21:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 01:30:39 +0000 (21:30 -0400)
commit4a2ac537090b0bc7b45ec2cdde0eb976a8e87cad
treea95a10626d4d9c66e1e230d3a45fefc99e9e5d5a
parent0aa5b97880d3d23c9a0ffd2bb02e9bc264b880a7
parent26673cdb83cce17db01c88329001879c607fb963
Merge branch 'net-netem-fix-issues-with-corrupting-GSO-frames'

Jakub Kicinski says:

====================
net: netem: fix issues with corrupting GSO frames

Corrupting GSO frames currently leads to crashes, due to skb use
after free.  These stem from the skb list handling - the segmented
skbs come back on a list, and this list is not properly unlinked
before enqueuing the segments.  Turns out this condition is made
very likely to occur because of another bug - in backlog accounting.
Segments are counted twice, which means qdisc's limit gets reached
leading to drops and making the use after free very likely to happen.

The bugs are fixed in order in which they were added to the tree.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>