syzbot


general protection fault in bnep_session

Status: upstream: reported syz repro on 2024/11/23 23:04
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+6df45dd3d03e1a9aca96@syzkaller.appspotmail.com
First crash: 128d, last: 4h14m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] general protection fault in bnep_session 0 (2) 2024/12/22 22:32
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in bnep_session 1 35d 35d 0/3 upstream: reported on 2025/02/20 21:41

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 0 UID: 0 PID: 6160 Comm: kbnepd bnep0 Not tainted 6.13.0-rc3-syzkaller-00301-gbcde95ce32b6 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212
Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 7c ce 0c
RSP: 0018:ffffc900047e79c0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888033468860 RCX: ffffffff8239c3fd
RDX: 000000000000000b RSI: ffffffff8b1f72c5 RDI: 0000000000000058
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000b92 R12: 0000000000000000
R13: 0000000000000001 R14: ffff88802426bb80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffabd6b5108 CR3: 000000003551a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 device_del+0x1d9/0x9f0 drivers/base/core.c:3831
 unregister_netdevice_many_notify+0x105d/0x1e60 net/core/dev.c:11562
 unregister_netdevice_many net/core/dev.c:11590 [inline]
 unregister_netdevice_queue+0x307/0x3f0 net/core/dev.c:11462
 unregister_netdevice include/linux/netdevice.h:3192 [inline]
 unregister_netdev+0x1c/0x30 net/core/dev.c:11608
 bnep_session+0x21b6/0x2ca0 net/bluetooth/bnep/core.c:525
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212
Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 7c ce 0c
RSP: 0018:ffffc900047e79c0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888033468860 RCX: ffffffff8239c3fd
RDX: 000000000000000b RSI: ffffffff8b1f72c5 RDI: 0000000000000058
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000b92 R12: 0000000000000000
R13: 0000000000000001 R14: ffff88802426bb80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe5193ea718 CR3: 0000000024a3c000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 ea 03             	shr    $0x3,%edx
   3:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   7:	0f 85 5f 01 00 00    	jne    0x16c
   d:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  14:	fc ff df
  17:	4c 8b 23             	mov    (%rbx),%r12
  1a:	49 83 e4 fe          	and    $0xfffffffffffffffe,%r12
  1e:	49 8d 7c 24 58       	lea    0x58(%r12),%rdi
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 2e 01 00 00    	jne    0x162
  34:	4c 89 e7             	mov    %r12,%rdi
  37:	4d 8b 74 24 58       	mov    0x58(%r12),%r14
  3c:	e8                   	.byte 0xe8
  3d:	7c ce                	jl     0xd
  3f:	0c                   	.byte 0xc

Crashes (294):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/22 22:31 upstream bcde95ce32b6 b4fbdbd4 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bnep_session
2025/03/26 11:42 upstream 2df0c02dab82 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bnep_session
2025/03/20 15:52 upstream a7f2e10ecd8f 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bnep_session
2025/03/20 13:19 upstream a7f2e10ecd8f 3b7445cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bnep_session
2025/03/13 15:47 upstream b7f94fcf5546 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bnep_session
2025/03/13 12:13 upstream b7f94fcf5546 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bnep_session
2025/03/12 10:04 upstream 0fed89a961ea ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in bnep_session
2025/03/09 07:07 upstream b7c90e3e717a 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bnep_session
2025/03/03 03:50 upstream 1973160c90d7 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in bnep_session
2025/03/18 23:37 upstream 76b6905c11fd 22a6c2b1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bnep_session
2025/03/18 01:57 upstream 4701f33a1070 489e2dc8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bnep_session
2025/03/10 21:33 upstream 4d872d51bc9d 16256247 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bnep_session
2025/03/09 09:23 upstream b7c90e3e717a 163f510d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bnep_session
2025/03/21 09:28 upstream b3ee1e460951 62330552 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in bnep_session
2025/03/19 11:02 upstream 81e4f8d68c66 8d0a2921 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in bnep_session
2025/03/26 01:10 net 0032c99e83b9 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/24 10:33 net ed3ba9b6e280 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/23 20:28 net ed3ba9b6e280 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/22 03:06 net f653b608f783 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/19 06:48 net 9a81fc3480bf 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/18 18:41 net 5f079290e591 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/18 06:03 net 4003c9e78778 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/17 16:37 net 4003c9e78778 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/16 21:12 net 4003c9e78778 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/16 16:08 net 4003c9e78778 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/15 15:09 net 4003c9e78778 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/14 01:31 net 2409fa66e29a e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/13 18:10 net d2b9d97e89c7 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/13 02:35 net d2b9d97e89c7 1a5d9317 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/11 15:21 net 77b2ab31fc65 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/11 08:58 net d0a4a1b36d7a 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/11 06:51 net d0a4a1b36d7a 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/10 10:44 net 505ead7ab77f 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2024/11/23 08:50 net fcc79e1714e8 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in bnep_session
2025/03/28 02:40 net-next 1a9239bb4253 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/27 14:20 net-next 023b1e9d265c 20510e88 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/26 19:36 net-next a19f40d919ca 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/26 04:11 net-next cc04ed502457 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/25 03:48 net-next 6bb0dcb3d321 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/24 06:23 net-next bfc17c165835 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/23 06:13 net-next bfc17c165835 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/22 11:06 net-next bfc17c165835 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/21 19:50 net-next d9917c7d533c 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/21 12:31 net-next 6f13bec53a48 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/20 03:46 net-next 3d97da0ee625 3b7445cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/19 17:02 net-next 23c9ff659140 8d0a2921 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/18 04:37 net-next 702e3fa16cd4 ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/16 14:32 net-next bfc6c67ec2d6 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/16 09:48 net-next bfc6c67ec2d6 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/14 08:46 net-next 89d75c4c67ac e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/13 20:43 net-next 0ea09cbf8350 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/12 12:14 net-next 0ea09cbf8350 ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/10 11:52 net-next 8ef890df4031 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/03/09 18:50 net-next 8ef890df4031 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2024/11/19 22:56 net-next dd7207838d38 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce general protection fault in bnep_session
2025/02/04 08:19 linux-next 40b8e93e17bf 8f267cef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in bnep_session
* Struck through repros no longer work on HEAD.