Skip to content
Commit ddeeb7d4 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Marc Kleine-Budde
Browse files

can: j1939: j1939_can_recv(): add priv refcounting



j1939_can_recv() can be called in parallel with socket release. In this
case sk_release and sk_destruct can be done earlier than
j1939_can_recv() is processed.

Reported-by: default avatar <syzbot+ca172a0ac477ac90f045@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+07ca5bce8530070a5650@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+a47537d3964ef6c874e1@syzkaller.appspotmail.com>
Fixes: 9d71dd0c ("can: add support of SAE J1939 protocol")
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
parent 8d7a5f00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment