------------[ cut here ]------------ WARNING: CPU: 0 PID: 5200 at lib/refcount.c:28 refcount_warn_saturate+0x13c/0x174 lib/refcount.c:28 refcount_t: underflow; use-after-free. Modules linked in: Kernel panic - not syncing: kernel: panic_on_warn set ... CPU: 0 UID: 0 PID: 5200 Comm: syz.0.307 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: ARM-Versatile Express Call trace: [<8199d158>] (dump_backtrace) from [<8199d254>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257) r7:00000000 r6:82622f44 r5:00000000 r4:8203de14 [<8199d23c>] (show_stack) from [<819bb6e8>] (__dump_stack lib/dump_stack.c:94 [inline]) [<8199d23c>] (show_stack) from [<819bb6e8>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:120) [<819bb694>] (dump_stack_lvl) from [<819bb728>] (dump_stack+0x18/0x1c lib/dump_stack.c:129) r5:00000000 r4:82870d18 [<819bb710>] (dump_stack) from [<8199dd80>] (panic+0x120/0x374 kernel/panic.c:354) [<8199dc60>] (panic) from [<80242118>] (check_panic_on_warn kernel/panic.c:243 [inline]) [<8199dc60>] (panic) from [<80242118>] (get_taint+0x0/0x1c kernel/panic.c:238) r3:8260c5c4 r2:00000001 r1:820261e8 r0:8202dc50 r7:80840e78 [<802420a4>] (check_panic_on_warn) from [<8024227c>] (__warn+0x80/0x188 kernel/panic.c:748) [<802421fc>] (__warn) from [<8024256c>] (warn_slowpath_fmt+0x1e8/0x1f4 kernel/panic.c:783) r8:00000009 r7:8208c63c r6:df9b1c84 r5:8400d400 r4:00000000 [<80242388>] (warn_slowpath_fmt) from [<80840e78>] (refcount_warn_saturate+0x13c/0x174 lib/refcount.c:28) r10:00000000 r9:84c10684 r8:00000000 r7:00000000 r6:8182a814 r5:00000002 r4:848e0900 [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (__refcount_sub_and_test include/linux/refcount.h:275 [inline]) [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (__refcount_dec_and_test include/linux/refcount.h:307 [inline]) [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (refcount_dec_and_test include/linux/refcount.h:325 [inline]) [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (skb_unref include/linux/skbuff.h:1232 [inline]) [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (__sk_skb_reason_drop net/core/skbuff.c:1213 [inline]) [<80840d3c>] (refcount_warn_saturate) from [<8149c280>] (sk_skb_reason_drop+0x1d8/0x248 net/core/skbuff.c:1241) [<8149c0a8>] (sk_skb_reason_drop) from [<8182a814>] (kfree_skb_reason include/linux/skbuff.h:1262 [inline]) [<8149c0a8>] (sk_skb_reason_drop) from [<8182a814>] (kfree_skb include/linux/skbuff.h:1271 [inline]) [<8149c0a8>] (sk_skb_reason_drop) from [<8182a814>] (j1939_session_destroy+0x78/0x200 net/can/j1939/transport.c:282) r9:84c10684 r8:00000000 r7:df9b1f38 r6:84f7ae50 r5:84f7ae00 r4:848e0900 [<8182a79c>] (j1939_session_destroy) from [<8182bb30>] (__j1939_session_release net/can/j1939/transport.c:294 [inline]) [<8182a79c>] (j1939_session_destroy) from [<8182bb30>] (kref_put include/linux/kref.h:65 [inline]) [<8182a79c>] (j1939_session_destroy) from [<8182bb30>] (j1939_session_put+0x54/0x58 net/can/j1939/transport.c:299) r6:84f7ae00 r5:83292c80 r4:00000004 [<8182badc>] (j1939_session_put) from [<81829b60>] (j1939_sk_send_loop net/can/j1939/socket.c:1202 [inline]) [<8182badc>] (j1939_session_put) from [<81829b60>] (j1939_sk_sendmsg+0x41c/0x548 net/can/j1939/socket.c:1277) [<81829744>] (j1939_sk_sendmsg) from [<81486f14>] (sock_sendmsg_nosec net/socket.c:729 [inline]) [<81829744>] (j1939_sk_sendmsg) from [<81486f14>] (__sock_sendmsg+0x44/0x78 net/socket.c:744) r10:00000000 r9:df9b1dd4 r8:df9b1dd4 r7:83292c80 r6:83292c80 r5:df9b1f38 r4:00000000 [<81486ed0>] (__sock_sendmsg) from [<81487f14>] (____sys_sendmsg+0x2a4/0x2c4 net/socket.c:2607) r7:83292c80 r6:00000000 r5:00000000 r4:df9b1f38 [<81487c70>] (____sys_sendmsg) from [<81489e7c>] (___sys_sendmsg+0x9c/0xd0 net/socket.c:2661) r10:df9b1e34 r9:20000180 r8:00000000 r7:00000000 r6:83292c80 r5:df9b1f38 r4:00000000 [<81489de0>] (___sys_sendmsg) from [<8148a394>] (__sys_sendmsg net/socket.c:2690 [inline]) [<81489de0>] (___sys_sendmsg) from [<8148a394>] (__do_sys_sendmsg net/socket.c:2699 [inline]) [<81489de0>] (___sys_sendmsg) from [<8148a394>] (sys_sendmsg+0x78/0xbc net/socket.c:2697) r10:00000128 r9:8400d400 r8:8020029c r7:00000000 r6:20000180 r5:83292c80 r4:00000000 [<8148a31c>] (sys_sendmsg) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdf9b1fa8 to 0xdf9b1ff0) 1fa0: 00000000 00000000 00000005 20000180 00000000 00000000 1fc0: 00000000 00000000 002862f0 00000128 00000000 00006364 003d0f00 76b4f0bc 1fe0: 76b4eec0 76b4eeb0 00018af0 00133450 r7:00000128 r6:002862f0 r5:00000000 r4:00000000 Rebooting in 86400 seconds..