syzbot


kernel BUG in ext4_expand_extra_isize_ea

Status: auto-obsoleted due to no activity on 2023/08/04 09:49
Reported-by: syzbot+2af0afb427ad3527b0dc@syzkaller.appspotmail.com
First crash: 600d, last: 595d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in ext4_expand_extra_isize_ea C done done 5 537d 551d 0/2 auto-obsoleted due to no activity on 2023/09/10 17:41

Sample crash report:
 dentry_kill+0xbb/0x290
 dput+0x1f1/0x420 fs/dcache.c:888
 __fput+0x5ec/0x890 fs/file_table.c:288
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
------------[ cut here ]------------
kernel BUG at mm/slub.c:3532!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6054 Comm: syz-executor.2 Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3532
Code: e9 41 ff ff ff 48 89 df 48 c7 c6 20 31 13 8c e8 79 1c ed ff 0f 0b e8 32 80 4e 08 48 89 df 48 c7 c6 41 b6 14 8c e8 63 1c ed ff <0f> 0b 90 53 48 89 fb e8 67 50 83 ff 48 89 df e8 df eb ff ff e8 1a
RSP: 0018:ffffc90003c9f768 EFLAGS: 00010246
RAX: a5966444dddb9700 RBX: ffffea000194e600 RCX: 0000000000040000
RDX: ffffc9000c826000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffea000194e600 R08: ffffffff81cfc4b4 R09: ffffed1017364f24
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffea000194e600
FS:  00007fbe45454700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6808870058 CR3: 000000006b50f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kfree+0x1cf/0x270 mm/slub.c:4556
 ext4_xattr_move_to_block fs/ext4/xattr.c:2628 [inline]
 ext4_xattr_make_inode_space fs/ext4/xattr.c:2691 [inline]
 ext4_expand_extra_isize_ea+0x1063/0x1bc0 fs/ext4/xattr.c:2783
 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5828
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5871 [inline]
 __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5949
 __ext4_unlink+0x8cd/0xae0 fs/ext4/namei.c:3255
 ext4_unlink+0x1a9/0x530 fs/ext4/namei.c:3298
 vfs_unlink+0x359/0x5f0 fs/namei.c:4209
 do_unlinkat+0x49d/0x940 fs/namei.c:4277
 __do_sys_unlinkat fs/namei.c:4320 [inline]
 __se_sys_unlinkat fs/namei.c:4313 [inline]
 __x64_sys_unlinkat+0xca/0xf0 fs/namei.c:4313
 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:0x7fbe4f2c3169
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:00007fbe45454168 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007fbe4f3e3050 RCX: 00007fbe4f2c3169
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007fbe4f31eca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9985fb4f R14: 00007fbe45454300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace b2a1de159fe896f3 ]---
RIP: 0010:free_nonslab_page+0x14d/0x150 mm/slub.c:3532
Code: e9 41 ff ff ff 48 89 df 48 c7 c6 20 31 13 8c e8 79 1c ed ff 0f 0b e8 32 80 4e 08 48 89 df 48 c7 c6 41 b6 14 8c e8 63 1c ed ff <0f> 0b 90 53 48 89 fb e8 67 50 83 ff 48 89 df e8 df eb ff ff e8 1a
RSP: 0018:ffffc90003c9f768 EFLAGS: 00010246
RAX: a5966444dddb9700 RBX: ffffea000194e600 RCX: 0000000000040000
RDX: ffffc9000c826000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffea000194e600 R08: ffffffff81cfc4b4 R09: ffffed1017364f24
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffea000194e600
FS:  00007fbe45454700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6808870058 CR3: 000000006b50f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/06 09:47 linux-5.15.y d86dfc4d95cd 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ext4_expand_extra_isize_ea
2023/04/05 15:44 linux-5.15.y d86dfc4d95cd 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ext4_expand_extra_isize_ea
2023/04/01 00:19 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ext4_expand_extra_isize_ea
* Struck through repros no longer work on HEAD.