syzbot


WARNING in bnep_session

Status: upstream: reported syz repro on 2024/04/23 17:41
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+21d6e6c0b5d4ec36f406@syzkaller.appspotmail.com
First crash: 12d, last: 4d03h
Bug presence (1)
Date Name Commit Repro Result
2024/04/23 upstream (ToT) 9d1ddab261f3 C [report] KASAN: use-after-free Read in netdev_unregister_kobject

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 (2):
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/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.