diff options
author | Oliver Hartkopp <[email protected]> | 2020-11-26 20:21:40 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-11-27 10:49:28 +0100 |
commit | d73ff9b7c4eacaba0fd956d14882bcae970f8307 (patch) | |
tree | 4ca1fa9ce82b83b636d80efc7dc4c3af5d1d8e2b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 5c7d55bded77da6db7c5d249610e3a2eed730b3c (diff) |
can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
To detect potential bugs in CAN protocol implementations (double removal of
receiver entries) a WARN() statement has been used if no matching list item was
found for removal.
The fault injection issued by syzkaller was able to create a situation where
the closing of a socket runs simultaneously to the notifier call chain for
removing the CAN network device in use.
This case is very unlikely in real life but it doesn't break anything.
Therefore we just replace the WARN() statement with pr_warn() to preserve the
notification for the CAN protocol development.
Reported-by: [email protected]
Reported-by: [email protected]
Reported-by: [email protected]
Signed-off-by: Oliver Hartkopp <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions