diff options
| author | Dmitry Antipov <[email protected]> | 2024-11-05 09:48:23 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2024-12-02 08:53:39 +0000 |
| commit | a8c695005bfe6569acd73d777ca298ddddd66105 (patch) | |
| tree | 210f7fcae0e176df1244efd52c9d1df16027d127 /drivers/net/netkit.c | |
| parent | can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6. (diff) | |
| download | kernel-a8c695005bfe6569acd73d777ca298ddddd66105.tar.gz kernel-a8c695005bfe6569acd73d777ca298ddddd66105.zip | |
can: j1939: j1939_session_new(): fix skb reference counting
Since j1939_session_skb_queue() does an extra skb_get() for each new
skb, do the same for the initial one in j1939_session_new() to avoid
refcount underflow.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=d4e8dc385d9258220c31
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Dmitry Antipov <[email protected]>
Tested-by: Oleksij Rempel <[email protected]>
Acked-by: Oleksij Rempel <[email protected]>
Link: https://patch.msgid.link/[email protected]
[mkl: clean up commit message]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
