diff options
author | Heng Qi <[email protected]> | 2024-06-28 12:40:18 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-07-01 13:43:50 +0100 |
commit | 74d6529b78f7a440a10aa7f4904ca9f27d1d2f3c (patch) | |
tree | 4937ecd83361c45f8e95f8f913e931a83e17c847 /tools/perf/scripts/python/libxed.py | |
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: [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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions