Reset the page iterator unconditionally after busy_acquire(WAITFAIL) fails.
Reported-by: syzbot+b5f9ebf4c2c63a5db681@syzkaller.appspotmail.com
Differential D49904
vm_object: reset iter in page_clean dougm on Sat, Apr 19, 3:59 AM. Authored by
Details
Reset the page iterator unconditionally after busy_acquire(WAITFAIL) fails. Reported-by: syzbot+b5f9ebf4c2c63a5db681@syzkaller.appspotmail.com
Diff Detail
Event TimelineComment Actions I got this panic, which seems unrelated to me, after 8 hours of testing: 20250419 16:12:32 all (650/951): ptrace6.sh panic: NULL p_xthread cpuid = 4 time = 1745071954 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01844a2930 vpanic() at vpanic+0x136/frame 0xfffffe01844a2a60 panic() at panic+0x43/frame 0xfffffe01844a2ac0 kern_ptrace() at kern_ptrace+0x16ef/frame 0xfffffe01844a2b90 sys_ptrace() at sys_ptrace+0x21f/frame 0xfffffe01844a2e00 amd64_syscall() at amd64_syscall+0x15a/frame 0xfffffe01844a2f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe01844a2f30 --- syscall (26, FreeBSD ELF64, ptrace), rip = 0x823b2bada, rsp = 0x824b99fa8, rbp = 0x824b99fc0 --- I'll resume testing. |