Oops: divide error: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 22238 Comm: syz.4.4704 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:comedi_inc_scan_progress+0x1a4/0x430 drivers/comedi/drivers.c:556
Code: b6 0c 19 84 c9 0f 85 bd 01 00 00 03 45 2c 4c 8d a5 80 00 00 00 4c 89 e1 48 c1 e9 03 0f b6 0c 19 84 c9 0f 85 cc 01 00 00 31 d2 <41> f7 34 24 41 89 17 45 89 ec eb 0f e8 5b 1f ea f8 48 bb 00 00 00
RSP: 0018:ffffc90000007c80 EFLAGS: 00010046
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888026e9ba00 R08: dffffc0000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed100fc31601 R12: ffff888026e9ba80
R13: 0000000000000002 R14: 0000000000000000 R15: ffff888026e9ba2c
FS: 00007ff5b3fbe6c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffe8 CR3: 000000005c0d0000 CR4: 00000000003526f0
Call Trace:
comedi_buf_write_samples+0x373/0x5a0 drivers/comedi/comedi_buf.c:603
parport_interrupt+0xf3/0x150 drivers/comedi/drivers/comedi_parport.c:218
__handle_irq_event_percpu+0x289/0x980 kernel/irq/handle.c:158
handle_irq_event_percpu kernel/irq/handle.c:193 [inline]
handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:210
handle_edge_irq+0x267/0x9c0 kernel/irq/chip.c:797
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:266 [inline]
__common_interrupt+0x140/0x250 arch/x86/kernel/irq.c:292
common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:285
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
RIP: 0010:iov_iter_init lib/iov_iter.c:167 [inline]
RIP: 0010:__import_iovec+0x41a/0x7f0 lib/iov_iter.c:1489
Code: 0f 85 84 03 00 00 41 88 5e 02 49 8d 7e 03 49 8d 5e 10 ba 0d 00 00 00 31 f6 e8 72 29 68 fd 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 7c 27 68 fd 48 8b 44 24 08 49 89 46 10 49 8d 7e
RSP: 0018:ffffc9000458f970 EFLAGS: 00000246
RAX: 1ffff920008b1fa0 RBX: ffffc9000458fd00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000458fd00
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000003
R10: ffffc9000458fcf3 R11: fffff520008b1fa0 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc9000458fcf0 R15: dffffc0000000000
import_iovec+0x74/0xa0 lib/iov_iter.c:1523
copy_msghdr_from_user net/socket.c:2503 [inline]
recvmsg_copy_msghdr net/socket.c:2752 [inline]
___sys_recvmsg+0x43a/0x510 net/socket.c:2824
do_recvmmsg+0x307/0x770 net/socket.c:2923
__sys_recvmmsg net/socket.c:2997 [inline]
__do_sys_recvmmsg net/socket.c:3020 [inline]
__se_sys_recvmmsg net/socket.c:3013 [inline]
__x64_sys_recvmmsg+0x190/0x240 net/socket.c:3013
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:0x7ff5b318e9a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff5b3fbe038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007ff5b33b6080 RCX: 00007ff5b318e9a9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000006
RBP: 00007ff5b3210d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff5b33b6080 R15: 00007ffc2e4e5ce8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:comedi_inc_scan_progress+0x1a4/0x430 drivers/comedi/drivers.c:556
Code: b6 0c 19 84 c9 0f 85 bd 01 00 00 03 45 2c 4c 8d a5 80 00 00 00 4c 89 e1 48 c1 e9 03 0f b6 0c 19 84 c9 0f 85 cc 01 00 00 31 d2 <41> f7 34 24 41 89 17 45 89 ec eb 0f e8 5b 1f ea f8 48 bb 00 00 00
RSP: 0018:ffffc90000007c80 EFLAGS: 00010046
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888026e9ba00 R08: dffffc0000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed100fc31601 R12: ffff888026e9ba80
R13: 0000000000000002 R14: 0000000000000000 R15: ffff888026e9ba2c
FS: 00007ff5b3fbe6c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffe8 CR3: 000000005c0d0000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: b6 0c mov $0xc,%dh
2: 19 84 c9 0f 85 bd 01 sbb %eax,0x1bd850f(%rcx,%rcx,8)
9: 00 00 add %al,(%rax)
b: 03 45 2c add 0x2c(%rbp),%eax
e: 4c 8d a5 80 00 00 00 lea 0x80(%rbp),%r12
15: 4c 89 e1 mov %r12,%rcx
18: 48 c1 e9 03 shr $0x3,%rcx
1c: 0f b6 0c 19 movzbl (%rcx,%rbx,1),%ecx
20: 84 c9 test %cl,%cl
22: 0f 85 cc 01 00 00 jne 0x1f4
28: 31 d2 xor %edx,%edx
* 2a: 41 f7 34 24 divl (%r12) <-- trapping instruction
2e: 41 89 17 mov %edx,(%r15)
31: 45 89 ec mov %r13d,%r12d
34: eb 0f jmp 0x45
36: e8 5b 1f ea f8 call 0xf8ea1f96
3b: 48 rex.W
3c: bb .byte 0xbb
3d: 00 00 add %al,(%rax)