syzbot


WARNING in bnep_session

Status: upstream: reported syz repro on 2024/04/23 17:41
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+21d6e6c0b5d4ec36f406@syzkaller.appspotmail.com
First crash: 241d, last: 9d21h
Bug presence (3)
Date Name Commit Repro Result
2024/09/06 linux-5.15.y (ToT) 14e468424d3e C [report] WARNING in bnep_session
2024/04/23 upstream (ToT) 9d1ddab261f3 C [report] KASAN: use-after-free Read in netdev_unregister_kobject
2024/09/06 upstream (ToT) b831f83e40a2 C Didn't crash
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/10/26 18:58 1h51m bisect fix linux-5.15.y OK (0) job log log
2024/09/20 22:40 1h41m fix candidate upstream OK (0) job log log
2024/06/14 01:15 57m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
sysfs group 'power' not found for kobject 'bnep0'
WARNING: CPU: 1 PID: 4630 at fs/sysfs/group.c:281 sysfs_remove_group+0x179/0x2a0 fs/sysfs/group.c:279
Modules linked in:
CPU: 1 PID: 4630 Comm: kbnepd bnep0 Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:sysfs_remove_group+0x179/0x2a0 fs/sysfs/group.c:279
Code: 8b 36 4c 89 e0 48 c1 e8 03 80 3c 28 00 74 08 4c 89 e7 e8 9a b7 cc ff 49 8b 14 24 48 c7 c7 40 ba 99 8a 4c 89 f6 e8 f7 9a 4e ff <0f> 0b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b1 f2 82 ff
RSP: 0018:ffffc900040078e0 EFLAGS: 00010246
RAX: 55496f4760b07500 RBX: ffff88807baca638 RCX: ffff888023f49dc0
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8166862c R09: ffffed10173667a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807baca608
R13: 1ffffffff15f53f4 R14: ffffffff8afa9f80 R15: ffff8880189f61d0
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9f491ab3b0 CR3: 000000001a750000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 device_del+0x2f1/0xbd0 drivers/base/core.c:3574
 unregister_netdevice_many+0x13a6/0x18f0 net/core/dev.c:11120
 unregister_netdevice_queue net/core/dev.c:11026 [inline]
 unregister_netdevice include/linux/netdevice.h:3012 [inline]
 unregister_netdev+0x19b/0x210 net/core/dev.c:11152
 bnep_session+0x2ac0/0x2ca0 net/bluetooth/bnep/core.c:524
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/23 17:41 linux-5.15.y c52b9710c83d 21339d7b .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/12/11 14:58 linux-5.15.y 0a51d2d4527b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/12/06 21:16 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/11/15 09:32 linux-5.15.y d98fd109f827 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/11/14 18:11 linux-5.15.y d98fd109f827 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/11/14 18:08 linux-5.15.y d98fd109f827 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/11/12 08:40 linux-5.15.y 3c17fc483905 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/11/11 15:31 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
2024/05/02 09:23 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in bnep_session
* Struck through repros no longer work on HEAD.