diff options
| author | Heng Qi <[email protected]> | 2024-06-28 04:40:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-07-01 12:43:50 +0000 |
| commit | 74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c (patch) | |
| tree | 4937ecd83361c45f8e95f8f913e931a83e17c847 /io_uring/net.c | |
| parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/... (diff) | |
| download | kernel-74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c.tar.gz kernel-74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c.zip | |
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: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=e77327e34cdc8c36b7d3
Signed-off-by: Heng Qi <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions
