Oops: divide error: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 15224 Comm: syz.4.2578 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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: ffff88807ca12000 RCX: 1ffff1100f942410 RDX: 0000000000000000 RSI: ffffffff88ed2948 RDI: ffff88807ca12080 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124720000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000014000 CR3: 000000000e382000 CR4: 00000000003526f0 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:__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 8b 74 24 08 48 89 fb 48 83 c7 18 e8 0a 5d 0f f6 48 89 df e8 f2 b0 0f f6 e8 fd 92 3a f6 fb bf 01 00 00 00 62 d3 ff f5 65 8b 05 fb d9 46 08 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc9000bbb73c8 EFLAGS: 00000206 RAX: 00000000000012e7 RBX: ffff88802597f938 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff8de2ff26 RDI: 0000000000000001 RBP: ffff88802597f930 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a94057 R11: 0000000000000001 R12: ffff88802597f938 R13: ffff88802597f930 R14: ffffc9000bbb7678 R15: 000000000000000d spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x106/0x250 mm/filemap.c:254 truncate_inode_folio+0x49/0x70 mm/truncate.c:176 shmem_undo_range+0x376/0x1150 mm/shmem.c:1121 shmem_truncate_range mm/shmem.c:1237 [inline] shmem_evict_inode+0x3a1/0xbe0 mm/shmem.c:1365 evict+0x3e6/0x920 fs/inode.c:810 iput_final fs/inode.c:1898 [inline] iput fs/inode.c:1924 [inline] iput+0x521/0x880 fs/inode.c:1910 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:466 __dentry_kill+0x1d0/0x600 fs/dcache.c:669 dput.part.0+0x4b1/0x9b0 fs/dcache.c:911 dput+0x1f/0x30 fs/dcache.c:901 __fput+0x51c/0xb70 fs/file_table.c:473 task_work_run+0x14d/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x86c/0x2bd0 kernel/exit.c:964 do_group_exit+0xd3/0x2a0 kernel/exit.c:1105 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fea1a98e9a9 Code: Unable to access opcode bytes at 0x7fea1a98e97f. RSP: 002b:00007fea17fb00e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fea1abb6328 RCX: 00007fea1a98e9a9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fea1abb6328 RBP: 00007fea1abb6320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fea1abb632c R13: 0000000000000000 R14: 00007ffd7d356350 R15: 00007ffd7d356438 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: ffff88807ca12000 RCX: 1ffff1100f942410 RDX: 0000000000000000 RSI: ffffffff88ed2948 RDI: ffff88807ca12080 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124720000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000014000 CR3: 000000000e382000 CR4: 00000000003526f0 ---------------- 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