syzbot
general protection fault in bnep_session (2)
Status:
upstream: reported on 2026/06/27 05:58
Reported-by: syzbot+9f60136e31443ff1a18c@syzkaller.appspotmail.com
First crash: 48d, last: 14d
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 1 PID: 14644 Comm: kbnepd bnep0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del+0x45/0x110 lib/klist.c:230
Code: 66 f7 49 89 dc 49 c1 ec 03 43 80 3c 3c 00 74 08 48 89 df e8 0d 85 b7 f7 4c 8b 33 49 83 e6 fe 49 8d 7e 58 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 ef 84 b7 f7 49 8b 46 58 48 89 04 24 4c 89
RSP: 0018:ffffc900042a7920 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff888074ffd060 RCX: ffff888026691e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000058
RBP: ffffc900042a7a50 R08: ffff888065618cb3 R09: 1ffff1100cac3196
R10: dffffc0000000000 R11: ffffed100cac3197 R12: 1ffff1100e9ffa0c
R13: ffff888046d64688 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f79ff7556c8 CR3: 0000000062b28000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
device_del+0x2e2/0xa80 drivers/base/core.c:3879
unregister_netdevice_many_notify+0x14b6/0x1990 net/core/dev.c:11051
unregister_netdevice_many net/core/dev.c:11077 [inline]
unregister_netdevice_queue net/core/dev.c:10960 [inline]
unregister_netdevice include/linux/netdevice.h:3075 [inline]
unregister_netdev+0x14c/0x1c0 net/core/dev.c:11095
bnep_session+0x29c8/0x2bb0 net/bluetooth/bnep/core.c:547
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del+0x45/0x110 lib/klist.c:230
Code: 66 f7 49 89 dc 49 c1 ec 03 43 80 3c 3c 00 74 08 48 89 df e8 0d 85 b7 f7 4c 8b 33 49 83 e6 fe 49 8d 7e 58 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 ef 84 b7 f7 49 8b 46 58 48 89 04 24 4c 89
RSP: 0018:ffffc900042a7920 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff888074ffd060 RCX: ffff888026691e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000058
RBP: ffffc900042a7a50 R08: ffff888065618cb3 R09: 1ffff1100cac3196
R10: dffffc0000000000 R11: ffffed100cac3197 R12: 1ffff1100e9ffa0c
R13: ffff888046d64688 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f79ff7556c8 CR3: 000000006363e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 66 f7 49 89 dc 49 testw $0x49dc,-0x77(%rcx)
6: c1 ec 03 shr $0x3,%esp
9: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 0d 85 b7 f7 call 0xf7b78525
18: 4c 8b 33 mov (%rbx),%r14
1b: 49 83 e6 fe and $0xfffffffffffffffe,%r14
1f: 49 8d 7e 58 lea 0x58(%r14),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 05 je 0x36
31: e8 ef 84 b7 f7 call 0xf7b78525
36: 49 8b 46 58 mov 0x58(%r14),%rax
3a: 48 89 04 24 mov %rax,(%rsp)
3e: 4c rex.WR
3f: 89 .byte 0x89
* Struck through repros no longer work on HEAD.