Oops: divide error: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 59 Comm: kworker/u8:4 Not tainted 6.16.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker 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 c6 41 d1 f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88801cec0800 RCX: 1ffff110039d8110 RDX: 0000000000000000 RSI: ffffffff88eaa588 RDI: ffff88801cec0880 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124727000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eaf5c4000 CR3: 0000000058906000 CR4: 0000000000350ef0 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+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+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:lock_release+0x183/0x2f0 kernel/locking/lockdep.c:5896 Code: 0f c1 05 48 4d 37 12 83 f8 01 0f 85 1d 01 00 00 9c 58 f6 c4 02 0f 85 08 01 00 00 41 f7 c5 00 02 00 00 74 01 fb 48 8b 44 24 10 <65> 48 2b 05 5d 0b 37 12 0f 85 58 01 00 00 48 83 c4 18 5b 41 5c 41 RSP: 0018:ffffc9000210fa58 EFLAGS: 00000206 RAX: af26b412e7000d00 RBX: ffff888046e61f98 RCX: ffffc9000210fa64 RDX: 0000000000000002 RSI: ffffffff8de0659d RDI: ffffffff8c156020 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffff52000421f48 R10: 0000000000000003 R11: 0000000000000001 R12: ffffffff8b511e64 R13: 0000000000000202 R14: ffff8880232cbc00 R15: 0000000000000003 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline] _raw_spin_unlock_bh+0x16/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1d4/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x958/0x1030 net/batman-adv/network-coding.c:722 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 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+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 c6 41 d1 f8 48 8d 7b 34 48 b8 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88801cec0800 RCX: 1ffff110039d8110 RDX: 0000000000000000 RSI: ffffffff88eaa588 RDI: ffff88801cec0880 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124727000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9eaf5c4000 CR3: 0000000058906000 CR4: 0000000000350ef0 ---------------- 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 c6 41 d1 f8 call 0xf8d141fd 37: 48 8d 7b 34 lea 0x34(%rbx),%rdi 3b: 48 rex.W 3c: b8 .byte 0xb8