kernel BUG in ext4_write_inline_data_end (2)

1 view
Skip to first unread message

syzbot

unread,
Jun 27, 2022, 11:18:34 AM6/27/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 73c2a811f6d1 Revert "xfrm: Add possibility to set the defa..
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=12440388080000
kernel config: https://syzkaller.appspot.com/x/.config?x=30bf844d1a89de15
dashboard link: https://syzkaller.appspot.com/bug?extid=6bc6e779d029f0440c75
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17d38498080000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1491ee6c080000

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

EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:760!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 454 Comm: syz-executor121 Not tainted 5.10.118-syzkaller-00106-g73c2a811f6d1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ext4_write_inline_data_end+0x4a4/0x4b0 fs/ext4/ext4.h:3517
Code: ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c e0 fd ff ff 4c 89 e7 e8 eb e0 cc ff e9 d3 fd ff ff e8 51 1c b7 02 e8 4c 0b 93 ff <0f> 0b e8 45 0b 93 ff 0f 0b 0f 1f 00 55 48 89 e5 41 57 41 56 41 55
RSP: 0018:ffffc90000d976a0 EFLAGS: 00010293
RAX: ffffffff81d9a694 RBX: 0000000000000000 RCX: ffff88810c294f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000d97788 R08: ffffffff81d9a394 R09: ffffed10234a96b0
R10: ffffed10234a96b0 R11: 1ffff110234a96af R12: 0000004c00080000
R13: ffff88811a54b578 R14: ffffea00046ebe40 R15: ffff88811a54b6c0
FS: 00007f0476a4f700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0476a2e718 CR3: 000000010c342000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_write_end+0x1e5/0xde0 fs/ext4/inode.c:1304
ext4_da_write_end+0xb7/0xb40 fs/ext4/inode.c:3137
generic_perform_write+0x410/0x5b0 mm/filemap.c:3479
ext4_buffered_write_iter+0x47c/0x610 fs/ext4/file.c:272
ext4_file_write_iter+0x192/0x1cd0 fs/ext4/file.c:683
call_write_iter include/linux/fs.h:1947 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0xc1c/0xf40 fs/read_write.c:605
ksys_write+0x198/0x2c0 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write fs/read_write.c:667 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:667
do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f0476aa3029
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0476a4f2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0476b294a0 RCX: 00007f0476aa3029
RDX: 0000000000000028 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00007f0476af61ec R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 00007f0476af51e8 R14: e5d26e84aa4cf3c6 R15: 00007f0476b294a8
Modules linked in:
---[ end trace 0626da002cc467e1 ]---
RIP: 0010:ext4_write_inline_data_end+0x4a4/0x4b0 fs/ext4/ext4.h:3517
Code: ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c e0 fd ff ff 4c 89 e7 e8 eb e0 cc ff e9 d3 fd ff ff e8 51 1c b7 02 e8 4c 0b 93 ff <0f> 0b e8 45 0b 93 ff 0f 0b 0f 1f 00 55 48 89 e5 41 57 41 56 41 55
RSP: 0018:ffffc90000d976a0 EFLAGS: 00010293
RAX: ffffffff81d9a694 RBX: 0000000000000000 RCX: ffff88810c294f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000d97788 R08: ffffffff81d9a394 R09: ffffed10234a96b0
R10: ffffed10234a96b0 R11: 1ffff110234a96af R12: 0000004c00080000
R13: ffff88811a54b578 R14: ffffea00046ebe40 R15: ffff88811a54b6c0
FS: 00007f0476a4f700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0476a50000 CR3: 000000010c342000 CR4: 00000000003506b0
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages