diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-11-05 11:07:08 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-13 10:42:34 +0100 |
commit | c48c8c1e2e81e71a0f13b83cc5124333f3750064 (patch) | |
tree | 14c1cad59500c38b1f03b4d0ca840b8753c8bcff /mm/hugetlb_cgroup.c | |
parent | can: j1939: move j1939_priv_put() into sk_destruct callback (diff) | |
download | linux-c48c8c1e2e81e71a0f13b83cc5124333f3750064.tar.xz linux-c48c8c1e2e81e71a0f13b83cc5124333f3750064.zip |
can: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULL
This patch avoids a NULL pointer deref crash if ndev->ml_priv is NULL.
Reported-by: syzbot+95c8e0d9dffde15b6c5c@syzkaller.appspotmail.com
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions