On 2019/7/29 16:18, Jiri Pirko wrote:
Mon, Jul 29, 2019 at 10:00:18AM CEST, baijiaju1...@gmail.com wrote:
In dequeue_func(), there is an if statement on line 74 to check whether
skb is NULL:
if (skb)
When skb is NULL, it is used on line 77:
prefetch(>end);
Thus, a possible
Mon, Jul 29, 2019 at 10:00:18AM CEST, baijiaju1...@gmail.com wrote:
>In dequeue_func(), there is an if statement on line 74 to check whether
>skb is NULL:
>if (skb)
>
>When skb is NULL, it is used on line 77:
>prefetch(>end);
>
>Thus, a possible null-pointer dereference may occur.
>
>To
In dequeue_func(), there is an if statement on line 74 to check whether
skb is NULL:
if (skb)
When skb is NULL, it is used on line 77:
prefetch(>end);
Thus, a possible null-pointer dereference may occur.
To fix this bug, skb->end is used when skb is not NULL.
This bug is found by a
3 matches
Mail list logo