------------[ cut here ]------------ WARNING: CPU: 0 PID: 4062 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: 4062 Comm: syz.1.89 Not tainted 6.12.0-rc6-syzkaller #0 Hardware name: ARM-Versatile Express Call trace: [<8199ca38>] (dump_backtrace) from [<8199cb34>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257) r7:00000000 r6:82622f44 r5:00000000 r4:8203dc0c [<8199cb1c>] (show_stack) from [<819bafc8>] (__dump_stack lib/dump_stack.c:94 [inline]) [<8199cb1c>] (show_stack) from [<819bafc8>] (dump_stack_lvl+0x54/0x7c lib/dump_stack.c:120) [<819baf74>] (dump_stack_lvl) from [<819bb008>] (dump_stack+0x18/0x1c lib/dump_stack.c:129) r5:00000000 r4:82870d18 [<819baff0>] (dump_stack) from [<8199d660>] (panic+0x120/0x374 kernel/panic.c:354) [<8199d540>] (panic) from [<80242118>] (check_panic_on_warn kernel/panic.c:243 [inline]) [<8199d540>] (panic) from [<80242118>] (get_taint+0x0/0x1c kernel/panic.c:238) r3:8260c5c4 r2:00000001 r1:82025fe0 r0:8202da48 r7:808408b0 [<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:8208c41c r6:dfb45d6c r5:837b6c00 r4:00000000 [<80242388>] (warn_slowpath_fmt) from [<808408b0>] (refcount_warn_saturate+0x13c/0x174 lib/refcount.c:28) r10:000001b4 r9:84cd0e80 r8:0000006c r7:00000000 r6:8182a104 r5:00000002 r4:844fbc00 [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (__refcount_sub_and_test include/linux/refcount.h:275 [inline]) [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (__refcount_dec_and_test include/linux/refcount.h:307 [inline]) [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (refcount_dec_and_test include/linux/refcount.h:325 [inline]) [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (skb_unref include/linux/skbuff.h:1232 [inline]) [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (__sk_skb_reason_drop net/core/skbuff.c:1213 [inline]) [<80840774>] (refcount_warn_saturate) from [<8149bbc0>] (sk_skb_reason_drop+0x1d8/0x248 net/core/skbuff.c:1241) [<8149b9e8>] (sk_skb_reason_drop) from [<8182a104>] (kfree_skb_reason include/linux/skbuff.h:1262 [inline]) [<8149b9e8>] (sk_skb_reason_drop) from [<8182a104>] (kfree_skb include/linux/skbuff.h:1271 [inline]) [<8149b9e8>] (sk_skb_reason_drop) from [<8182a104>] (j1939_session_destroy+0x78/0x200 net/can/j1939/transport.c:282) r9:84cd0e80 r8:0000006c r7:84cd0e84 r6:84b84050 r5:84b84000 r4:844fbc00 [<8182a08c>] (j1939_session_destroy) from [<8182b420>] (__j1939_session_release net/can/j1939/transport.c:294 [inline]) [<8182a08c>] (j1939_session_destroy) from [<8182b420>] (kref_put include/linux/kref.h:65 [inline]) [<8182a08c>] (j1939_session_destroy) from [<8182b420>] (j1939_session_put+0x54/0x58 net/can/j1939/transport.c:299) r6:84cd0e78 r5:84cd0e78 r4:84cd0e78 [<8182b3cc>] (j1939_session_put) from [<818284e0>] (j1939_sk_queue_drop_all+0x7c/0xc4 net/can/j1939/socket.c:144) [<81828464>] (j1939_sk_queue_drop_all) from [<81828720>] (j1939_sk_release+0x1f8/0x200 net/can/j1939/socket.c:642) r9:837b6c00 r8:82cae610 r7:84cd0e74 r6:84640000 r5:833c7900 r4:84cd0c00 [<81828528>] (j1939_sk_release) from [<814851ec>] (__sock_release+0x44/0xbc net/socket.c:658) r8:82cae610 r7:00000000 r6:81c7e894 r5:833c7a00 r4:833c7900 [<814851a8>] (__sock_release) from [<8148527c>] (sock_close+0x18/0x20 net/socket.c:1426) r7:833c7980 r6:833afee0 r5:082e0003 r4:847fac00 [<81485264>] (sock_close) from [<80518d84>] (__fput+0xdc/0x2e4 fs/file_table.c:431) [<80518ca8>] (__fput) from [<80519014>] (____fput+0x14/0x18 fs/file_table.c:459) r9:837b6c00 r8:82871694 r7:837b6c00 r6:837b7484 r5:837b7454 r4:847fa8a8 [<80519000>] (____fput) from [<8026c67c>] (task_work_run+0x90/0xb8 kernel/task_work.c:239) [<8026c5ec>] (task_work_run) from [<8020bde0>] (resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]) [<8026c5ec>] (task_work_run) from [<8020bde0>] (do_work_pending+0x448/0x4f8 arch/arm/kernel/signal.c:631) r9:837b6c00 r8:8020029c r7:000001b4 r6:8020029c r5:dfb45fb0 r4:837b6c00 [<8020b998>] (do_work_pending) from [<80200088>] (slow_work_pending+0xc/0x24) Exception stack(0xdfb45fb0 to 0xdfb45ff8) 5fa0: 00000000 ffffffff 00000000 00000000 5fc0: 00000000 00000000 002862f0 000001b4 00000000 00006364 003d0f00 76b1f0bc 5fe0: 76b1eec0 76b1eeb0 00018b10 00133470 60000010 00000007 r10:000001b4 r9:837b6c00 r8:8020029c r7:000001b4 r6:002862f0 r5:00000000 r4:00000000 Rebooting in 86400 seconds..