Oops: divide error: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6084 Comm: kworker/u8:7 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: pm pm_runtime_work RIP: 0010:comedi_inc_scan_progress+0x1a4/0x430 drivers/comedi/drivers.c:563 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 cb 2e fa f8 48 bb 00 00 00 RSP: 0018:ffffc90000007c78 EFLAGS: 00010046 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888032525200 R08: 00000000000000ff R09: 00000000000000ff R10: dffffc0000000000 R11: ffffed10076b5001 R12: ffff888032525280 R13: 0000000000000002 R14: 0000000000000000 R15: ffff88803252522c FS: 0000000000000000(0000) GS:ffff888125a9f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fbc156000 CR3: 0000000062d66000 CR4: 00000000003526f0 DR0: 0800000000000004 DR1: 0000000000000418 DR2: 0000000000000000 DR3: 000000000000000b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: comedi_buf_write_samples+0x373/0x5a0 drivers/comedi/comedi_buf.c:603 das16m1_handler+0x213/0x4b0 drivers/comedi/drivers/das16m1.c:413 das16m1_interrupt+0xaf/0x180 drivers/comedi/drivers/das16m1.c:470 __handle_irq_event_percpu+0x295/0xab0 kernel/irq/handle.c:203 handle_irq_event_percpu kernel/irq/handle.c:240 [inline] handle_irq_event+0x8b/0x1e0 kernel/irq/handle.c:257 handle_edge_irq+0x23b/0xa10 kernel/irq/chip.c:855 generic_handle_irq_desc include/linux/irqdesc.h:172 [inline] handle_irq arch/x86/kernel/irq.c:254 [inline] call_irq_handler arch/x86/kernel/irq.c:-1 [inline] __common_interrupt+0x141/0x1f0 arch/x86/kernel/irq.c:325 common_interrupt+0xb6/0xe0 arch/x86/kernel/irq.c:318 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 0a ef 3d f6 48 89 df e8 62 86 3e f6 e8 ed 78 68 f6 fb bf 01 00 00 00 52 76 30 f6 65 8b 05 eb e3 57 07 85 c0 74 07 5b e9 91 4c 00 00 RSP: 0018:ffffc9000b1776d8 EFLAGS: 00000286 RAX: bf267149657ab000 RBX: ffff888022f80158 RCX: bf267149657ab000 RDX: 0000000000000006 RSI: ffffffff8da75c2f RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff8fbef977 R09: 1ffffffff1f7df2e R10: dffffc0000000000 R11: fffffbfff1f7df2f R12: ffff888022f80158 R13: 0000000000000000 R14: 1ffff110045f0060 R15: ffff888022f80158 spin_unlock_irq include/linux/spinlock.h:401 [inline] __rpm_callback+0xa5/0x7f0 drivers/base/power/runtime.c:383 rpm_callback drivers/base/power/runtime.c:460 [inline] rpm_resume+0xfae/0x1610 drivers/base/power/runtime.c:939 rpm_resume+0x8c1/0x1610 drivers/base/power/runtime.c:917 pm_runtime_work+0x103/0x1b0 drivers/base/power/runtime.c:1004 process_one_work+0x94a/0x15d0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3350 [inline] worker_thread+0x9b0/0xee0 kernel/workqueue.c:3431 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:comedi_inc_scan_progress+0x1a4/0x430 drivers/comedi/drivers.c:563 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 cb 2e fa f8 48 bb 00 00 00 RSP: 0018:ffffc90000007c78 EFLAGS: 00010046 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888032525200 R08: 00000000000000ff R09: 00000000000000ff R10: dffffc0000000000 R11: ffffed10076b5001 R12: ffff888032525280 R13: 0000000000000002 R14: 0000000000000000 R15: ffff88803252522c FS: 0000000000000000(0000) GS:ffff888125a9f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fbc156000 CR3: 0000000062d66000 CR4: 00000000003526f0 DR0: 0800000000000004 DR1: 0000000000000418 DR2: 0000000000000000 DR3: 000000000000000b DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- 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 cb 2e fa f8 call 0xf8fa2f06 3b: 48 rex.W 3c: bb .byte 0xbb 3d: 00 00 add %al,(%rax)