syzbot


BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page (2)

Status: auto-obsoleted due to no activity on 2023/02/17 11:21
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+9e29d4a176b24eaa4fc1@syzkaller.appspotmail.com
First crash: 925d, last: 719d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page (2) 0 (1) 2022/03/30 17:42
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page origin:lts-only C done 1 2d07h 183d 0/3 upstream: reported C repro on 2024/04/08 10:35
upstream BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page f2fs 8 1089d 1170d 0/28 auto-closed as invalid on 2022/02/13 04:53

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 7e8ea067 P4D 7e8ea067 PUD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3641 Comm: syz-executor.5 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90003ebf6d8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffea000278a080 RCX: ffff88801c625880
RDX: 0000000000000000 RSI: ffffea000278a080 RDI: ffff8880747d03b8
RBP: ffffc90003ebf8f0 R08: ffffffff81b5b45b R09: fffff940004f1411
R10: fffff940004f1411 R11: 1ffffd40004f1410 R12: ffff88807d75eb10
R13: 0000000000000001 R14: ffff888073a7a000 R15: ffff888017714000
FS:  0000555557449400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000039c2c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 f2fs_update_meta_page+0x45/0x60 fs/f2fs/segment.c:2369
 do_checkpoint+0x1d62/0x40f0 fs/f2fs/checkpoint.c:1517
 f2fs_write_checkpoint+0x15af/0x1d70 fs/f2fs/checkpoint.c:1679
 f2fs_issue_checkpoint+0x309/0x4a0
 sync_filesystem+0x1bc/0x220 fs/sync.c:66
 generic_shutdown_super+0x6b/0x310 fs/super.c:473
 kill_block_super+0x79/0xd0 fs/super.c:1427
 kill_f2fs_super+0x2f9/0x3c0 fs/f2fs/super.c:4544
 deactivate_locked_super+0xa7/0xf0 fs/super.c:331
 cleanup_mnt+0x4ce/0x560 fs/namespace.c:1186
 task_work_run+0x146/0x1c0 kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:169
 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe667a8ca17
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdcc3f7b18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe667a8ca17
RDX: 00007ffdcc3f7beb RSI: 000000000000000a RDI: 00007ffdcc3f7be0
RBP: 00007ffdcc3f7be0 R08: 00000000ffffffff R09: 00007ffdcc3f79b0
R10: 000055555744a8b3 R11: 0000000000000246 R12: 00007fe667ae55f6
R13: 00007ffdcc3f8ca0 R14: 000055555744a810 R15: 00007ffdcc3f8ce0
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90003ebf6d8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffea000278a080 RCX: ffff88801c625880
RDX: 0000000000000000 RSI: ffffea000278a080 RDI: ffff8880747d03b8
RBP: ffffc90003ebf8f0 R08: ffffffff81b5b45b R09: fffff940004f1411
R10: fffff940004f1411 R11: 1ffffd40004f1410 R12: ffff88807d75eb10
R13: 0000000000000001 R14: ffff888073a7a000 R15: ffff888017714000
FS:  0000555557449400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000039c2c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/20 11:20 upstream 493ffd6605b2 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/19 15:55 upstream 55be6084c8e0 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/19 02:44 upstream 55be6084c8e0 b31320fc .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/18 02:26 upstream 55be6084c8e0 754863b4 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/18 01:54 upstream 55be6084c8e0 754863b4 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/17 22:06 upstream 493ffd6605b2 94744d21 .config console log report info ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/17 05:23 upstream 493ffd6605b2 67cb024c .config console log report info ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/12 17:54 upstream 493ffd6605b2 16a9c9e0 .config console log report info [disk image] [vmlinux] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/08 10:25 upstream 62e6e5940c0c aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/10/01 21:45 upstream ffb4d94b4314 feb56351 .config console log report info [disk image] [vmlinux] ci2-upstream-fs BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/09/01 10:35 upstream c5e4d5e99162 b01ec571 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/07/18 20:27 upstream 80e19f34c288 ff988920 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/07/08 16:54 upstream e8a4e1c1bb69 b5765a15 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/27 00:41 upstream 03c765b0e3b4 a371c43c .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/26 10:38 upstream 0840a7914caa a371c43c .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/23 15:30 upstream de5c208d533a 912f5df7 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/22 00:15 upstream ca1fdab7fd27 0fc5c330 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/19 18:00 upstream 05c6ca8512f2 8f633d84 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/04 02:26 upstream 50fd82b3a9a9 c8857892 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/06/01 23:58 upstream 8171acb8bc9b b4bc6a3d .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/05/30 20:56 upstream 2c5ca23f7414 af70c3a9 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/05/25 12:56 upstream fdaf9a5840ac 647c0e27 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/05/20 17:43 upstream 3d7285a335ed bd37ad7e .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/05/19 12:07 upstream f993aed406ea 50c53f39 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/05/18 02:21 upstream 210e04ff7681 744a39e2 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
2022/03/28 12:30 upstream ae085d7f9365 ee339263 .config console log report info ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel NULL pointer dereference in f2fs_update_meta_page
* Struck through repros no longer work on HEAD.