Oops: divide error: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 7906 Comm: syz.8.10002 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+0x1cc/0x340 drivers/comedi/drivers.c:556 Code: 00 00 00 03 43 2c 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e 53 01 00 00 31 d2 b3 80 00 00 00 89 53 2c e8 b6 be ce f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88804a0bf600 RCX: 1ffff11009417ed0 RDX: 0000000000000000 RSI: ffffffff88ed2948 RDI: ffff88804a0bf680 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007efd0ce9a6c0(0000) GS:ffff888124720000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002000 CR3: 000000004070a000 CR4: 00000000003526f0 DR0: 000000000000004b DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: comedi_buf_write_samples+0x406/0x640 drivers/comedi/comedi_buf.c:603 parport_interrupt+0xec/0x150 drivers/comedi/drivers/comedi_parport.c:218 __handle_irq_event_percpu+0x229/0x7d0 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:210 handle_edge_irq+0x28e/0xab0 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+0xe2/0x250 arch/x86/kernel/irq.c:292 common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:285 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:finish_task_switch.isra.0+0x22a/0xc10 kernel/sched/core.c:5265 Code: fb 09 00 00 44 8b 05 09 85 1f 0f 45 85 c0 0f 85 be 01 00 00 4c 89 e7 e8 a4 f6 ff ff e8 cf cb 39 00 fb 65 48 8b 1d be 12 46 12 <48> 8d bb 18 16 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc90003a67818 EFLAGS: 00000206 RAX: 000000000001e67b RBX: ffff888025ad0000 RCX: ffffffff81c3b81f RDX: 0000000000000000 RSI: ffffffff8de2ff26 RDI: ffffffff8c1573e0 RBP: ffffc90003a67860 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a94057 R11: 0000000000000001 R12: ffff8880b843a2c0 R13: ffff8880883ec880 R14: 0000000000000001 R15: ffff8880b843b130 context_switch kernel/sched/core.c:5400 [inline] __schedule+0x1172/0x5dd0 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6879 schedule_timeout+0x123/0x290 kernel/time/sleep_timeout.c:99 snd_rawmidi_write+0x496/0xc10 sound/core/rawmidi.c:1616 do_loop_readv_writev fs/read_write.c:850 [inline] do_loop_readv_writev fs/read_write.c:835 [inline] vfs_writev+0x5df/0xde0 fs/read_write.c:1059 do_writev+0x28c/0x340 fs/read_write.c:1103 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd0bf8e9a9 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:00007efd0ce9a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007efd0c1b5fa0 RCX: 00007efd0bf8e9a9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000003 RBP: 00007efd0c010d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efd0c1b5fa0 R15: 00007ffee3ad8e48 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:comedi_inc_scan_progress+0x1cc/0x340 drivers/comedi/drivers.c:556 Code: 00 00 00 03 43 2c 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e 53 01 00 00 31 d2 b3 80 00 00 00 89 53 2c e8 b6 be ce f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88804a0bf600 RCX: 1ffff11009417ed0 RDX: 0000000000000000 RSI: ffffffff88ed2948 RDI: ffff88804a0bf680 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007efd0ce9a6c0(0000) GS:ffff888124720000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002000 CR3: 000000004070a000 CR4: 00000000003526f0 DR0: 000000000000004b DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 03 43 2c add 0x2c(%rbx),%eax 5: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx c: fc ff df f: 48 89 f9 mov %rdi,%rcx 12: 48 c1 e9 03 shr $0x3,%rcx 16: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx 1a: 84 d2 test %dl,%dl 1c: 74 09 je 0x27 1e: 80 fa 03 cmp $0x3,%dl 21: 0f 8e 53 01 00 00 jle 0x17a 27: 31 d2 xor %edx,%edx * 29: f7 b3 80 00 00 00 divl 0x80(%rbx) <-- trapping instruction 2f: 89 53 2c mov %edx,0x2c(%rbx) 32: e8 b6 be ce f8 call 0xf8cebeed 37: 48 8d 7b 34 lea 0x34(%rbx),%rdi 3b: 48 rex.W 3c: b8 .byte 0xb8