Oops: divide error: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 17023 Comm: syz.7.2786 Not tainted 6.16.0-rc5-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 a6 76 cd f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007ab8 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff8880341e4c00 RCX: 1ffff1100683c990 RDX: 0000000000000000 RSI: ffffffff88ee6f98 RDI: ffff8880341e4c80 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000002 R15: 0000000010000000 FS: 00007f00f9e806c0(0000) GS:ffff888124718000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9b2e478f2 CR3: 000000004213b000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: comedi_buf_write_samples+0x406/0x640 drivers/comedi/comedi_buf.c:603 aio_iiro_16_cos+0x132/0x160 drivers/comedi/drivers/aio_iiro_16.c:69 __handle_irq_event_percpu+0x22c/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+0xdf/0x250 arch/x86/kernel/irq.c:292 common_interrupt+0x61/0xe0 arch/x86/kernel/irq.c:285 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 16 c2 0d f6 48 89 df e8 fe 15 0e f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 95 33 fe f5 65 8b 05 2e ca 45 08 85 c0 74 16 5b RSP: 0018:ffffc90000007de8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880b8427c80 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffffffff8de3106c RDI: ffffffff8c158660 RBP: 0000000000000283 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a97357 R11: 0000000000000001 R12: ffff8880b8427c80 R13: 000000cd9a8649ff R14: ffff88814533a418 R15: ffffffff8789ce00 __run_hrtimer kernel/time/hrtimer.c:1757 [inline] __hrtimer_run_queues+0x529/0xad0 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 16 c2 0d f6 48 89 df e8 fe 15 0e f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 95 33 fe f5 65 8b 05 2e ca 45 08 85 c0 74 16 5b RSP: 0018:ffffc90004fff770 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880566f99c0 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff8de3106c RDI: ffffffff8c158660 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a97357 R11: 0000000000000001 R12: ffff8880293d3140 R13: 0000000000000246 R14: ffff8880566f99a8 R15: ffffc90004fff8f8 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x172/0x4f0 net/core/datagram.c:267 __unix_dgram_recvmsg+0x1bd/0xc50 net/unix/af_unix.c:2514 unix_dgram_recvmsg+0xd0/0x110 net/unix/af_unix.c:2616 sock_recvmsg_nosec net/socket.c:1017 [inline] ____sys_recvmsg+0x5f6/0x6b0 net/socket.c:2784 ___sys_recvmsg+0x114/0x1a0 net/socket.c:2828 do_recvmmsg+0x2fe/0x750 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+0x22a/0x280 net/socket.c:3013 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:0x7f00f8f8e929 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:00007f00f9e80038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f00f91b6080 RCX: 00007f00f8f8e929 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000006 RBP: 00007f00f9010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f00f91b6080 R15: 00007fff01dea718 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 a6 76 cd f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007ab8 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff8880341e4c00 RCX: 1ffff1100683c990 RDX: 0000000000000000 RSI: ffffffff88ee6f98 RDI: ffff8880341e4c80 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000002 R15: 0000000010000000 FS: 00007f00f9e806c0(0000) GS:ffff888124718000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9b2e478f2 CR3: 000000004213b000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000097 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 a6 76 cd f8 call 0xf8cd76dd 37: 48 8d 7b 34 lea 0x34(%rbx),%rdi 3b: 48 rex.W 3c: b8 .byte 0xb8