syzbot


general protection fault in pcl818_ai_cancel

Status: upstream: reported C repro on 2025/07/05 10:41
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+fce5d9d5bd067d6fbe9b@syzkaller.appspotmail.com
First crash: 11d, last: 9h23m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] general protection fault in pcl818_ai_cancel 1 (3) 2025/07/05 14:06
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 general protection fault in pcl818_ai_cancel origin:upstream 2 C 9 8d10h 9d07h 0/2 upstream: reported C repro on 2025/07/07 14:36
linux-6.1 general protection fault in pcl818_ai_cancel origin:upstream 2 C 16 8h47m 9d13h 0/3 upstream: reported C repro on 2025/07/07 09:05
linux-5.15 general protection fault in pcl818_ai_cancel origin:upstream 2 C 14 1d18h 9d19h 0/3 upstream: reported C repro on 2025/07/07 02:35
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/07/05 12:39 1h26m hdanton@sina.com patch linux-next OK log

Sample crash report:
comedi comedi3: pcl818: I/O port conflict (0xfffffffffffffffb,16)
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 1 UID: 0 PID: 5861 Comm: syz-executor156 Not tainted 6.16.0-rc5-next-20250710-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:pcl818_ai_cancel+0x69/0x3f0 drivers/comedi/drivers/pcl818.c:762
Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 b9 0c 34 f9 48 8b 03 48 89 04 24 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 98 0c 34 f9 4d 8b 24 24 48 83 c3
RSP: 0018:ffffc900043179f0 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff8880244fed80 RCX: ffff888033761e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88814c5a4800
RBP: 0000000000000001 R08: ffff88814c5a492f R09: 1ffff110298b4925
R10: dffffc0000000000 R11: ffffffff88f08970 R12: 0000000000000028
R13: dffffc0000000000 R14: ffff88814c5a4800 R15: dffffc0000000000
FS:  00005555783bc380(0000) GS:ffff888125898000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005560270e3000 CR3: 0000000077f2c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 pcl818_detach+0x66/0xd0 drivers/comedi/drivers/pcl818.c:1115
 comedi_device_detach+0x134/0x720 drivers/comedi/drivers.c:207
 comedi_device_attach+0x568/0x670 drivers/comedi/drivers.c:1000
 do_devconfig_ioctl drivers/comedi/comedi_fops.c:855 [inline]
 comedi_unlocked_ioctl+0x686/0xf40 drivers/comedi/comedi_fops.c:2136
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5f445a43e9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfd3eb4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffcfd3eb6c8 RCX: 00007f5f445a43e9
RDX: 0000200000000140 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00007f5f44617610 R08: 0000000000000000 R09: 00007ffcfd3eb6c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffcfd3eb6b8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pcl818_ai_cancel+0x69/0x3f0 drivers/comedi/drivers/pcl818.c:762
Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 b9 0c 34 f9 48 8b 03 48 89 04 24 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 98 0c 34 f9 4d 8b 24 24 48 83 c3
RSP: 0018:ffffc900043179f0 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff8880244fed80 RCX: ffff888033761e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88814c5a4800
RBP: 0000000000000001 R08: ffff88814c5a492f R09: 1ffff110298b4925
R10: dffffc0000000000 R11: ffffffff88f08970 R12: 0000000000000028
R13: dffffc0000000000 R14: ffff88814c5a4800 R15: dffffc0000000000
FS:  00005555783bc380(0000) GS:ffff888125798000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000005fdeb8 CR3: 0000000077f2c000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	8b 1b                	mov    (%rbx),%ebx
   2:	48 89 d8             	mov    %rbx,%rax
   5:	48 c1 e8 03          	shr    $0x3,%rax
   9:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   e:	74 08                	je     0x18
  10:	48 89 df             	mov    %rbx,%rdi
  13:	e8 b9 0c 34 f9       	call   0xf9340cd1
  18:	48 8b 03             	mov    (%rbx),%rax
  1b:	48 89 04 24          	mov    %rax,(%rsp)
  1f:	49 83 c4 28          	add    $0x28,%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 e7             	mov    %r12,%rdi
  34:	e8 98 0c 34 f9       	call   0xf9340cd1
  39:	4d 8b 24 24          	mov    (%r12),%r12
  3d:	48                   	rex.W
  3e:	83                   	.byte 0x83
  3f:	c3                   	ret

Crashes (128):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/10 21:54 linux-next b551c4e2a98a 19d4829f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/10 17:35 linux-next b551c4e2a98a 19d4829f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/10 14:38 linux-next b551c4e2a98a 19d4829f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/05 15:24 linux-next 26ffb3d6f02c 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/05 10:09 linux-next 26ffb3d6f02c 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/16 12:41 upstream 155a3c003e55 c118d736 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/16 09:50 upstream 155a3c003e55 c118d736 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/16 07:18 upstream 155a3c003e55 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/15 18:14 upstream 155a3c003e55 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/15 15:28 upstream 155a3c003e55 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/15 02:54 upstream 347e9f5043c8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/15 01:40 upstream 347e9f5043c8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/14 23:43 upstream 347e9f5043c8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/14 16:42 upstream 347e9f5043c8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/14 04:08 upstream 5d5d62298b8b 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/13 22:13 upstream 5d5d62298b8b 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/13 09:02 upstream 3f31a806a62e 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/13 06:54 upstream 3f31a806a62e 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/12 22:40 upstream 3f31a806a62e 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/12 14:13 upstream 379f604cc3dc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/12 01:37 upstream 40f92e79b0aa 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/12 00:14 upstream 40f92e79b0aa 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/11 16:42 upstream bc9ff192a6c9 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/11 14:44 upstream bc9ff192a6c9 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/11 13:17 upstream bc9ff192a6c9 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/09 21:39 upstream 733923397fd9 f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/09 01:12 upstream d006330be3f7 abade794 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/09 01:12 upstream d006330be3f7 abade794 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/07/15 14:27 upstream 155a3c003e55 03fcfc4b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/14 20:37 upstream 347e9f5043c8 d8fc7335 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/14 15:02 upstream 347e9f5043c8 d8fc7335 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/13 23:17 upstream 5d5d62298b8b 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/13 00:32 upstream 3f31a806a62e 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/12 11:38 upstream 379f604cc3dc 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/12 03:23 upstream 40f92e79b0aa 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/11 20:58 upstream 40f92e79b0aa 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/11 07:35 upstream bc9ff192a6c9 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/11 06:11 upstream bc9ff192a6c9 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/10 23:16 upstream bc9ff192a6c9 3cda49cf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/10 17:19 upstream 8c2e52ebbe88 d7384b6d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/10 05:38 upstream 8c2e52ebbe88 956bd956 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/10 04:19 upstream 8c2e52ebbe88 956bd956 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/09 18:07 upstream 733923397fd9 956bd956 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/09 08:12 upstream 733923397fd9 f4e5e155 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/07/16 01:55 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/15 22:27 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/15 10:24 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/15 06:43 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/14 18:59 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/14 18:12 linux-next 0be23810e32e 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/14 12:51 linux-next 0be23810e32e 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/07/13 20:18 linux-next a62b7a37e6fc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/13 11:09 linux-next a62b7a37e6fc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/11 10:44 linux-next a62b7a37e6fc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/11 10:44 linux-next a62b7a37e6fc 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/07/09 00:34 linux-next 58ba80c47402 abade794 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
* Struck through repros no longer work on HEAD.