loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 14d642db-7b15-43e4-81e6-4b8fac6a25f8 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5326) BTRFS info (device loop0): first mount of filesystem 14d642db-7b15-43e4-81e6-4b8fac6a25f8 BTRFS info (device loop0): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop0): using free-space-tree BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 359b1067 P4D 359b1067 PUD 4091d067 PMD 0 Oops: Oops: 0010 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc9000d4bf8d8 EFLAGS: 00010283 RAX: ffffffff81cddebc RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d6b9000 RSI: ffffea0001444700 RDI: ffff888042a7ce00 RBP: ffffc9000d4bf990 R08: ffffffff81cdde86 R09: 1ffffd40002888e0 R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffffd40002888e0 R13: ffffea0001444700 R14: ffffc9000d4bf920 R15: 1ffffd40002888e1 FS: 00007f8f09b456c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000400ac000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825 freader_get_folio+0x57a/0xb50 lib/buildid.c:77 freader_fetch+0x9d/0x650 lib/buildid.c:120 __build_id_parse+0x188/0x8a0 lib/buildid.c:305 do_procmap_query fs/proc/task_mmu.c:534 [inline] procfs_procmap_ioctl+0xcf5/0x1600 fs/proc/task_mmu.c:613 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8f08d7e719 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:00007f8f09b45038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8f08f35f80 RCX: 00007f8f08d7e719 RDX: 0000000020000180 RSI: 00000000c0686611 RDI: 000000000000000a RBP: 00007f8f08df175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8f08f35f80 R15: 00007ffc1e710488 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc9000d4bf8d8 EFLAGS: 00010283 RAX: ffffffff81cddebc RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d6b9000 RSI: ffffea0001444700 RDI: ffff888042a7ce00 RBP: ffffc9000d4bf990 R08: ffffffff81cdde86 R09: 1ffffd40002888e0 R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffffd40002888e0 R13: ffffea0001444700 R14: ffffc9000d4bf920 R15: 1ffffd40002888e1 FS: 00007f8f09b456c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000400ac000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400