syzbot


WARNING: refcount bug in neigh_destroy

Status: closed as invalid on 2022/01/08 04:39
Subsystems: net
[Documentation on labels]
First crash: 1370d, last: 1370d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: refcount bug in neigh_destroy (2) net 13 1 240d 240d 0/29 closed as invalid on 2025/01/22 17:34

Sample crash report:
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 1 PID: 18054 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Modules linked in:
CPU: 1 PID: 18054 Comm: kworker/1:1 Not tainted 5.16.0-rc1-next-20211118-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient neigh_periodic_work
RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Code: 1d d7 4f a5 09 31 ff 89 de e8 8d 9d a0 fd 84 db 75 e0 e8 a4 99 a0 fd 48 c7 c7 e0 71 04 8a c6 05 b7 4f a5 09 01 e8 2b a6 26 05 <0f> 0b eb c4 e8 88 99 a0 fd 0f b6 1d a6 4f a5 09 31 ff 89 de e8 58
RSP: 0018:ffffc90002bf7c10 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888018598000 RSI: ffffffff815f11d8 RDI: fffff5200057ef74
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815eaf7e R11: 0000000000000000 R12: ffff88802de1c5b0
R13: ffff88802de1c000 R14: 0000000000001770 R15: ffff888021a2a070
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003600 CR3: 0000000085605000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __refcount_dec include/linux/refcount.h:344 [inline]
 refcount_dec include/linux/refcount.h:359 [inline]
 dev_put include/linux/netdevice.h:3817 [inline]
 neigh_destroy+0x4e0/0x620 net/core/neighbour.c:883
 neigh_release include/net/neighbour.h:437 [inline]
 neigh_cleanup_and_release+0x1fd/0x340 net/core/neighbour.c:103
 neigh_periodic_work+0x60c/0x9c0 net/core/neighbour.c:971
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/22 08:22 linux-next 5191249f8803 4eb20a4e .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING: refcount bug in neigh_destroy
* Struck through repros no longer work on HEAD.