syzbot


WARNING: refcount bug in ax25_device_event (2)

Status: closed as invalid on 2025/04/14 03:52
Subsystems: hams
[Documentation on labels]
First crash: 186d, last: 161d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: refcount bug in ax25_device_event hams 13 1 227d 227d 0/29 closed as invalid on 2025/02/03 16:44

Sample crash report:
ax25_connect(): syz.0.0 uses autobind, please contact jreuter@yaina.de
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 0 PID: 5319 at lib/refcount.c:31 refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31
Modules linked in:
CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31
Code: b2 00 00 00 e8 37 2d cc fc 5b 5d c3 cc cc cc cc e8 2b 2d cc fc c6 05 45 64 31 0b 01 90 48 c7 c7 40 b6 80 8c e8 07 e9 8b fc 90 <0f> 0b 90 90 eb d9 e8 0b 2d cc fc c6 05 22 64 31 0b 01 90 48 c7 c7
RSP: 0018:ffffc9000d27f0e8 EFLAGS: 00010246
RAX: 8b3379c30b2fde00 RBX: ffff88801278664c RCX: 0000000000100000
RDX: ffffc9000e3e2000 RSI: 0000000000004f97 RDI: 0000000000004f98
RBP: 0000000000000004 R08: ffffffff81819e52 R09: 1ffff11003f8519a
R10: dffffc0000000000 R11: ffffed1003f8519b R12: ffff888012786608
R13: 0000000000000000 R14: ffff88801278664c R15: dffffc0000000000
FS:  00007ff1bd7ce6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf6476d18 CR3: 000000004401c000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __refcount_dec include/linux/refcount.h:336 [inline]
 refcount_dec include/linux/refcount.h:351 [inline]
 ref_tracker_free+0x6af/0x7e0 lib/ref_tracker.c:236
 netdev_tracker_free include/linux/netdevice.h:4302 [inline]
 netdev_put include/linux/netdevice.h:4319 [inline]
 ax25_kill_by_device net/ax25/af_ax25.c:105 [inline]
 ax25_device_event+0x334/0x600 net/ax25/af_ax25.c:146
 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85
 call_netdevice_notifiers_extack net/core/dev.c:2244 [inline]
 call_netdevice_notifiers net/core/dev.c:2258 [inline]
 dev_close_many+0x33c/0x4c0 net/core/dev.c:1748
 dev_close+0x1c0/0x2c0 net/core/dev.c:1770
 bpq_device_event+0x372/0x8d0 drivers/net/hamradio/bpqether.c:547
 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85
 call_netdevice_notifiers_extack net/core/dev.c:2244 [inline]
 call_netdevice_notifiers net/core/dev.c:2258 [inline]
 dev_close_many+0x33c/0x4c0 net/core/dev.c:1748
 dev_close+0x1c0/0x2c0 net/core/dev.c:1770
 bond_setup_by_slave+0x64/0x420 drivers/net/bonding/bond_main.c:1631
 bond_enslave+0x7b9/0x3910 drivers/net/bonding/bond_main.c:2043
 bond_do_ioctl+0x7c3/0xc00 drivers/net/bonding/bond_main.c:4685
 dev_ifsioc+0xb6d/0xe70
 dev_ioctl+0x719/0x1340 net/core/dev_ioctl.c:826
 sock_do_ioctl+0x240/0x460 net/socket.c:1213
 sock_ioctl+0x626/0x8e0 net/socket.c:1318
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff1bc98d169
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
RSP: 002b:00007ff1bd7ce038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff1bcba5fa0 RCX: 00007ff1bc98d169
RDX: 0000200000000180 RSI: 0000000000008990 RDI: 0000000000000009
RBP: 00007ff1bca0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff1bcba5fa0 R15: 00007ffed5cd1248
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/23 20:57 upstream 586de92313fc 4e8d3850 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: refcount bug in ax25_device_event
2025/03/17 23:48 upstream 4701f33a1070 489e2dc8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: refcount bug in ax25_device_event
2025/03/02 12:15 upstream ece144f151ac c3901742 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: refcount bug in ax25_device_event
2025/02/26 21:22 upstream ac9c34d1e45a 6a8fcbc4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: refcount bug in ax25_device_event
2025/03/13 20:37 net-next 0ea09cbf8350 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: refcount bug in ax25_device_event
2025/03/07 10:37 net-next 2525e16a2bae 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: refcount bug in ax25_device_event
* Struck through repros no longer work on HEAD.