Oops: divide error: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 14437 Comm: syz.8.2093 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:comedi_inc_scan_progress+0x1cc/0x340 drivers/comedi/drivers.c:563 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 d6 5a fa f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007d90 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88805514ae00 RCX: 1ffff1100aa295d0 RDX: 0000000000000000 RSI: ffffffff88c28d88 RDI: ffff88805514ae80 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f4c0e2f66c0(0000) GS:ffff888124a08000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c0e2d4f98 CR3: 000000003a4ea000 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+0x236/0x920 kernel/irq/handle.c:203 handle_irq_event_percpu kernel/irq/handle.c:240 [inline] handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:257 handle_edge_irq+0x3ca/0x9e0 kernel/irq/chip.c:855 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:310 [inline] __common_interrupt+0xd0/0x2f0 arch/x86/kernel/irq.c:325 common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:318 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688 RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:751 Code: 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 53 65 ff 05 33 c7 ff 11 e8 1e e2 be 09 <48> c7 c3 a8 b2 a2 93 89 c5 83 f8 07 0f 87 82 00 00 00 48 8d 3c ed RSP: 0018:ffffc90004daf630 EFLAGS: 00000292 RAX: 0000000000000000 RBX: ffff88813ff1a040 RCX: ffffffff822de3ea RDX: 0000000000000000 RSI: ffffffff8bf07040 RDI: ffffffff8bf07080 RBP: ffffea00020c0c80 R08: 04c458fa08cd7175 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88813ff1a040 R13: ffffea00020c0c80 R14: ffffc90004daf838 R15: 0000000000000000 rcu_read_lock include/linux/rcupdate.h:868 [inline] get_mem_cgroup_from_mm+0x300/0x600 mm/memcontrol.c:935 __mem_cgroup_charge+0x1a/0x1e0 mm/memcontrol.c:4717 mem_cgroup_charge include/linux/memcontrol.h:662 [inline] folio_prealloc mm/memory.c:1196 [inline] alloc_anon_folio mm/memory.c:5125 [inline] do_anonymous_page mm/memory.c:5182 [inline] do_pte_missing+0x222a/0x3ba0 mm/memory.c:4359 handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault+0x1556/0x2aa0 mm/memory.c:6318 handle_mm_fault+0x589/0xd10 mm/memory.c:6487 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x54e/0x3530 mm/gup.c:1428 populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860 __mm_populate+0x1d8/0x380 mm/gup.c:1963 mm_populate include/linux/mm.h:3471 [inline] do_mremap+0x130e/0x2020 mm/mremap.c:1948 __do_sys_mremap+0x119/0x170 mm/mremap.c:1993 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4c0d38f6c9 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:00007f4c0e2f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000019 RAX: ffffffffffffffda RBX: 00007f4c0d5e5fa0 RCX: 00007f4c0d38f6c9 RDX: 0000000005000000 RSI: 0000000000002000 RDI: 0000200000ff5000 RBP: 00007f4c0d411f91 R08: 0000200000ffd000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4c0d5e6038 R14: 00007f4c0d5e5fa0 R15: 00007fff50e0ccf8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:comedi_inc_scan_progress+0x1cc/0x340 drivers/comedi/drivers.c:563 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 d6 5a fa f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007d90 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88805514ae00 RCX: 1ffff1100aa295d0 RDX: 0000000000000000 RSI: ffffffff88c28d88 RDI: ffff88805514ae80 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f4c0e2f66c0(0000) GS:ffff888124a08000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c0e2d4f98 CR3: 000000003a4ea000 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 d6 5a fa f8 call 0xf8fa5b0d 37: 48 8d 7b 34 lea 0x34(%rbx),%rdi 3b: 48 rex.W 3c: b8 .byte 0xb8