diff options
author | 2024-06-28 12:40:18 +0800 | |
---|---|---|
committer | 2024-07-01 13:43:50 +0100 | |
commit | 74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c (patch) | |
tree | 4937ecd83361c45f8e95f8f913e931a83e17c847 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue into main (diff) | |
download | wireguard-linux-74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c.tar.xz wireguard-linux-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: 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions