diff options
author | Heng Qi <hengqi@linux.alibaba.com> | 2024-06-28 12:40:18 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-07-01 13:43:50 +0100 |
commit | 74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c (patch) | |
tree | 4937ecd83361c45f8e95f8f913e931a83e17c847 /io_uring/net.c | |
parent | f61c72be2dc5880bcba6a467cda5e6059e885eb3 (diff) |
net: ethtool: Fix the panic caused by dev being null when dumping coalesce
syzbot reported a general protection fault caused by a null pointer
dereference in coalesce_fill_reply(). The issue occurs when req_base->dev
is null, leading to an invalid memory access.
This panic occurs if dumping coalesce when no device name is specified.
Fixes: f750dfe825b9 ("ethtool: provide customized dim profile management")
Reported-by: syzbot+e77327e34cdc8c36b7d3@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=e77327e34cdc8c36b7d3
Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions