syzbot


freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)

Status: fixed on 2021/09/25 16:31
Reported-by: syzbot+2ec89312bffbf38d9aec@syzkaller.appspotmail.com
Fix commit: ca1e447b1048 amd64: Avoid copying td_frame from kernel procs
First crash: 503d, last: 499d

Sample crash report:
panic: ASan: Invalid access, 192-byte read at 0xffffffff84f70f40, UseAfterScope(f8)
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xffffffff84f706d0
kdb_backtrace() at kdb_backtrace+0xd3/frame 0xffffffff84f70830
vpanic() at vpanic+0x2c5/frame 0xffffffff84f70910
panic() at panic+0xb5/frame 0xffffffff84f709d0
kasan_memmove() at kasan_memmove+0x313/frame 0xffffffff84f70aa0
cpu_fork() at cpu_fork+0x1d2/frame 0xffffffff84f70b10
vm_forkproc() at vm_forkproc+0x237/frame 0xffffffff84f70b70
fork1() at fork1+0x283f/frame 0xffffffff84f70cf0
kproc_create() at kproc_create+0x163/frame 0xffffffff84f70e90
audit_worker_init() at audit_worker_init+0x46/frame 0xffffffff84f70eb0
mi_startup() at mi_startup+0x457/frame 0xffffffff84f70ff0
btext() at btext+0x22
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x6b: movq    $0,0x28e0d5a(%rip)
db> 

Crashes (270):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-freebsd-main 2021/09/25 14:25 freebsd-src 24a3897c2c32 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/25 12:51 freebsd-src 2ec4c3c7f3ef 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/25 12:51 freebsd-src 2ec4c3c7f3ef 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/25 07:03 freebsd-src 33c1e7271ac2 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/25 05:31 freebsd-src d3a8f98acbf5 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 21:43 freebsd-src 67a9e76da6e6 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 20:15 freebsd-src 1605eaa6d23e 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 18:40 freebsd-src 364790beafec 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 17:09 freebsd-src d7cf1b262f9f 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 13:17 freebsd-src 9cce0ef95a07 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 11:32 freebsd-src 00a7a05bde84 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 10:04 freebsd-src 9dfc8606eb80 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 04:10 freebsd-src f9e28f900353 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 02:41 freebsd-src 0321a7990b27 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 01:14 freebsd-src 45c2c7c484de 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/24 01:14 freebsd-src 45c2c7c484de 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 17:39 freebsd-src 1ca931a540cb 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 17:39 freebsd-src 1ca931a540cb 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 16:12 freebsd-src fd69939e79a6 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 14:45 freebsd-src dbc7ca594515 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 13:05 freebsd-src 414499b3f911 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 11:07 freebsd-src 0b92a7fe47a5 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 09:39 freebsd-src 90f6610b1975 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 08:14 freebsd-src 5e79bba562bc 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/23 06:46 freebsd-src 7bc13692a2d6 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/22 22:30 freebsd-src 1f82fb383410 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/22 21:04 freebsd-src 8fc722a572b8 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-main 2021/09/21 22:17 freebsd-src a342ecd326ee 169724fe console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/25 10:39 freebsd-src 2aad906266d6 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/25 04:42 freebsd-src 6687410af7db 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/25 03:00 freebsd-src c8077ccd70cf 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/25 01:27 freebsd-src f73c2bbf811b 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/24 22:29 freebsd-src e725ee7eb672 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/24 16:25 freebsd-src d7cf1b262f9f 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/24 09:17 freebsd-src 9dfc8606eb80 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 22:17 freebsd-src cb13059663e4 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 20:51 freebsd-src f555b39e6bb7 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 19:25 freebsd-src ef50d5fbc39f 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 06:02 freebsd-src 319b15000300 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 04:36 freebsd-src 88741a40c8fb 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 03:03 freebsd-src 3fcbde5e883a 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 01:36 freebsd-src b5f90655ea37 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 01:36 freebsd-src b5f90655ea37 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/23 00:05 freebsd-src 9bab18b8616b 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
ci-freebsd-i386 2021/09/22 20:21 freebsd-src 8fc722a572b8 8cac236e console log report freebsd boot error: panic: ASan: Invalid access, NUM-byte read at ADDR, UseAfterScope(f8)
* Struck through repros no longer work on HEAD.