program: r0 = syz_open_dev$swradio(&(0x7f0000000140), 0x0, 0x2) ioctl$VIDIOC_S_FREQUENCY(r0, 0x402c5639, &(0x7f0000000180)={0xfffffff8, 0x5, 0xffff}) (async) r1 = socket$xdp(0x2c, 0x3, 0x0) setsockopt$XDP_UMEM_FILL_RING(r1, 0x11b, 0x5, &(0x7f0000000100)=0x100f01, 0x4) (async) setsockopt$XDP_UMEM_COMPLETION_RING(r1, 0x11b, 0x6, &(0x7f0000000340)=0x100, 0x4) (async) setsockopt$XDP_UMEM_COMPLETION_RING(r1, 0x11b, 0x2, &(0x7f0000000300)=0x8000, 0x4) r2 = socket$nl_generic(0x10, 0x3, 0x10) socket(0xa, 0x3, 0x6) syz_emit_ethernet(0x4a, &(0x7f0000000f00)={@local, @remote, @void, {@ipv6={0x86dd, @tcp={0x0, 0x6, "a8b4ce", 0x14, 0x6, 0x0, @remote, @mcast2, {[], {{0x0, 0x0, 0x41424344, 0x41424344, 0x0, 0x2, 0x5}}}}}}}, 0x0) (async) ioctl$sock_SIOCGIFINDEX(r2, 0x8933, &(0x7f0000000dc0)={'veth1_macvtap\x00'}) (async) bind$xdp(r1, &(0x7f0000000200), 0x10) setsockopt$XDP_UMEM_REG(0xffffffffffffffff, 0x11b, 0x4, &(0x7f0000000080)={&(0x7f0000000000)=""/49, 0x15000, 0x800}, 0x20) (async) setsockopt$XDP_TX_RING(0xffffffffffffffff, 0x11b, 0x3, &(0x7f00000000c0)=0x10, 0x4) (async) setsockopt$XDP_UMEM_FILL_RING(0xffffffffffffffff, 0x11b, 0x5, &(0x7f0000000100)=0x1, 0x4) r3 = socket$nl_netfilter(0x10, 0x3, 0xc) sendmsg$IPSET_CMD_CREATE(r3, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000280)={&(0x7f00000000c0)={0x48, 0x2, 0x6, 0x101, 0x0, 0x0, {0x0, 0x0, 0x9}, [@IPSET_ATTR_FAMILY={0x5, 0x5, 0x2}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz2\x00'}, @IPSET_ATTR_TYPENAME={0x10, 0x3, 'hash:ip,mac\x00'}, @IPSET_ATTR_REVISION={0x5}, @IPSET_ATTR_PROTOCOL={0x5}]}, 0x48}}, 0x8040) (async) sendmsg$IPSET_CMD_SAVE(r3, &(0x7f00000001c0)={0x0, 0x0, &(0x7f0000000180)={&(0x7f0000000380)=ANY=[@ANYBLOB="1d90345085fca5f31f1c5f07fd4b47c73b2e57967800406f1ae9e5e1d74b16b5e508e3551afcb6cb572941c8eaed83fcba42908d2056d94d090b616be67ffabe0011d7695ef137009aabae485b4db403619b7362cf307429e04ac5f328f28cf30faf45fb6802bc94ea718ec05ff1068d5991d67d8a79bf1bb0123f7a7fef4002ecb9d945f69337b5a017928af72dea8149e0761bc76de551a8a715eb44ee463281a7f405b21699b6a489cbbad48bd8993be46ec17a32200e912287a3b1aef9ba58a818451c4f73a1f2b0f612cac82a77f5e47a4bdfa1496b9056163fe536504a9cd00c"], 0x1c}, 0x1, 0x0, 0x0, 0xc044c44}, 0x0) (async) r4 = socket$can_j1939(0x1d, 0x2, 0x7) (async) r5 = socket$nl_generic(0x10, 0x3, 0x10) ioctl$ifreq_SIOCGIFINDEX_vcan(r5, 0x8933, &(0x7f0000000140)={'vxcan1\x00', 0x0}) bind$can_j1939(r4, &(0x7f0000000300)={0x1d, r6}, 0x18) (async) sendmsg$can_j1939(r4, &(0x7f0000000180)={&(0x7f0000000040)={0x1d, 0x0, 0x0, {0x0, 0x1ee, 0x2}}, 0x18, &(0x7f0000000100)={&(0x7f00000000c0)="d4", 0x1}}, 0x800) setsockopt$XDP_UMEM_COMPLETION_RING(0xffffffffffffffff, 0x11b, 0x6, &(0x7f0000000340)=0x100, 0x4) (async) r7 = socket$nl_route(0x10, 0x3, 0x0) sendmsg$nl_route(r7, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000100)={&(0x7f0000000140)=@newlink={0x40, 0x10, 0x401}, 0x40}}, 0x0) (async) r8 = socket$nl_generic(0x10, 0x3, 0x10) ioctl$sock_SIOCGIFINDEX(r8, 0x8933, &(0x7f0000000dc0)={'veth1_macvtap\x00', 0x0}) bind$xdp(0xffffffffffffffff, &(0x7f0000000040)={0x2c, 0x0, r9}, 0x10) setsockopt$SO_BINDTODEVICE(r1, 0x1, 0x19, &(0x7f00000001c0)='veth1_vlan\x00', 0x10) (async) close_range(r0, r0, 0x0) [ 69.731252][ T4662] Bluetooth: hci0: command tx timeout [ 69.786984][ T5315] ------------[ cut here ]------------ [ 69.789210][ T5315] refcount_t: underflow; use-after-free. [ 69.795248][ T5315] WARNING: CPU: 0 PID: 5315 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 [ 69.799173][ T5315] Modules linked in: [ 69.800932][ T5315] CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 [ 69.804769][ T5315] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.808884][ T5315] RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 [ 69.811363][ T5315] Code: e0 1e 5f 8c e8 87 c5 95 fc 90 0f 0b 90 90 eb 99 e8 2b 1e d5 fc c6 05 6d 2c 39 0b 01 90 48 c7 c7 40 1f 5f 8c e8 67 c5 95 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 08 1e d5 fc c6 05 47 2c 39 0b 01 90 [ 69.818775][ T5315] RSP: 0018:ffffc9000d1478e8 EFLAGS: 00010246 [ 69.821327][ T5315] RAX: d8e70739baf23100 RBX: ffff888052d66864 RCX: ffff88801eaac880 [ 69.824241][ T5315] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 69.827171][ T5315] RBP: 0000000000000003 R08: ffffffff81601c02 R09: fffffbfff1cfa210 [ 69.830109][ T5315] R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88803ba13468 [ 69.833116][ T5315] R13: ffff888052d66864 R14: 1ffff11007742698 R15: ffff88803ba13400 [ 69.836128][ T5315] FS: 00007f61af9d06c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 69.839596][ T5315] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.842543][ T5315] CR2: 00007f61af98dfe0 CR3: 0000000042e34000 CR4: 0000000000352ef0 [ 69.845386][ T5315] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.847961][ T5315] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.850636][ T5315] Call Trace: [ 69.852045][ T5315] [ 69.853118][ T5315] ? __warn+0x165/0x4d0 [ 69.854661][ T5315] ? refcount_warn_saturate+0x15a/0x1d0 [ 69.856697][ T5315] ? report_bug+0x2b3/0x500 [ 69.859196][ T5315] ? refcount_warn_saturate+0x15a/0x1d0 [ 69.861528][ T5315] ? handle_bug+0x60/0x90 [ 69.863227][ T5315] ? exc_invalid_op+0x1a/0x50 [ 69.865078][ T5315] ? asm_exc_invalid_op+0x1a/0x20 [ 69.867044][ T5315] ? __warn_printk+0x292/0x360 [ 69.869223][ T5315] ? refcount_warn_saturate+0x15a/0x1d0 [ 69.871553][ T5315] ? refcount_warn_saturate+0x159/0x1d0 [ 69.873765][ T5315] j1939_session_put+0x1ed/0x440 [ 69.875730][ T5315] j1939_sk_sendmsg+0x121b/0x14c0 [ 69.877708][ T5315] ? __pfx_j1939_sk_sendmsg+0x10/0x10 [ 69.879851][ T5315] ? __import_iovec+0x590/0x870 [ 69.882010][ T5315] ? aa_sock_msg_perm+0x91/0x160 [ 69.883906][ T5315] ? __pfx_j1939_sk_sendmsg+0x10/0x10 [ 69.885896][ T5315] __sock_sendmsg+0x221/0x270 [ 69.887735][ T5315] ____sys_sendmsg+0x52a/0x7e0 [ 69.889560][ T5315] ? __pfx_____sys_sendmsg+0x10/0x10 [ 69.891820][ T5315] ? __fget_files+0x2a/0x410 [ 69.893723][ T5315] ? __fget_files+0x2a/0x410 [ 69.895550][ T5315] __sys_sendmsg+0x269/0x350 [ 69.897316][ T5315] ? __pfx___sys_sendmsg+0x10/0x10 [ 69.899344][ T5315] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 69.901840][ T5315] ? do_syscall_64+0x100/0x230 [ 69.903592][ T5315] ? do_syscall_64+0xb6/0x230 [ 69.905453][ T5315] do_syscall_64+0xf3/0x230 [ 69.907151][ T5315] ? clear_bhb_loop+0x35/0x90 [ 69.909051][ T5315] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.911386][ T5315] RIP: 0033:0x7f61aeb7ff19 [ 69.913180][ T5315] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 69.920542][ T5315] RSP: 002b:00007f61af9d0058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 69.923888][ T5315] RAX: ffffffffffffffda RBX: 00007f61aed45fa0 RCX: 00007f61aeb7ff19 [ 69.926847][ T5315] RDX: 0000000000000800 RSI: 0000000020000180 RDI: 0000000000000008 [ 69.929841][ T5315] RBP: 00007f61aebf3986 R08: 0000000000000000 R09: 0000000000000000 [ 69.932899][ T5315] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 69.935773][ T5315] R13: 0000000000000000 R14: 00007f61aed45fa0 R15: 00007fff02f523c8 [ 69.938643][ T5315] [ 69.939987][ T5315] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 69.942730][ T5315] CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 [ 69.946650][ T5315] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.950988][ T5315] Call Trace: [ 69.952291][ T5315] [ 69.953429][ T5315] dump_stack_lvl+0x241/0x360 [ 69.955226][ T5315] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.957417][ T5315] ? __pfx__printk+0x10/0x10 [ 69.959198][ T5315] ? _printk+0xd5/0x120 [ 69.960837][ T5315] ? __init_begin+0x41000/0x41000 [ 69.962780][ T5315] ? vscnprintf+0x5d/0x90 [ 69.964409][ T5315] panic+0x349/0x880 [ 69.965913][ T5315] ? __warn+0x174/0x4d0 [ 69.967496][ T5315] ? __pfx_panic+0x10/0x10 [ 69.973234][ T5315] __warn+0x344/0x4d0 [ 69.975072][ T5315] ? refcount_warn_saturate+0x15a/0x1d0 [ 69.977361][ T5315] report_bug+0x2b3/0x500 [ 69.978909][ T5315] ? refcount_warn_saturate+0x15a/0x1d0 [ 69.980976][ T5315] handle_bug+0x60/0x90 [ 69.982572][ T5315] exc_invalid_op+0x1a/0x50 [ 69.984148][ T5315] asm_exc_invalid_op+0x1a/0x20 [ 69.985974][ T5315] RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 [ 69.988349][ T5315] Code: e0 1e 5f 8c e8 87 c5 95 fc 90 0f 0b 90 90 eb 99 e8 2b 1e d5 fc c6 05 6d 2c 39 0b 01 90 48 c7 c7 40 1f 5f 8c e8 67 c5 95 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 08 1e d5 fc c6 05 47 2c 39 0b 01 90 [ 69.995349][ T5315] RSP: 0018:ffffc9000d1478e8 EFLAGS: 00010246 [ 69.997450][ T5315] RAX: d8e70739baf23100 RBX: ffff888052d66864 RCX: ffff88801eaac880 [ 70.000323][ T5315] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 70.003121][ T5315] RBP: 0000000000000003 R08: ffffffff81601c02 R09: fffffbfff1cfa210 [ 70.006072][ T5315] R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88803ba13468 [ 70.008939][ T5315] R13: ffff888052d66864 R14: 1ffff11007742698 R15: ffff88803ba13400 [ 70.011883][ T5315] ? __warn_printk+0x292/0x360 [ 70.013695][ T5315] ? refcount_warn_saturate+0x159/0x1d0 [ 70.015655][ T5315] j1939_session_put+0x1ed/0x440 [ 70.017459][ T5315] j1939_sk_sendmsg+0x121b/0x14c0 [ 70.019348][ T5315] ? __pfx_j1939_sk_sendmsg+0x10/0x10 [ 70.021388][ T5315] ? __import_iovec+0x590/0x870 [ 70.023295][ T5315] ? aa_sock_msg_perm+0x91/0x160 [ 70.025198][ T5315] ? __pfx_j1939_sk_sendmsg+0x10/0x10 [ 70.027169][ T5315] __sock_sendmsg+0x221/0x270 [ 70.028942][ T5315] ____sys_sendmsg+0x52a/0x7e0 [ 70.030838][ T5315] ? __pfx_____sys_sendmsg+0x10/0x10 [ 70.032783][ T5315] ? __fget_files+0x2a/0x410 [ 70.034538][ T5315] ? __fget_files+0x2a/0x410 [ 70.036262][ T5315] __sys_sendmsg+0x269/0x350 [ 70.037957][ T5315] ? __pfx___sys_sendmsg+0x10/0x10 [ 70.039851][ T5315] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 70.042564][ T5315] ? do_syscall_64+0x100/0x230 [ 70.044382][ T5315] ? do_syscall_64+0xb6/0x230 [ 70.046142][ T5315] do_syscall_64+0xf3/0x230 [ 70.047883][ T5315] ? clear_bhb_loop+0x35/0x90 [ 70.049647][ T5315] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.051899][ T5315] RIP: 0033:0x7f61aeb7ff19 [ 70.054479][ T5315] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 70.061634][ T5315] RSP: 002b:00007f61af9d0058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 70.064772][ T5315] RAX: ffffffffffffffda RBX: 00007f61aed45fa0 RCX: 00007f61aeb7ff19 [ 70.067704][ T5315] RDX: 0000000000000800 RSI: 0000000020000180 RDI: 0000000000000008 [ 70.070793][ T5315] RBP: 00007f61aebf3986 R08: 0000000000000000 R09: 0000000000000000 [ 70.073724][ T5315] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 70.076748][ T5315] R13: 0000000000000000 R14: 00007f61aed45fa0 R15: 00007fff02f523c8 [ 70.079773][ T5315] [ 70.081277][ T5315] Kernel Offset: disabled [ 70.082863][ T5315] Rebooting in 86400 seconds..