public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [syzbot] [f2fs?] kernel BUG in f2fs_truncate_hole
@ 2025-04-04 13:07 syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2025-04-04 13:07 UTC (permalink / raw)
  To: chao, jaegeuk, linux-f2fs-devel, linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    4e82c87058f4 Merge tag 'rust-6.15' of git://git.kernel.org..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11502404580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=f8721be6a767792
dashboard link: https://syzkaller.appspot.com/bug?extid=9ee4dac2dd49f4cbdefc
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 (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-4e82c870.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ccdcf680a51b/vmlinux-4e82c870.xz
kernel image: https://storage.googleapis.com/syzbot-assets/90fe1b8516ea/bzImage-4e82c870.xz

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

loop0: detected capacity change from 0 to 131072
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
F2FS-fs (loop0): Invalid segment/section count (31, 24 x 150994945)
F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): Try to recover 1th superblock, ret: 0
F2FS-fs (loop0): Mounted with checkpoint version = 48b305e4
------------[ cut here ]------------
kernel BUG at fs/f2fs/file.c:1207!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5327 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-10892-g4e82c87058f4 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:f2fs_truncate_hole+0x511/0x520 fs/f2fs/file.c:1207
Code: 00 65 49 8b 07 48 3b 84 24 e0 00 00 00 75 1d 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 00 1b 99 fd 90 <0f> 0b e8 68 3c 03 08 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90
RSP: 0018:ffffc9000d4076c0 EFLAGS: 00010283
RAX: ffffffff842a6210 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000e52a000 RSI: 00000000000034f7 RDI: 00000000000034f8
RBP: ffffc9000d4077f0 R08: ffffffff842a607d R09: 1ffff110088e93ee
R10: dffffc0000000000 R11: ffffed10088e93ef R12: 0000000000100000
R13: dffffc0000000000 R14: 00000000000006c0 R15: ffffc9000d407740
FS:  00007f8796bba6c0(0000) GS:ffff88808c5b1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9428395ed8 CR3: 0000000033d36000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 f2fs_punch_hole+0x250/0x2a0 fs/f2fs/file.c:1266
 f2fs_fallocate+0x588/0xa10 fs/f2fs/file.c:1967
 vfs_fallocate+0x627/0x7a0 fs/open.c:338
 file_ioctl fs/ioctl.c:-1 [inline]
 do_vfs_ioctl+0x2057/0x2750 fs/ioctl.c:885
 __do_sys_ioctl fs/ioctl.c:904 [inline]
 __se_sys_ioctl+0x80/0x160 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8795d8d169
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:00007f8796bba038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8795fa5fa0 RCX: 00007f8795d8d169
RDX: 0000200000000480 RSI: 0000000040305829 RDI: 0000000000000007
RBP: 00007f8795e0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8795fa5fa0 R15: 00007ffe1a19b818
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_truncate_hole+0x511/0x520 fs/f2fs/file.c:1207
Code: 00 65 49 8b 07 48 3b 84 24 e0 00 00 00 75 1d 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 00 1b 99 fd 90 <0f> 0b e8 68 3c 03 08 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90
RSP: 0018:ffffc9000d4076c0 EFLAGS: 00010283
RAX: ffffffff842a6210 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000e52a000 RSI: 00000000000034f7 RDI: 00000000000034f8
RBP: ffffc9000d4077f0 R08: ffffffff842a607d R09: 1ffff110088e93ee
R10: dffffc0000000000 R11: ffffed10088e93ef R12: 0000000000100000
R13: dffffc0000000000 R14: 00000000000006c0 R15: ffffc9000d407740
FS:  00007f8796bba6c0(0000) GS:ffff88808c5b1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005648f9c017f8 CR3: 0000000033d36000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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 syzkaller@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-04 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04 13:07 [syzbot] [f2fs?] kernel BUG in f2fs_truncate_hole syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox