general protection fault in rfcomm_dev_shutdown

Status: upstream: reported on 2026/10/02 05:32
Subsystems: bluetooth
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+4a807caf7680652d53b6@syzkaller.appspotmail.com
First crash: 4d17h, last: 7h43m
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
38b2ca48 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ general protection fault in rfcomm_dev_shutdown 2026/09/30 03:43 2026/09/30 03:43 2026/09/30 04:37 69537153
▶ ▼ Discussions (2)
Title Replies (including bot) Last reply
[PATCH] Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown 2 (2) 2026/10/02 16:40
[syzbot] [bluetooth?] general protection fault in rfcomm_dev_shutdown 0 (1) 2026/10/02 05:32
▶ ▼ Similar bugs (1)
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 3d12h 3d12h 0/2 upstream: reported on 2026/09/29 10:20

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 1 UID: 0 PID: 9467 Comm: syz.4.1031 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:rfcomm_dev_shutdown+0x48/0xb0 net/bluetooth/rfcomm/tty.c:131
Code: 8d b3 e0 03 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 26 32 48 f7 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 09 32 48 f7 49 83 3f 00 74 16 e8
RSP: 0018:ffffc90006937bf0 EFLAGS: 00010212
RAX: 0000000000000008 RBX: ffff8880538c2000 RCX: 0000000000080000
RDX: ffffc9000f182000 RSI: 0000000000000325 RDI: 0000000000000326
RBP: 0000000000000400 R08: ffff8880538c2237 R09: 1ffff1100a718446
R10: dffffc0000000000 R11: ffffffff8aefbc10 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000040
FS:  00007f1514ff66c0(0000) GS:ffff888124dc8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2cbda1 CR3: 0000000038298000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 tty_port_shutdown+0x1bf/0x220 drivers/tty/tty_port.c:372
 tty_port_close+0x4e/0x150 drivers/tty/tty_port.c:705
 tty_release+0x359/0x1670 drivers/tty/tty_io.c:1718
 __fput+0x418/0xa50 fs/file_table.c:512
 task_work_run+0x1d9/0x270 kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
 exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
 do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1516d9e159
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:00007f1514ff6028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f1517026090 RCX: 00007f1516d9e159
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000
RBP: 00007f1516e3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1517026128 R14: 00007f1517026090 R15: 00007fff99ef4628
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rfcomm_dev_shutdown+0x48/0xb0 net/bluetooth/rfcomm/tty.c:131
Code: 8d b3 e0 03 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 26 32 48 f7 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 09 32 48 f7 49 83 3f 00 74 16 e8
RSP: 0018:ffffc90006937bf0 EFLAGS: 00010212
RAX: 0000000000000008 RBX: ffff8880538c2000 RCX: 0000000000080000
RDX: ffffc9000f182000 RSI: 0000000000000325 RDI: 0000000000000326
RBP: 0000000000000400 R08: ffff8880538c2237 R09: 1ffff1100a718446
R10: dffffc0000000000 R11: ffffffff8aefbc10 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000040
FS:  00007f1514ff66c0(0000) GS:ffff888124dc8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f508245e000 CR3: 0000000038298000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
   0:	8d b3 e0 03 00 00    	lea    0x3e0(%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 26 32 48 f7       	call   0xf7483242
  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 09 32 48 f7       	call   0xf7483242
  39:	49 83 3f 00          	cmpq   $0x0,(%r15)
  3d:	74 16                	je     0x55
  3f:	e8                   	.byte 0xe8

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/01 05:01 upstream 551c722f4080 38f7f0d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in rfcomm_dev_shutdown
2026/09/29 17:20 upstream 6f8319e3e9a4 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in rfcomm_dev_shutdown
2026/09/29 06:44 upstream 72d3fcf802c4 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in rfcomm_dev_shutdown
2026/09/29 03:35 upstream 72d3fcf802c4 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in rfcomm_dev_shutdown
2026/09/28 23:03 upstream 72d3fcf802c4 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in rfcomm_dev_shutdown
2026/09/28 17:53 upstream 72d3fcf802c4 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in rfcomm_dev_shutdown
2026/10/02 15:36 upstream ce1e0223d8ad 1065c8fa .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in rfcomm_dev_shutdown
2026/09/28 05:25 upstream d266640c6c76 a3c7249d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in rfcomm_dev_shutdown
2026/09/28 05:25 upstream d266640c6c76 a3c7249d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in rfcomm_dev_shutdown
* Struck through repros no longer work on HEAD.