summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-11-05 14:31:58 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-13 10:42:34 +0100
commitfd81ebfe7975b9a69494430676d16f7125aac3ee (patch)
treef091a4e9ed825031f5a33489547b0fc7c22e9778 /kernel
parentcan: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULL (diff)
downloadlinux-fd81ebfe7975b9a69494430676d16f7125aac3ee.tar.xz
linux-fd81ebfe7975b9a69494430676d16f7125aac3ee.zip
can: j1939: socket: rework socket locking for j1939_sk_release() and j1939_sk_sendmsg()
j1939_sk_sendmsg() should be protected by lock_sock() to avoid race with j1939_sk_bind() and j1939_sk_release(). Reported-by: syzbot+afd421337a736d6c1ee6@syzkaller.appspotmail.com Reported-by: syzbot+6d04f6a1b31a0ae12ca9@syzkaller.appspotmail.com Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions