[v6.1] general protection fault in update_sit_entry

5 views
Skip to first unread message

syzbot

unread,
Jan 6, 2025, 8:40:37 PM1/6/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7dc732d24ff7 Linux 6.1.123
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15b25edf980000
kernel config: https://syzkaller.appspot.com/x/.config?x=b700290711767e0c
dashboard link: https://syzkaller.appspot.com/bug?extid=fd9d30bfbd5d4a966056
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7ad136b42edb/disk-7dc732d2.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/859a37ce3517/vmlinux-7dc732d2.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6d506d0fa6c0/bzImage-7dc732d2.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd9d30...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 PID: 4775 Comm: syz.2.89 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc900036e6f30 EFLAGS: 00010206
RAX: 1ffff11029a48616 RBX: 0000000000000005 RCX: 0000000000000090
RDX: ffff88802e2a5940 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000080 R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88802e2a5940 R12: 0000000000000001
R13: 000000000000002a R14: 000000000000002a R15: dffffc0000000000
FS: 00007fa0c752a6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa0c7527f70 CR3: 00000000589cb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
f2fs_allocate_data_block+0x149a/0x3310 fs/f2fs/segment.c:3275
__allocate_data_block+0x5b8/0xb50 fs/f2fs/data.c:1424
f2fs_map_blocks+0x178c/0x3ab0 fs/f2fs/data.c:1593
f2fs_preallocate_blocks fs/f2fs/file.c:4627 [inline]
f2fs_file_write_iter+0xe0f/0x2490 fs/f2fs/file.c:4830
do_iter_write+0x6e6/0xc40 fs/read_write.c:861
iter_file_splice_write+0x830/0xfc0 fs/splice.c:685
do_splice_from fs/splice.c:763 [inline]
direct_splice_actor+0xe3/0x1c0 fs/splice.c:950
splice_direct_to_actor+0x4c7/0xc30 fs/splice.c:896
do_splice_direct+0x2a5/0x3e0 fs/splice.c:1002
do_sendfile+0x619/0xff0 fs/read_write.c:1255
__do_sys_sendfile64 fs/read_write.c:1323 [inline]
__se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa0c6785d29
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:00007fa0c752a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa0c6976080 RCX: 00007fa0c6785d29
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000008
RBP: 00007fa0c6801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000080000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa0c6976080 R15: 00007fffdee75f58
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc900036e6f30 EFLAGS: 00010206

RAX: 1ffff11029a48616 RBX: 0000000000000005 RCX: 0000000000000090
RDX: ffff88802e2a5940 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000080 R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88802e2a5940 R12: 0000000000000001
R13: 000000000000002a R14: 000000000000002a R15: dffffc0000000000
FS: 00007fa0c752a6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000589cb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 24 30 and $0x30,%al
2: 48 8d 5c 08 20 lea 0x20(%rax,%rcx,1),%rbx
7: 48 89 d8 mov %rbx,%rax
a: 48 c1 e8 03 shr $0x3,%rax
e: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
13: 74 08 je 0x1d
15: 48 89 df mov %rbx,%rdi
18: e8 3e 44 04 fe call 0xfe04445b
1d: 4c 8b 33 mov (%rbx),%r14
20: 4d 01 ee add %r13,%r14
23: 4c 89 f3 mov %r14,%rbx
26: 48 c1 eb 03 shr $0x3,%rbx
* 2a: 42 0f b6 04 3b movzbl (%rbx,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 4d 89 fd mov %r15,%r13
34: 0f 85 8a 08 00 00 jne 0x8c4
3a: 41 0f b6 2e movzbl (%r14),%ebp
3e: 41 rex.B
3f: 89 .byte 0x89


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jan 6, 2025, 10:56:25 PM1/6/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 7dc732d24ff7 Linux 6.1.123
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16317418580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b700290711767e0c
dashboard link: https://syzkaller.appspot.com/bug?extid=fd9d30bfbd5d4a966056
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11317418580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/65eb0c885e00/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd9d30...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 4688 Comm: f2fs_ckpt-7:0 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc90004086bd0 EFLAGS: 00010246
RAX: 1ffff1100fa8d87c RBX: 0000000000000000 RCX: 00000000000003c0
RDX: ffff88802583bb80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000000007c R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88802583bb80 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002000 CR3: 000000005a63e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
f2fs_allocate_data_block+0x149a/0x3310 fs/f2fs/segment.c:3275
do_write_page+0x172/0x6e0 fs/f2fs/segment.c:3363
f2fs_outplace_write_data+0x172/0x340 fs/f2fs/segment.c:3429
f2fs_do_write_data_page+0x157f/0x27b0 fs/f2fs/data.c:2732
f2fs_write_single_data_page+0xaee/0x1f90 fs/f2fs/data.c:2824
f2fs_write_cache_pages fs/f2fs/data.c:3143 [inline]
__f2fs_write_data_pages fs/f2fs/data.c:3299 [inline]
f2fs_write_data_pages+0x1ceb/0x3a70 fs/f2fs/data.c:3326
do_writepages+0x3a2/0x670 mm/page-writeback.c:2491
filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388
__filemap_fdatawrite_range mm/filemap.c:421 [inline]
__filemap_fdatawrite mm/filemap.c:427 [inline]
filemap_fdatawrite+0x13f/0x1b0 mm/filemap.c:432
f2fs_sync_dirty_inodes+0x335/0x8a0 fs/f2fs/checkpoint.c:1115
block_operations fs/f2fs/checkpoint.c:1253 [inline]
f2fs_write_checkpoint+0xbfa/0x1e00 fs/f2fs/checkpoint.c:1658
__write_checkpoint_sync fs/f2fs/checkpoint.c:1775 [inline]
__checkpoint_and_complete_reqs+0xd6/0x3b0 fs/f2fs/checkpoint.c:1794
issue_checkpoint_thread+0xd6/0x260 fs/f2fs/checkpoint.c:1825
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc90004086bd0 EFLAGS: 00010246
RAX: 1ffff1100fa8d87c RBX: 0000000000000000 RCX: 00000000000003c0
RDX: ffff88802583bb80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000000007c R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88802583bb80 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3187d5e000 CR3: 000000005d963000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 24 30 and $0x30,%al
2: 48 8d 5c 08 20 lea 0x20(%rax,%rcx,1),%rbx
7: 48 89 d8 mov %rbx,%rax
a: 48 c1 e8 03 shr $0x3,%rax
e: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
13: 74 08 je 0x1d
15: 48 89 df mov %rbx,%rdi
18: e8 3e 44 04 fe call 0xfe04445b
1d: 4c 8b 33 mov (%rbx),%r14
20: 4d 01 ee add %r13,%r14
23: 4c 89 f3 mov %r14,%rbx
26: 48 c1 eb 03 shr $0x3,%rbx
* 2a: 42 0f b6 04 3b movzbl (%rbx,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 4d 89 fd mov %r15,%r13
34: 0f 85 8a 08 00 00 jne 0x8c4
3a: 41 0f b6 2e movzbl (%r14),%ebp
3e: 41 rex.B
3f: 89 .byte 0x89


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Jan 7, 2025, 1:14:26 AM1/7/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 7dc732d24ff7 Linux 6.1.123
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=127d7418580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b700290711767e0c
dashboard link: https://syzkaller.appspot.com/bug?extid=fd9d30bfbd5d4a966056
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10e576f8580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=158b5edf980000
mounted in repro: https://storage.googleapis.com/syzbot-assets/cc35afa35e4e/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd9d30...@syzkaller.appspotmail.com

F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 PID: 4246 Comm: syz-executor361 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc90003ba6f30 EFLAGS: 00010203
RAX: 1ffff11003b55e0a RBX: 0000000000000007 RCX: 0000000000000030
RDX: ffff88801b32bb80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000080 R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88801b32bb80 R12: 0000000000000001
R13: 000000000000003c R14: 000000000000003c R15: dffffc0000000000
FS: 00007f013dd266c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f013dd05d58 CR3: 00000000192e9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
f2fs_allocate_data_block+0x149a/0x3310 fs/f2fs/segment.c:3275
__allocate_data_block+0x5b8/0xb50 fs/f2fs/data.c:1424
f2fs_map_blocks+0x178c/0x3ab0 fs/f2fs/data.c:1593
f2fs_preallocate_blocks fs/f2fs/file.c:4627 [inline]
f2fs_file_write_iter+0xe0f/0x2490 fs/f2fs/file.c:4830
do_iter_write+0x6e6/0xc40 fs/read_write.c:861
iter_file_splice_write+0x830/0xfc0 fs/splice.c:685
do_splice_from fs/splice.c:763 [inline]
direct_splice_actor+0xe3/0x1c0 fs/splice.c:950
splice_direct_to_actor+0x4c7/0xc30 fs/splice.c:896
do_splice_direct+0x2a5/0x3e0 fs/splice.c:1002
do_sendfile+0x619/0xff0 fs/read_write.c:1255
__do_sys_sendfile64 fs/read_write.c:1323 [inline]
__se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f013dd6ae89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f013dd26168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f013de046c8 RCX: 00007f013dd6ae89
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005
RBP: 00007f013de046c0 R08: 00007f013dd266c0 R09: 0000000000000000
R10: 0000000080000002 R11: 0000000000000246 R12: 00007f013de046cc
R13: 0000000000000006 R14: 00007ffec6243640 R15: 00007ffec6243728
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2927 [inline]
RIP: 0010:update_sit_entry+0x67f/0x10d0 fs/f2fs/segment.c:2227
Code: 24 30 48 8d 5c 08 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3e 44 04 fe 4c 8b 33 4d 01 ee 4c 89 f3 48 c1 eb 03 <42> 0f b6 04 3b 84 c0 4d 89 fd 0f 85 8a 08 00 00 41 0f b6 2e 41 89
RSP: 0018:ffffc90003ba6f30 EFLAGS: 00010203
RAX: 1ffff11003b55e0a RBX: 0000000000000007 RCX: 0000000000000030
RDX: ffff88801b32bb80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000080 R08: ffffffff83ddea38 R09: ffffffff83dde58a
R10: 0000000000000003 R11: ffff88801b32bb80 R12: 0000000000000001
R13: 000000000000003c R14: 000000000000003c R15: dffffc0000000000
FS: 00007f013dd266c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f013dd05d58 CR3: 00000000192e9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 24 30 and $0x30,%al
2: 48 8d 5c 08 20 lea 0x20(%rax,%rcx,1),%rbx
7: 48 89 d8 mov %rbx,%rax
a: 48 c1 e8 03 shr $0x3,%rax
e: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
13: 74 08 je 0x1d
15: 48 89 df mov %rbx,%rdi
18: e8 3e 44 04 fe call 0xfe04445b
1d: 4c 8b 33 mov (%rbx),%r14
20: 4d 01 ee add %r13,%r14
23: 4c 89 f3 mov %r14,%rbx
26: 48 c1 eb 03 shr $0x3,%rbx
* 2a: 42 0f b6 04 3b movzbl (%rbx,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 4d 89 fd mov %r15,%r13
34: 0f 85 8a 08 00 00 jne 0x8c4
3a: 41 0f b6 2e movzbl (%r14),%ebp
3e: 41 rex.B
3f: 89 .byte 0x89


---

syzbot

unread,
Jan 27, 2025, 3:57:05 PM1/27/25
to syzkaller...@googlegroups.com
syzbot suspects this issue could be fixed by backporting the following commit:

commit 458c15dfbce62c35fefd9ca637b20a051309c9f1
git tree: upstream
Author: Chao Yu <ch...@kernel.org>
Date: Tue May 23 03:58:22 2023 +0000

f2fs: don't reset unchangable mount option in f2fs_remount()

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1067f9f8580000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13bd76f8580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1521ffd8580000


Please keep in mind that other backports might be required as well.

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

syzbot

unread,
Jan 27, 2025, 8:41:04 PM1/27/25
to syzkaller...@googlegroups.com
The commit that was suspected to fix the issue was backported to the fuzzed
kernel trees.

commit e2fb24ce37caeaecff08af4e9967c8462624312b
Author: <ch...@kernel.org>
Date: Tue May 23 03:58:22 2023 +0000

f2fs: don't reset unchangable mount option in f2fs_remount()

If you believe this is correct, please reply with
#syz fix: f2fs: don't reset unchangable mount option in f2fs_remount()

The commit was initially detected here:

commit 458c15dfbce62c35fefd9ca637b20a051309c9f1
git tree: upstream
Author: Chao Yu <ch...@kernel.org>
Date: Tue May 23 03:58:22 2023 +0000

f2fs: don't reset unchangable mount option in f2fs_remount()

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1067f9f8580000
Reply all
Reply to author
Forward
0 new messages