syzbot


WARNING in dev_index_release (2)

Status: closed as invalid on 2025/01/15 12:30
Subsystems: wpan
[Documentation on labels]
First crash: 44d, last: 41d
Cause bisection: introduced by (bisect log) :
commit bf38f2462a670678d36f175eb3dc923175c129f2
Author: Tamir Duberstein <tamird@gmail.com>
Date: Tue Nov 12 19:25:37 2024 +0000

  xarray: extract helper from __xa_{insert,cmpxchg}

Crash: WARNING in dev_index_release (log)
Repro: C syz .config
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in dev_index_release net C 3 44d 44d 0/28 closed as invalid on 2024/12/07 17:24
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/12/24 17:40 24m retest repro linux-next OK log
2024/12/24 17:40 22m retest repro linux-next OK log
2024/12/24 17:40 2h38m retest repro linux-next OK log

Sample crash report:
RBP: 00007f76748190a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f7673b45fa0 R15: 00007ffd1dbdb0f8
 </TASK>
kobject: kobject_add_internal failed for wpan2 (error: -12 parent: net)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6850 at net/core/dev.c:10002 dev_index_release+0x35/0x40 net/core/dev.c:10002
Modules linked in:
CPU: 0 UID: 0 PID: 6850 Comm: syz.2.161 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:dev_index_release+0x35/0x40 net/core/dev.c:10002
Code: f8 48 81 c3 18 03 00 00 48 63 f5 48 89 df e8 c2 71 30 02 48 85 c0 75 0c e8 58 8d 05 f8 5b 5d c3 cc cc cc cc e8 4c 8d 05 f8 90 <0f> 0b 90 eb ee 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000449f028 EFLAGS: 00010293
RAX: ffffffff8999ced4 RBX: ffffffff9a791dd8 RCX: ffff888031400000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: 000000000000006f R08: ffffffff9a791ddb R09: 1ffffffff34f23bb
R10: dffffc0000000000 R11: fffffbfff34f23bc R12: ffffffff9a791ac0
R13: 00000000fffffff4 R14: 1ffff92000893e1c R15: dffffc0000000000
FS:  00007f76748196c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000021000000 CR3: 000000007801a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 register_netdevice+0x1389/0x1b00 net/core/dev.c:10654
 ieee802154_if_add+0xbda/0x1160 net/mac802154/iface.c:667
 ieee802154_add_iface_deprecated+0x44/0x70 net/mac802154/cfg.c:26
 rdev_add_virtual_intf_deprecated net/ieee802154/rdev-ops.h:16 [inline]
 ieee802154_add_iface+0x431/0x7d0 net/ieee802154/nl-phy.c:218
 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2542
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1347
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1891
 sock_sendmsg_nosec net/socket.c:711 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:726
 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583
 ___sys_sendmsg net/socket.c:2637 [inline]
 __sys_sendmsg+0x269/0x350 net/socket.c:2669
 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:0x7f767397ff19
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:00007f7674819058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f7673b45fa0 RCX: 00007f767397ff19
RDX: 0000000020000010 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007f76748190a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f7673b45fa0 R15: 00007ffd1dbdb0f8
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/10 17:10 linux-next af2ea8ab7a54 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 05:33 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 05:25 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 02:30 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 01:56 linux-next af2ea8ab7a54 9ac0fdc6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 01:15 linux-next af2ea8ab7a54 9ac0fdc6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
2024/12/08 00:32 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in dev_index_release
* Struck through repros no longer work on HEAD.