syzbot


general protection fault in pcl818_ai_cancel

Status: upstream: reported C repro on 2025/07/05 10:41
Subsystems: comedi
[Documentation on labels]
Reported-by: syzbot+fce5d9d5bd067d6fbe9b@syzkaller.appspotmail.com
First crash: 55d, last: 1h15m
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly comedi report (Aug 2025) 0 (1) 2025/08/25 08:44
[syzbot] Monthly comedi report (Jul 2025) 0 (1) 2025/07/24 09:32
[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 230 3h03m 53d 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 225 8h24m 53d 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 209 3h31m 53d 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:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 UID: 0 PID: 5851 Comm: syz-executor468 Not tainted 6.16.0-rc6-next-20250718-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 39 70 30 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 18 70 30 f9 4d 8b 24 24 48 83 c3
RSP: 0018:ffffc90003f77a58 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff8880310e9e80 RCX: ffff88803349bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88814c847800
RBP: 0000000000000001 R08: ffff88814c84792f R09: 1ffff11029908f25
R10: dffffc0000000000 R11: ffffffff88f2bb50 R12: 0000000000000028
R13: dffffc0000000000 R14: ffff88814c847800 R15: dffffc0000000000
FS:  000055556d7f1380(0000) GS:ffff8881257ab000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7f03b70d0 CR3: 000000007765e000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 pcl818_detach+0x66/0xd0 drivers/comedi/drivers/pcl818.c:1115
 comedi_device_detach+0x137/0x720 drivers/comedi/drivers.c:207
 do_devconfig_ioctl drivers/comedi/comedi_fops.c:833 [inline]
 comedi_unlocked_ioctl+0xbd2/0xfc0 drivers/comedi/comedi_fops.c:2156
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xf9/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:0x7fb7f0340b39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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:00007fff7e9575a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb7f0340b39
RDX: 0000000000000000 RSI: 0000000040946400 RDI: 0000000000000003
RBP: 00000000000162c9 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff7e9575bc
R13: 431bde82d7b634db 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 39 70 30 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 18 70 30 f9 4d 8b 24 24 48 83 c3
RSP: 0018:ffffc90003f77a58 EFLAGS: 00010206
RAX: 0000000000000005 RBX: ffff8880310e9e80 RCX: ffff88803349bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88814c847800
RBP: 0000000000000001 R08: ffff88814c84792f R09: 1ffff11029908f25
R10: dffffc0000000000 R11: ffffffff88f2bb50 R12: 0000000000000028
R13: dffffc0000000000 R14: ffff88814c847800 R15: dffffc0000000000
FS:  000055556d7f1380(0000) GS:ffff8881258ab000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000280 CR3: 000000007765e000 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 39 70 30 f9       	call   0xf9307051
  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 18 70 30 f9       	call   0xf9307051
  39:	4d 8b 24 24          	mov    (%r12),%r12
  3d:	48                   	rex.W
  3e:	83                   	.byte 0x83
  3f:	c3                   	ret

Crashes (4611):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/23 00:36 linux-next d086c886ceb9 85deaf45 .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 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/08/29 17:55 upstream fb679c832b64 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/29 14:38 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/29 08:56 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/29 03:50 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/29 00:22 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 21:24 upstream 07d9df80082b 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/28 19:49 upstream 07d9df80082b 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/28 13:01 upstream 07d9df80082b 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 10:42 upstream 07d9df80082b 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 10:42 upstream 07d9df80082b 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 09:19 upstream 07d9df80082b e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/28 02:52 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 02:51 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/28 01:49 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/28 00:02 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/27 23:00 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/27 20:38 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/27 19:52 upstream 39f90c196721 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/27 16:26 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/27 11:41 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/27 05:42 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/27 01:13 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in pcl818_ai_cancel
2025/08/26 21:58 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/26 21:51 upstream fab1beda7597 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in pcl818_ai_cancel
2025/08/29 16:17 upstream 07d9df80082b 3e1beec6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/29 13:29 upstream 07d9df80082b 3e1beec6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/29 01:26 upstream 07d9df80082b d401b9d7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/28 23:23 upstream 07d9df80082b d401b9d7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/28 17:18 upstream 07d9df80082b bee60a83 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/28 04:00 upstream 39f90c196721 e12e5ba4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/27 12:42 upstream fab1beda7597 e12e5ba4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/27 07:55 upstream fab1beda7597 e12e5ba4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in pcl818_ai_cancel
2025/08/29 12:10 linux-next 7fa4d8dc380f 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/29 10:31 linux-next 7fa4d8dc380f 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/29 06:51 linux-next 7fa4d8dc380f 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/29 05:48 linux-next 7fa4d8dc380f 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/28 18:19 linux-next 7fa4d8dc380f 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/28 15:08 linux-next 7fa4d8dc380f 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/28 11:09 linux-next 7fa4d8dc380f 443c11c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/28 07:45 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 14:57 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 12:59 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 10:17 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 06:36 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 04:26 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 03:17 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/27 00:12 linux-next 7fa4d8dc380f e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in pcl818_ai_cancel
2025/08/26 04:01 linux-next 7fa4d8dc380f bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in pcl818_ai_cancel
* Struck through repros no longer work on HEAD.