syzbot
BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
Status:
upstream: reported C repro on 2024/04/08 10:35
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b998afe9239e90678c06@syzkaller.appspotmail.com
First crash: 963d, last: 127d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2024/04/24 |
linux-5.15.y (ToT) |
c52b9710c83d |
C
|
[report] BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
|
| 2024/04/24 |
upstream (ToT) |
9d1ddab261f3 |
C
|
Didn't crash |
▶
▼
Last patch testing requests (10)
▶
▼
Fix bisection attempts (3)
Sample crash report:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
ESR = 0x0000000086000004
EC = 0x21: IABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x04: level 0 translation fault
user pgtable: 4k pages, 48-bit VAs, pgdp=000000011bcbc000
[0000000000000000] pgd=0000000000000000, p4d=0000000000000000
Internal error: Oops: 0000000086000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4037 Comm: syz-executor350 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : set_page_dirty+0x23c/0x544 mm/page-writeback.c:2631
sp : ffff80001d1a7170
x29: ffff80001d1a7170 x28: ffff0000d9308230 x27: dfff800000000000
x26: 0000000000000000 x25: 1fffff8000712021 x24: dfff800000000000
x23: 0000000000000000 x22: 05ffc00000000007 x21: ffff0000de77e718
x20: ffff800011d565d8 x19: fffffc0003890100 x18: ffff80001d1a69e0
x17: 0000000000000000 x16: ffff800011b4e58c x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000dd090000
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff0000e2405000 x4 : ffff0000c20f1000 x3 : ffff0000e2404f80
x2 : fffffffffffffff0 x1 : 0000000000000000 x0 : fffffc0003890100
Call trace:
0x0
f2fs_update_meta_page+0xa8/0x1f0 fs/f2fs/segment.c:2470
do_checkpoint+0x1748/0x3754 fs/f2fs/checkpoint.c:1539
f2fs_write_checkpoint+0x10f4/0x1e3c fs/f2fs/checkpoint.c:1700
f2fs_issue_checkpoint+0x284/0x3c0
f2fs_sync_fs+0x1c0/0x4e8 fs/f2fs/super.c:1678
sync_filesystem+0x1a0/0x218 fs/sync.c:66
generic_shutdown_super+0x70/0x2f0 fs/super.c:448
kill_block_super+0x70/0xdc fs/super.c:1427
kill_f2fs_super+0x268/0x338 fs/f2fs/super.c:4538
deactivate_locked_super+0xb8/0x13c fs/super.c:335
deactivate_super+0x108/0x128 fs/super.c:366
cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
__cleanup_mnt+0x20/0x30 fs/namespace.c:1150
task_work_run+0x130/0x1e4 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609
el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: bad PC value
---[ end trace c5343ad9ec3b5e73 ]---
* Struck through repros no longer work on HEAD.