[v5.15] kernel BUG in ext4_get_group_info

4 views
Skip to first unread message

syzbot

unread,
Mar 14, 2023, 12:12:58 PM3/14/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2ddbd0f967b3 Linux 5.15.102
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=123995ecc80000
kernel config: https://syzkaller.appspot.com/x/.config?x=fec083380faceb1e
dashboard link: https://syzkaller.appspot.com/bug?extid=68738a2da488f01910e0
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/156d2aa91f3c/disk-2ddbd0f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f0e97f5be5fb/vmlinux-2ddbd0f9.xz
kernel image: https://storage.googleapis.com/syzbot-assets/20d0a55a041d/bzImage-2ddbd0f9.xz

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

EXT4-fs error (device loop5): ext4_map_blocks:601: inode #12: block 80: comm syz-executor.5: lblock 0 mapped to illegal pblock 80 (length 1)
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3355!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 19048 Comm: syz-executor.5 Not tainted 5.15.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3355
Code: 61 ff 8b 74 24 04 48 c7 c7 e0 6a a8 8c 4c 89 f2 e8 8c bf 0f 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 7c 61 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc900037bf6e0 EFLAGS: 00010293
RAX: ffffffff821efe19 RBX: 00000000ffffe428 RCX: ffff88802468ba00
RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff821efae9 R09: ffffed1005429c2c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110082518cf
R13: dffffc0000000000 R14: ffff88802c01c000 R15: ffff88804128c678
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efe659971b8 CR3: 0000000078b11000 CR4: 00000000003506f0
Call Trace:
<TASK>
ext4_mb_load_buddy_gfp+0xc7/0x1500 fs/ext4/mballoc.c:1498
ext4_discard_preallocations+0x923/0x10c0 fs/ext4/mballoc.c:5033
ext4_release_file+0x16d/0x300 fs/ext4/file.c:149
__fput+0x3bf/0x890 fs/file_table.c:280
task_work_run+0x129/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0x6a3/0x2480 kernel/exit.c:872
do_group_exit+0x144/0x310 kernel/exit.c:994
get_signal+0xc66/0x14e0 kernel/signal.c:2889
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x5d/0x2b0 kernel/entry/common.c:300
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7669a5e0f9
Code: Unable to access opcode bytes at RIP 0x7f7669a5e0cf.
RSP: 002b:00007f765fcaf218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f7669b7e058 RCX: 00007f7669a5e0f9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7669b7e058
RBP: 00007f7669b7e050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7669b7e05c
R13: 00007ffccf4e8eaf R14: 00007f765fcaf300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 28d27a7649a513a4 ]---
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3355
Code: 61 ff 8b 74 24 04 48 c7 c7 e0 6a a8 8c 4c 89 f2 e8 8c bf 0f 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 7c 61 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc900037bf6e0 EFLAGS: 00010293
RAX: ffffffff821efe19 RBX: 00000000ffffe428 RCX: ffff88802468ba00
RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff821efae9 R09: ffffed1005429c2c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110082518cf
R13: dffffc0000000000 R14: ffff88802c01c000 R15: ffff88804128c678
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f068385e2d8 CR3: 00000000759aa000 CR4: 00000000003506f0


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

unread,
Mar 14, 2023, 11:52:48 PM3/14/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 2ddbd0f967b3 Linux 5.15.102
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=109d950cc80000
kernel config: https://syzkaller.appspot.com/x/.config?x=fec083380faceb1e
dashboard link: https://syzkaller.appspot.com/bug?extid=68738a2da488f01910e0
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17144ffac80000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13fbacdcc80000
mounted in repro: https://storage.googleapis.com/syzbot-assets/b0f52376f3ef/mount_0.gz

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

------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3355!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3607 Comm: syz-executor442 Not tainted 5.15.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3355
Code: 61 ff 8b 74 24 04 48 c7 c7 e0 6a a8 8c 4c 89 f2 e8 8c bf 0f 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 7c 61 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90002d8f320 EFLAGS: 00010293

RAX: ffffffff821efe19 RBX: 00000000ffffe428 RCX: ffff88802296ba00
RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff821efae9 R09: ffffed100e115d6b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fa458cf
R13: dffffc0000000000 R14: ffff88807d22e000 R15: ffff88807d22c678
FS: 00007fee183de700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020040000 CR3: 00000000737f3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ext4_mb_load_buddy_gfp+0xc7/0x1500 fs/ext4/mballoc.c:1498
ext4_discard_preallocations+0x923/0x10c0 fs/ext4/mballoc.c:5033
ext4_truncate+0xa6c/0x1310 fs/ext4/inode.c:4242
ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline]
ext4_write_begin+0xc0d/0x1700 fs/ext4/inode.c:1251
ext4_da_write_begin+0x343/0xc50 fs/ext4/inode.c:2973
generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776
ext4_buffered_write_iter+0x22e/0x380 fs/ext4/file.c:269
ext4_file_write_iter+0x87c/0x1990
call_write_iter include/linux/fs.h:2101 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0xacf/0xe50 fs/read_write.c:594
ksys_write+0x1a2/0x2c0 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fee18432849
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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:00007fee183de2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fee184b77a0 RCX: 00007fee18432849
RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007fee18484834 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 313cad1a8e7d4acc
R13: 0030656c69662f2e R14: 6f6f6c2f7665642f R15: 00007fee184b77a8
</TASK>
Modules linked in:
---[ end trace 73240803e27addf2 ]---
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3355
Code: 61 ff 8b 74 24 04 48 c7 c7 e0 6a a8 8c 4c 89 f2 e8 8c bf 0f 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 7c 61 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90002d8f320 EFLAGS: 00010293
RAX: ffffffff821efe19 RBX: 00000000ffffe428 RCX: ffff88802296ba00
RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff821efae9 R09: ffffed100e115d6b
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fa458cf
R13: dffffc0000000000 R14: ffff88807d22e000 R15: ffff88807d22c678
FS: 00007fee183de700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000

syzbot

unread,
Mar 19, 2023, 7:40:47 PM3/19/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7eaef76fbc46 Linux 6.1.20
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=112529bac80000
kernel config: https://syzkaller.appspot.com/x/.config?x=28c36fe4d02f8c88
dashboard link: https://syzkaller.appspot.com/bug?extid=84f3fb17cf44e689a0f3
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/610a00ba4375/disk-7eaef76f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/57c1310f9a30/vmlinux-7eaef76f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/81999f717d3b/bzImage-7eaef76f.xz

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

EXT4-fs error (device loop2): __ext4_get_inode_loc:4490: comm syz-executor.2: Invalid inode table block 0 in block_group 0
EXT4-fs error (device loop2) in ext4_reserve_inode_write:5841: Corrupt filesystem
EXT4-fs error (device loop2): __ext4_ext_dirty:202: inode #19: comm syz-executor.2: mark_inode_dirty error
------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3331!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9707 Comm: syz-executor.2 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331
Code: 4e ff 8b 74 24 04 48 c7 c7 00 dd 0b 8d 4c 89 f2 e8 0c a9 2a 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 47 ed 4e ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc9000cf173b0 EFLAGS: 00010283
RAX: ffffffff823b73d9 RBX: 00000000fffffac6 RCX: 0000000000040000
RDX: ffffc900066d9000 RSI: 0000000000017c31 RDI: 0000000000017c32
RBP: 0000000000000001 R08: ffffffff823b70a9 R09: ffffed101178f73c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100e4718cf
R13: dffffc0000000000 R14: ffff88802539a000 R15: ffff88807238c678
FS: 00007f0e6b3fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020100000 CR3: 000000001e2bc000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ext4_mb_load_buddy_gfp+0xc3/0x820 fs/ext4/mballoc.c:1448
ext4_discard_preallocations+0x8d5/0x1230 fs/ext4/mballoc.c:5021
ext4_truncate+0xa91/0x1470 fs/ext4/inode.c:4269
ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline]
ext4_write_begin+0xb36/0x1060 fs/ext4/inode.c:1262
ext4_da_write_begin+0x4a3/0xac0 fs/ext4/inode.c:2986
generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754
ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285
ext4_file_write_iter+0x1d2/0x18f0
call_write_iter include/linux/fs.h:2205 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7ae/0xba0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0e6c88c0f9
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:00007f0e6b3fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0e6c9abf80 RCX: 00007f0e6c88c0f9
RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000006
RBP: 00007f0e6c8e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7afa0a7f R14: 00007f0e6b3fe300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331
Code: 4e ff 8b 74 24 04 48 c7 c7 00 dd 0b 8d 4c 89 f2 e8 0c a9 2a 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 47 ed 4e ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc9000cf173b0 EFLAGS: 00010283
RAX: ffffffff823b73d9 RBX: 00000000fffffac6 RCX: 0000000000040000
RDX: ffffc900066d9000 RSI: 0000000000017c31 RDI: 0000000000017c32
RBP: 0000000000000001 R08: ffffffff823b70a9 R09: ffffed101178f73c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100e4718cf
R13: dffffc0000000000 R14: ffff88802539a000 R15: ffff88807238c678
FS: 00007f0e6b3fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020100000 CR3: 000000001e2bc000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


syzbot

unread,
Mar 19, 2023, 8:13:52 PM3/19/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 7eaef76fbc46 Linux 6.1.20
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=125a53bac80000
kernel config: https://syzkaller.appspot.com/x/.config?x=28c36fe4d02f8c88
dashboard link: https://syzkaller.appspot.com/bug?extid=84f3fb17cf44e689a0f3
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=130529d6c80000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17c5affcc80000
mounted in repro: https://storage.googleapis.com/syzbot-assets/c66e72aea8f2/mount_0.gz

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

------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3331!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3644 Comm: syz-executor148 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331
Code: 4e ff 8b 74 24 04 48 c7 c7 00 dd 0b 8d 4c 89 f2 e8 0c a9 2a 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 47 ed 4e ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90003e9f3b0 EFLAGS: 00010293
RAX: ffffffff823b73d9 RBX: 00000000fffffac6 RCX: ffff888020403a80
RDX: 0000000000000000 RSI: 00000000fffffac6 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff823b70a9 R09: ffffed100e63b87d
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11002fe44cf
R13: dffffc0000000000 R14: ffff8880239a6000 R15: ffff888017f22678
FS: 00007fb6a7536700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020100000 CR3: 000000001e0b8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ext4_mb_load_buddy_gfp+0xc3/0x820 fs/ext4/mballoc.c:1448
ext4_discard_preallocations+0x8d5/0x1230 fs/ext4/mballoc.c:5021
ext4_truncate+0xa91/0x1470 fs/ext4/inode.c:4269
ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline]
ext4_write_begin+0xb36/0x1060 fs/ext4/inode.c:1262
ext4_da_write_begin+0x4a3/0xac0 fs/ext4/inode.c:2986
generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754
ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285
ext4_file_write_iter+0x1d2/0x18f0
call_write_iter include/linux/fs.h:2205 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7ae/0xba0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb6a758a6f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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:00007fb6a7536208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb6a760f7a8 RCX: 00007fb6a758a6f9
RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000006
RBP: 00007fb6a760f7a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb6a760f7ac
R13: 00007fff0c68a71f R14: 00007fb6a7536300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331
Code: 4e ff 8b 74 24 04 48 c7 c7 00 dd 0b 8d 4c 89 f2 e8 0c a9 2a 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 47 ed 4e ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90003e9f3b0 EFLAGS: 00010293
RAX: ffffffff823b73d9 RBX: 00000000fffffac6 RCX: ffff888020403a80
RDX: 0000000000000000 RSI: 00000000fffffac6 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff823b70a9 R09: ffffed100e63b87d
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11002fe44cf
R13: dffffc0000000000 R14: ffff8880239a6000 R15: ffff888017f22678
FS: 00007fb6a7536700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb69f215718 CR3: 000000001e0b8000 CR4: 00000000003506f0

syzbot

unread,
Oct 24, 2023, 1:31:29 PM10/24/23
to syzkaller...@googlegroups.com
syzbot suspects this issue could be fixed by backporting the following commit:

commit 5354b2af34064a4579be8bc0e2f15a7b70f14b5f
git tree: upstream
Author: Theodore Ts'o <ty...@mit.edu>
Date: Sat Apr 29 04:06:28 2023 +0000

ext4: allow ext4_get_group_info() to fail

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10cfab0b680000
kernel config: https://syzkaller.appspot.com/x/.config?x=47d3bbfdb3b1ddd2
dashboard link: https://syzkaller.appspot.com/bug?extid=84f3fb17cf44e689a0f3
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10295aa8280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15739224280000


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,
Nov 19, 2023, 11:49:06 AM11/19/23
to syzkaller...@googlegroups.com
syzbot suspects this issue could be fixed by backporting the following commit:

commit 2220eaf90992c11d888fe771055d4de330385f01
git tree: upstream
Author: Theodore Ts'o <ty...@mit.edu>
Date: Fri May 12 19:11:02 2023 +0000

ext4: add bounds checking in get_max_inline_xattr_value_size()

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1041c268e80000
kernel config: https://syzkaller.appspot.com/x/.config?x=ba8d5c9d6c5289f
dashboard link: https://syzkaller.appspot.com/bug?extid=68738a2da488f01910e0
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14b10f18280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1402f482280000
Reply all
Reply to author
Forward
0 new messages