syzbot |
sign-in | mailing list | source | docs |
BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1523 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 14501, name: syz.7.1826 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 2 locks held by syz.7.1826/14501: #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: query_vma_setup+0x18/0x110 fs/proc/task_mmu.c:499 #1: ffff888057aed588 (vm_lock){++++}-{0:0}, at: lock_next_vma+0x146/0xdc0 mm/mmap_lock.c:220 CPU: 1 UID: 0 PID: 14501 Comm: syz.7.1826 Not tainted 6.16.0-rc4-next-20250704-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: <TASK> dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __might_resched+0x495/0x610 kernel/sched/core.c:8692 down_read+0x22/0x2e0 kernel/locking/rwsem.c:1523 filemap_invalidate_lock_shared include/linux/fs.h:934 [inline] freader_get_folio+0x38b/0x830 lib/buildid.c:76 freader_fetch+0xa3/0x5d0 lib/buildid.c:120 __build_id_parse+0x133/0x7d0 lib/buildid.c:305 do_procmap_query fs/proc/task_mmu.c:676 [inline] procfs_procmap_ioctl+0x7dd/0xce0 fs/proc/task_mmu.c:748 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:0x7f300058e929 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:00007f3001450038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f30007b5fa0 RCX: 00007f300058e929 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000008 RBP: 00007f3000610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f30007b5fa0 R15: 00007fff37913388 </TASK> ============================= [ BUG: Invalid wait context ] 6.16.0-rc4-next-20250704-syzkaller #0 Tainted: G W ----------------------------- syz.7.1826/14501 is trying to lock: ffff888148c18940 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:934 [inline] ffff888148c18940 (mapping.invalidate_lock){++++}-{4:4}, at: freader_get_folio+0x38b/0x830 lib/buildid.c:76 other info that might help us debug this: context-{5:5} 2 locks held by syz.7.1826/14501: #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13bf60 (rcu_read_lock){....}-{1:3}, at: query_vma_setup+0x18/0x110 fs/proc/task_mmu.c:499 #1: ffff888057aed588 (vm_lock){++++}-{0:0}, at: lock_next_vma+0x146/0xdc0 mm/mmap_lock.c:220 stack backtrace: CPU: 1 UID: 0 PID: 14501 Comm: syz.7.1826 Tainted: G W 6.16.0-rc4-next-20250704-syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: <TASK> dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4833 [inline] check_wait_context kernel/locking/lockdep.c:4905 [inline] __lock_acquire+0xbcb/0xd20 kernel/locking/lockdep.c:5190 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 down_read+0x46/0x2e0 kernel/locking/rwsem.c:1524 filemap_invalidate_lock_shared include/linux/fs.h:934 [inline] freader_get_folio+0x38b/0x830 lib/buildid.c:76 freader_fetch+0xa3/0x5d0 lib/buildid.c:120 __build_id_parse+0x133/0x7d0 lib/buildid.c:305 do_procmap_query fs/proc/task_mmu.c:676 [inline] procfs_procmap_ioctl+0x7dd/0xce0 fs/proc/task_mmu.c:748 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:0x7f300058e929 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:00007f3001450038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f30007b5fa0 RCX: 00007f300058e929 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000008 RBP: 00007f3000610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f30007b5fa0 R15: 00007fff37913388 </TASK> BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:321 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 14501, name: syz.7.1826 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 1 UID: 0 PID: 14501 Comm: syz.7.1826 Tainted: G W 6.16.0-rc4-next-20250704-syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: <TASK> dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __might_resched+0x495/0x610 kernel/sched/core.c:8692 might_alloc include/linux/sched/mm.h:321 [inline] prepare_alloc_pages+0x1d9/0x610 mm/page_alloc.c:4913 __alloc_frozen_pages_noprof+0x123/0x370 mm/page_alloc.c:5134 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 alloc_frozen_pages_noprof mm/mempolicy.c:2490 [inline] alloc_pages_noprof+0xa9/0x190 mm/mempolicy.c:2510 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2520 filemap_alloc_folio_noprof+0xdf/0x470 mm/filemap.c:1007 do_read_cache_folio+0x2da/0x590 mm/filemap.c:3919 freader_get_folio+0x3c4/0x830 lib/buildid.c:77 freader_fetch+0xa3/0x5d0 lib/buildid.c:120 __build_id_parse+0x133/0x7d0 lib/buildid.c:305 do_procmap_query fs/proc/task_mmu.c:676 [inline] procfs_procmap_ioctl+0x7dd/0xce0 fs/proc/task_mmu.c:748 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:0x7f300058e929 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:00007f3001450038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f30007b5fa0 RCX: 00007f300058e929 RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000008 RBP: 00007f3000610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f30007b5fa0 R15: 00007fff37913388 </TASK>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2025/07/07 06:03 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/07 06:03 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/06 12:28 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/06 12:27 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/06 12:23 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/06 12:23 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 14:15 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 14:15 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 11:07 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 11:06 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 11:01 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 11:01 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/05 11:00 | linux-next | 26ffb3d6f02c | 4f67c4ae | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/04 21:03 | linux-next | 26ffb3d6f02c | d869b261 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/04 21:03 | linux-next | 26ffb3d6f02c | d869b261 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/04 17:07 | linux-next | 26ffb3d6f02c | 76ad128c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/07/04 17:07 | linux-next | 26ffb3d6f02c | 76ad128c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:50 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:49 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:43 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:19 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:16 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:04 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 11:03 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 10:26 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 10:26 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 10:25 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 09:56 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 09:56 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 09:36 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-rust-kasan-gce | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 09:33 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio | ||
2025/06/30 09:33 | linux-next | 1343433ed389 | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: sleeping function called from invalid context in freader_get_folio |