Oops: divide error: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 1197 Comm: syz.5.7076 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+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 3b 84 0d f9 48 bb 00 00 00
RSP: 0018:ffffc900000079f8 EFLAGS: 00010046
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88803e1bd600 R08: ffff888077438001 R09: 1ffff1100ee87000
R10: dffffc0000000000 R11: ffffed100ee87001 R12: ffff88803e1bd680
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88803e1bd62c
FS: 00007f7a18a8b6c0(0000) GS:ffff88812613b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc3e8774e00 CR3: 000000005d33e000 CR4: 0000000000350ef0
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:173 [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+0x5e/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688
RIP: 0010:variable_ffs arch/x86/include/asm/bitops.h:312 [inline]
RIP: 0010:handle_softirqs+0x1b0/0x870 kernel/softirq.c:610
Code: 89 64 24 30 0f b7 db 48 c7 c7 e0 b3 69 8b e8 c7 f9 c1 09 65 66 c7 05 95 8d e9 10 00 00 e8 f8 ff 42 00 fb 49 c7 c7 c0 c0 c0 8d ff ff ff ff 0f bc c3 41 89 c5 41 ff c5 0f 84 c2 03 00 00 89 5c
RSP: 0018:ffffc90000007e40 EFLAGS: 00000286
RAX: acebb43340026600 RBX: 0000000000000082 RCX: acebb43340026600
RDX: 0000000000000002 RSI: ffffffff8d70e3cc RDI: ffffffff8bbf08e0
RBP: ffffc90000007f50 R08: ffffffff8f7cee77 R09: 1ffffffff1ef9dce
R10: dffffc0000000000 R11: fffffbfff1ef9dcf R12: 000000000000000a
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff8dc0c0c0
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1052
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194
Code: 74 05 e8 7b 8b 7e f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 83 b9 46 f6 65 8b 05 dc 18 25 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc9000c777be0 EFLAGS: 00000206
RAX: acebb43340026600 RBX: 0000000000000212 RCX: acebb43340026600
RDX: 0000000000000006 RSI: ffffffff8d70e3cc RDI: 0000000000000001
RBP: ffffc9000c777c70 R08: ffffffff8f7cee77 R09: 1ffffffff1ef9dce
R10: dffffc0000000000 R11: fffffbfff1ef9dcf R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff99aeda40 R15: 1ffff920018eef7c
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
uart_port_unlock_irqrestore include/linux/serial_core.h:788 [inline]
uart_port_unlock_deref+0x111/0x2f0 drivers/tty/serial/serial_core.c:91
uart_write+0xe8/0x130 drivers/tty/serial/serial_core.c:634
tnc_init drivers/net/hamradio/6pack.c:490 [inline]
sixpack_open+0x671/0x920 drivers/net/hamradio/6pack.c:580
tty_ldisc_open+0xa1/0x100 drivers/tty/tty_ldisc.c:432
tty_set_ldisc+0x373/0x560 drivers/tty/tty_ldisc.c:563
tty_ioctl+0xc38/0xde0 drivers/tty/tty_io.c:2728
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7a17b8f749
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:00007f7a18a8b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7a17de5fa0 RCX: 00007f7a17b8f749
RDX: 00002000000000c0 RSI: 0000000000005423 RDI: 0000000000000009
RBP: 00007f7a17c13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7a17de6038 R14: 00007f7a17de5fa0 R15: 00007ffe983d5208
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 3b 84 0d f9 48 bb 00 00 00
RSP: 0018:ffffc900000079f8 EFLAGS: 00010046
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88803e1bd600 R08: ffff888077438001 R09: 1ffff1100ee87000
R10: dffffc0000000000 R11: ffffed100ee87001 R12: ffff88803e1bd680
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88803e1bd62c
FS: 00007f7a18a8b6c0(0000) GS:ffff88812613b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc3e8774e00 CR3: 000000005d33e000 CR4: 0000000000350ef0
----------------
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 3b 84 0d f9 call 0xf90d8476
3b: 48 rex.W
3c: bb .byte 0xbb
3d: 00 00 add %al,(%rax)