syzbot


WARNING in ext4_expand_extra_isize_ea (2)

Status: auto-obsoleted due to no activity on 2023/07/29 05:01
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+7f99d7ca409ff61ff282@syzkaller.appspotmail.com
First crash: 446d, last: 421d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] WARNING in ext4_expand_extra_isize_ea (2) 0 (1) 2023/03/10 04:00
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ext4_expand_extra_isize_ea origin:lts-only C done 309 41d 422d 0/3 upstream: reported C repro on 2023/03/30 21:05
upstream WARNING in ext4_expand_extra_isize_ea ext4 C error done 3 530d 542d 22/26 fixed on 2023/02/24 13:50
linux-6.1 WARNING in ext4_expand_extra_isize_ea 3 403d 421d 0/3 auto-obsoleted due to no activity on 2023/08/16 18:52

Sample crash report:
EXT4-fs (loop2): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1522 at mm/slab_common.c:935 folio_order include/linux/mm.h:850 [inline]
WARNING: CPU: 1 PID: 1522 at mm/slab_common.c:935 free_large_kmalloc+0x3d/0x190 mm/slab_common.c:933
Modules linked in:
CPU: 1 PID: 1522 Comm: syz-executor.2 Not tainted 6.3.0-rc4-syzkaller-00051-g8bb95a1662f8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:free_large_kmalloc+0x3d/0x190 mm/slab_common.c:935
Code: 48 8b 04 25 28 00 00 00 48 89 44 24 08 48 8b 47 08 a8 01 0f 85 4e 01 00 00 49 89 f6 0f 1f 44 00 00 49 f7 07 00 00 01 00 75 25 <0f> 0b 31 db 80 3d 14 0c 79 0c 00 75 21 c6 05 0b 0c 79 0c 01 48 c7
RSP: 0018:ffffc900037bf768 EFLAGS: 00010246
RAX: ffffea0000a4ebc8 RBX: 0000000000000012 RCX: ffffea0000a4ebc8
RDX: ffffea0000000000 RSI: ffff88802e3785a4 RDI: ffffea0000b8de00
RBP: ffffc900037bf988 R08: ffffffff813da00c R09: fffffbfff205c64c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000020
R13: 0000000000000000 R14: ffff88802e3785a4 R15: ffffea0000b8de00
FS:  00007f007df2a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31f25000 CR3: 000000001dcef000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_xattr_move_to_block fs/ext4/xattr.c:2680 [inline]
 ext4_xattr_make_inode_space fs/ext4/xattr.c:2743 [inline]
 ext4_expand_extra_isize_ea+0x122c/0x1d10 fs/ext4/xattr.c:2835
 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5960
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6003 [inline]
 __ext4_mark_inode_dirty+0x53e/0x870 fs/ext4/inode.c:6081
 __ext4_unlink+0x997/0xbb0 fs/ext4/namei.c:3255
 ext4_unlink+0x1af/0x550 fs/ext4/namei.c:3298
 vfs_unlink+0x35d/0x5f0 fs/namei.c:4250
 do_unlinkat+0x4a1/0x940 fs/namei.c:4316
 __do_sys_unlinkat fs/namei.c:4359 [inline]
 __se_sys_unlinkat fs/namei.c:4352 [inline]
 __x64_sys_unlinkat+0xce/0xf0 fs/namei.c:4352
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f007d28c0f9
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:00007f007df2a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f007d3abf80 RCX: 00007f007d28c0f9
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007f007d2e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd1ddc30bf R14: 00007f007df2a300 R15: 0000000000022000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/31 05:01 upstream 8bb95a1662f8 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_expand_extra_isize_ea
2023/03/06 03:50 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_expand_extra_isize_ea
2023/03/06 03:50 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_expand_extra_isize_ea
* Struck through repros no longer work on HEAD.