syzbot
general protection fault in keyspan_break_ctl
Status:
upstream: reported C repro on 2026/10/11 02:07
Reported-by: syzbot+8aa964af275578d2e559@syzkaller.appspotmail.com
First crash: 1d22h, last: 1d06h
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000013: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000098-0x000000000000009f]
CPU: 0 PID: 5934 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:keyspan_break_ctl+0x83/0xc0 drivers/usb/serial/keyspan.c:-1
Code: 53 35 38 fb 41 be 9c 00 00 00 4d 03 37 bf ff ff ff ff 89 ee e8 be 57 df fa 45 31 ff 83 fd ff 41 0f 94 c7 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 75 18 45 89 3e 48 89 df 31 f6 e8 47 b3 00 00
RSP: 0018:ffffc9000492fe38 EFLAGS: 00010203
RAX: 0000000000000013 RBX: ffff88802e612000 RCX: 0000000000000000
RDX: ffff8880278ada00 RSI: 0000000000000000 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: ffffffff91ff15a7 R09: 1ffffffff23fe2b4
R10: dffffc0000000000 R11: fffffbfff23fe2b5 R12: dffffc0000000000
R13: dffffc0000000000 R14: 000000000000009c R15: 0000000000000000
FS: 00005555711b5500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd3eb87340 CR3: 0000000076cb4000 CR4: 00000000003506f0
Call Trace:
<TASK>
send_break+0x212/0x2f0 drivers/tty/tty_io.c:2487
tty_ioctl+0xcfc/0xdc0 drivers/tty/tty_io.c:-1
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd566f9e1d9
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:00007ffed515abb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fd567225fa0 RCX: 00007fd566f9e1d9
RDX: 0000000000000007 RSI: 0000000000005425 RDI: 0000000000000004
RBP: 00007fd567035888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd567225fac R14: 00007fd567225fa0 R15: 00007fd567225fa0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:keyspan_break_ctl+0x83/0xc0 drivers/usb/serial/keyspan.c:-1
Code: 53 35 38 fb 41 be 9c 00 00 00 4d 03 37 bf ff ff ff ff 89 ee e8 be 57 df fa 45 31 ff 83 fd ff 41 0f 94 c7 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 75 18 45 89 3e 48 89 df 31 f6 e8 47 b3 00 00
RSP: 0018:ffffc9000492fe38 EFLAGS: 00010203
RAX: 0000000000000013 RBX: ffff88802e612000 RCX: 0000000000000000
RDX: ffff8880278ada00 RSI: 0000000000000000 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: ffffffff91ff15a7 R09: 1ffffffff23fe2b4
R10: dffffc0000000000 R11: fffffbfff23fe2b5 R12: dffffc0000000000
R13: dffffc0000000000 R14: 000000000000009c R15: 0000000000000000
FS: 00005555711b5500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd3eb87340 CR3: 0000000076cb4000 CR4: 00000000003506f0
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 38 fb cmp %bh,%bl
2: 41 be 9c 00 00 00 mov $0x9c,%r14d
8: 4d 03 37 add (%r15),%r14
b: bf ff ff ff ff mov $0xffffffff,%edi
10: 89 ee mov %ebp,%esi
12: e8 be 57 df fa call 0xfadf57d5
17: 45 31 ff xor %r15d,%r15d
1a: 83 fd ff cmp $0xffffffff,%ebp
1d: 41 0f 94 c7 sete %r15b
21: 4c 89 f0 mov %r14,%rax
24: 48 c1 e8 03 shr $0x3,%rax
* 28: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction
2d: 84 c0 test %al,%al
2f: 75 18 jne 0x49
31: 45 89 3e mov %r15d,(%r14)
34: 48 89 df mov %rbx,%rdi
37: 31 f6 xor %esi,%esi
39: e8 47 b3 00 00 call 0xb385
* Struck through repros no longer work on HEAD.