general protection fault in rfcomm_dev_shutdown

Status: upstream: reported on 2026/10/07 13:21
Reported-by: syzbot+f5b59182b9c53b1e217d@syzkaller.appspotmail.com
First crash: 13d, last: 13d
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 general protection fault in rfcomm_dev_shutdown 2 1 21d 21d 0/2 upstream: reported on 2026/09/29 10:20
upstream general protection fault in rfcomm_dev_shutdown bluetooth prio:low 2 18 14d 18d 23/29 upstream: reported on 2026/10/02 05:32

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 0 PID: 5500 Comm: syz.5.270 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:rfcomm_dev_shutdown+0x44/0xb0 net/bluetooth/rfcomm/tty.c:135
Code: 8d b3 d8 03 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 ca a4 cb f8 4d 8b 36 4d 8d 7e 40 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 ad a4 cb f8 49 83 3f 00 74 16 e8
RSP: 0018:ffffc900030bfce8 EFLAGS: 00010202
RAX: 0000000000000008 RBX: ffff888073816000 RCX: 0000000000080000
RDX: ffffc9001040f000 RSI: 0000000000000d89 RDI: 0000000000000d8a
RBP: 0000000000000400 R08: ffff888073816237 R09: 1ffff1100e702c46
R10: dffffc0000000000 R11: ffffed100e702c47 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000040
FS:  00007f3da93fe6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3da93fdff8 CR3: 0000000054bd0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tty_port_shutdown+0x1b3/0x210 drivers/tty/tty_port.c:331
 tty_port_close+0x4a/0x140 drivers/tty/tty_port.c:641
 tty_release+0x3c3/0x1630 drivers/tty/tty_io.c:1773
 __fput+0x212/0x8c0 fs/file_table.c:311
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:184
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
 __syscall_exit_to_user_mode_work kernel/entry/common.c:299 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:310
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f3dab1e8199
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3da93fe028 EFLAGS: 00000246
 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f3dab470180 RCX: 00007f3dab1e8199
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004
RBP: 00007f3dab27f8e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3dab470218 R14: 00007f3dab470180 R15: 00007fffedbd7438
 </TASK>
Modules linked in:
---[ end trace a0e91bd7dd7955c4 ]---
RIP: 0010:rfcomm_dev_shutdown+0x44/0xb0 net/bluetooth/rfcomm/tty.c:135
Code: 8d b3 d8 03 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 ca a4 cb f8 4d 8b 36 4d 8d 7e 40 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 ad a4 cb f8 49 83 3f 00 74 16 e8
RSP: 0018:ffffc900030bfce8 EFLAGS: 00010202

RAX: 0000000000000008 RBX: ffff888073816000 RCX: 0000000000080000
RDX: ffffc9001040f000 RSI: 0000000000000d89 RDI: 0000000000000d8a
RBP: 0000000000000400 R08: ffff888073816237 R09: 1ffff1100e702c46
R10: dffffc0000000000 R11: ffffed100e702c47 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000040
FS:  00007f3da93fe6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564b7a778950 CR3: 0000000054bd0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	8d b3 d8 03 00 00    	lea    0x3d8(%rbx),%esi
   6:	4c 89 f0             	mov    %r14,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  12:	74 08                	je     0x1c
  14:	4c 89 f7             	mov    %r14,%rdi
  17:	e8 ca a4 cb f8       	call   0xf8cba4e6
  1c:	4d 8b 36             	mov    (%r14),%r14
  1f:	4d 8d 7e 40          	lea    0x40(%r14),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 ad a4 cb f8       	call   0xf8cba4e6
  39:	49 83 3f 00          	cmpq   $0x0,(%r15)
  3d:	74 16                	je     0x55
  3f:	e8                   	.byte 0xe8

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/07 13:20 linux-5.15.y a051a4bf909f 6520ecdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in rfcomm_dev_shutdown
* Struck through repros no longer work on HEAD.