loop0: detected capacity change from 0 to 32768 btrfs: Deprecated parameter 'usebackuproot' BTRFS warning: 'usebackuproot' is deprecated, use 'rescue=usebackuproot' instead BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5352) BTRFS info (device loop0): first mount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf BTRFS info (device loop0): using crc32c (crc32c-lib) checksum algorithm BTRFS info (device loop0): using free-space-tree BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 1 BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 2 BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 3 BTRFS info (device loop0): rebuilding free space tree BTRFS info (device loop0): checking UUID tree BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf loop0: detected capacity change from 0 to 32768 bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,recovery_pass_last=initialize_subvolumes,nojournal_transaction_names,noexcl,read_only allowing incompatible features above 0.0: (unknown version) features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 bcachefs (loop0): recovering from clean shutdown, journal seq 10 bcachefs (loop0): Version upgrade required: Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): done starting filesystem comedi comedi3: 8255: I/O port conflict (0xfffffffffffffffb,4) comedi comedi3: 8255: I/O port conflict (0x100000,4) BUG: kernel NULL pointer dereference, address: 0000000000000e24 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: Oops: 0002 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5352 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-11105-ga6923c06a3b2 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__outb arch/x86/include/asm/shared/io.h:22 [inline] RIP: 0010:subdev_8255_io+0x64/0xb0 drivers/comedi/drivers/comedi_8255.c:47 Code: e8 61 aa cb f8 49 81 c6 d0 01 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 f4 7b 30 f9 01 eb 41 03 1e 44 89 f8 <89> 66 90 31 c0 eb 2d e8 30 aa cb f8 49 81 c6 d0 01 00 00 4c 89 f0 RSP: 0018:ffffc9000d4a79e0 EFLAGS: 00010202 RAX: 000000000000009b RBX: 00000000000088d9 RCX: 0000000000100000 RDX: ffffc9000e0c2000 RSI: 0000000000000e94 RDI: 0000000000000e95 RBP: 0000000000000003 R08: 00000000000088d6 R09: 00000000ffffffff R10: 000000000000000b R11: ffffffff88f40400 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88803ea351d0 R15: 000000000000009b FS: 00007f5d1e3c26c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000e24 CR3: 00000000326ea000 CR4: 0000000000352ef0 Call Trace: subdev_8255_do_config drivers/comedi/drivers/comedi_8255.c:115 [inline] __subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline] subdev_8255_io_init+0x279/0x330 drivers/comedi/drivers/comedi_8255.c:192 dev_8255_attach+0x9bd/0xe90 drivers/comedi/drivers/8255.c:83 comedi_device_attach+0x51c/0x720 drivers/comedi/drivers.c:1006 do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline] comedi_unlocked_ioctl+0x5ff/0x1020 drivers/comedi/comedi_fops.c:2173 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d1d58eb69 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:00007f5d1e3c2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5d1d7b5fa0 RCX: 00007f5d1d58eb69 RDX: 0000200000000140 RSI: 0000000040946400 RDI: 0000000000000008 RBP: 00007f5d1d611df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5d1d7b5fa0 R15: 00007fff361647d8 Modules linked in: CR2: 0000000000000e24 ---[ end trace 0000000000000000 ]--- RIP: 0010:__outb arch/x86/include/asm/shared/io.h:22 [inline] RIP: 0010:subdev_8255_io+0x64/0xb0 drivers/comedi/drivers/comedi_8255.c:47 Code: e8 61 aa cb f8 49 81 c6 d0 01 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 f4 7b 30 f9 01 eb 41 03 1e 44 89 f8 <89> 66 90 31 c0 eb 2d e8 30 aa cb f8 49 81 c6 d0 01 00 00 4c 89 f0 RSP: 0018:ffffc9000d4a79e0 EFLAGS: 00010202 RAX: 000000000000009b RBX: 00000000000088d9 RCX: 0000000000100000 RDX: ffffc9000e0c2000 RSI: 0000000000000e94 RDI: 0000000000000e95 RBP: 0000000000000003 R08: 00000000000088d6 R09: 00000000ffffffff R10: 000000000000000b R11: ffffffff88f40400 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88803ea351d0 R15: 000000000000009b FS: 00007f5d1e3c26c0(0000) GS:ffff88808d21f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000e24 CR3: 00000000326ea000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: e8 61 aa cb f8 call 0xf8cbaa66 5: 49 81 c6 d0 01 00 00 add $0x1d0,%r14 c: 4c 89 f0 mov %r14,%rax f: 48 c1 e8 03 shr $0x3,%rax 13: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 18: 74 08 je 0x22 1a: 4c 89 f7 mov %r14,%rdi 1d: e8 f4 7b 30 f9 call 0xf9307c16 22: 01 eb add %ebp,%ebx 24: 41 03 1e add (%r14),%ebx 27: 44 89 f8 mov %r15d,%eax * 2a: 89 66 90 mov %esp,-0x70(%rsi) <-- trapping instruction 2d: 31 c0 xor %eax,%eax 2f: eb 2d jmp 0x5e 31: e8 30 aa cb f8 call 0xf8cbaa66 36: 49 81 c6 d0 01 00 00 add $0x1d0,%r14 3d: 4c 89 f0 mov %r14,%rax