[xfs?] WARNING in iomap_apply

6 views
Skip to first unread message

syzbot

unread,
Feb 14, 2023, 6:53:45 AM2/14/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1274e08b480000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=7f1cc5dbfd63c85dff42
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz

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

audit: type=1804 audit(1676375605.954:10): pid=10143 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir2315737806/syzkaller.gk3fas/8/bus/bus" dev="loop1" ino=263 res=1
audit: type=1804 audit(1676375605.954:11): pid=10143 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir2315737806/syzkaller.gk3fas/8/bus/bus" dev="loop1" ino=263 res=1
------------[ cut here ]------------
audit: type=1800 audit(1676375605.964:12): pid=10152 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="loop5" ino=42 res=0
WARNING: CPU: 1 PID: 10152 at fs/iomap.c:70 iomap_apply.cold+0x11/0x3e fs/iomap.c:70
audit: type=1800 audit(1676375605.964:13): pid=10152 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="loop5" ino=42 res=0
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 10152 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:iomap_apply.cold+0x11/0x3e fs/iomap.c:70
Code: f9 48 c7 c7 a0 40 76 88 49 c7 c5 ea ff ff ff e8 1e d0 fe ff e9 fd 77 c8 f9 e8 a9 9e 6d f9 48 c7 c7 c0 43 76 88 e8 08 d0 fe ff <0f> 0b 49 c7 c4 fb ff ff ff e9 6e eb c8 f9 e8 8a 9e 6d f9 48 c7 c7
RSP: 0018:ffff88809f40fb40 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffffffff889c73c0 RCX: 0000000000000000
RDX: 000000000000f812 RSI: ffffffff814dff01 RDI: ffffed1013e81f5a
RBP: fffffffffffffe00 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000200 R14: ffff888043208460 R15: ffff88809f40fba0
iomap_bmap+0x10c/0x170 fs/iomap.c:2184
xfs_vm_bmap+0x197/0x440 fs/xfs/xfs_aops.c:988
ioctl_fibmap fs/ioctl.c:67 [inline]
file_ioctl fs/ioctl.c:493 [inline]
do_vfs_ioctl+0xf0c/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1e2c3a90f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1e2a91b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1e2c4c8f80 RCX: 00007f1e2c3a90f9
RDX: 00000000200000c0 RSI: 0000000000000001 RDI: 0000000000000009
RBP: 00007f1e2c404ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcf92b083f R14: 00007f1e2a91b300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.
Reply all
Reply to author
Forward
0 new messages