syzbot


WARNING in ext4_expand_extra_isize_ea

Status: upstream: reported C repro on 2023/03/30 21:05
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+84695f6eb2486ad175e9@syzkaller.appspotmail.com
First crash: 426d, last: 45d
Fix commit to backport (bisect log) :
tree: upstream
commit cc12a6f25e07ed05d5825a1664b67a970842b2ca
Author: Ye Bin <yebin10@huawei.com>
Date: Thu Dec 8 02:32:31 2022 +0000

  ext4: allocate extended attribute value in vmalloc area

[report pending]
  
Bug presence (2)
Date Name Commit Repro Result
2023/09/20 linux-5.15.y (ToT) 35ecaa3632bf C [report] WARNING in ext4_expand_extra_isize_ea
2023/09/20 upstream (ToT) 42dc814987c1 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ext4_expand_extra_isize_ea ext4 C error done 3 534d 546d 22/26 fixed on 2023/02/24 13:50
upstream WARNING in ext4_expand_extra_isize_ea (2) ext4 3 426d 447d 0/26 auto-obsoleted due to no activity on 2023/07/29 05:01
linux-6.1 WARNING in ext4_expand_extra_isize_ea 3 407d 425d 0/3 auto-obsoleted due to no activity on 2023/08/16 18:52
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/04 06:11 4h41m fix candidate upstream job log (1)
2023/09/20 15:17 0m fix candidate upstream error job log (0)

Sample crash report:
loop0: detected capacity change from 0 to 512
EXT4-fs (loop0): Ignoring removed mblk_io_submit option
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3500 at mm/page_alloc.c:5396 __alloc_pages+0x5cf/0x700
Modules linked in:
CPU: 1 PID: 3500 Comm: syz-executor280 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__alloc_pages+0x5cf/0x700 mm/page_alloc.c:5396
Code: 00 48 ba 00 00 00 00 00 fc ff df e9 1d fd ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 2e fd ff ff e8 06 40 0a 00 e9 24 fd ff ff <0f> 0b 45 31 e4 e9 70 fd ff ff 48 8d 4c 24 50 80 e1 07 80 c1 03 38
RSP: 0018:ffffc90002e671c0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 000000000000000c RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90002e67248
RBP: ffffc90002e672d8 R08: dffffc0000000000 R09: ffffc90002e67220
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000040c40
R13: 1ffff920005cce40 R14: ffffc90002e67220 R15: 1ffff920005cce3c
FS:  0000555557445380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeaf64deb8 CR3: 000000001bd01000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __alloc_pages_node include/linux/gfp.h:570 [inline]
 alloc_pages_node include/linux/gfp.h:584 [inline]
 kmalloc_large_node+0x7c/0x180 mm/slub.c:4421
 __kmalloc_node+0x22d/0x390 mm/slub.c:4437
 kvmalloc include/linux/mm.h:805 [inline]
 ext4_xattr_move_to_block fs/ext4/xattr.c:2583 [inline]
 ext4_xattr_make_inode_space fs/ext4/xattr.c:2691 [inline]
 ext4_expand_extra_isize_ea+0xe4f/0x1bb0 fs/ext4/xattr.c:2783
 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5840
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5883 [inline]
 __ext4_mark_inode_dirty+0x539/0x860 fs/ext4/inode.c:5961
 ext4_evict_inode+0xadc/0x1100 fs/ext4/inode.c:282
 evict+0x2a4/0x620 fs/inode.c:587
 ext4_orphan_cleanup+0x9d9/0x1240 fs/ext4/orphan.c:474
 ext4_fill_super+0x98de/0xa110 fs/ext4/super.c:4966
 mount_bdev+0x2c9/0x3f0 fs/super.c:1387
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1517
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
 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:0x7fd6fbbb5cba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ffcd54788f8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcd5478910 RCX: 00007fd6fbbb5cba
RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 00007ffcd5478910
RBP: 0000000000000004 R08: 00007ffcd5478950 R09: 00007ffcd5478950
R10: 0000000000a04710 R11: 0000000000000202 R12: 0000000000a04710
R13: 00007ffcd5478950 R14: 0000000000000003 R15: 0000000000040000
 </TASK>

Crashes (309):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/28 22:25 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/09/20 22:09 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/07 13:34 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/04/07 07:32 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/18 23:09 linux-5.15.y b95c01af2113 baa80228 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/18 22:37 linux-5.15.y b95c01af2113 baa80228 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/01/28 22:16 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/20 19:33 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/05/05 14:10 linux-5.15.y 8a7f2a5c5aa1 518a39a6 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/05/29 16:43 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/14 20:59 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/14 14:56 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/08 11:57 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/03 01:28 linux-5.15.y 9465fef4ae35 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/03/22 22:50 linux-5.15.y b95c01af2113 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/03/22 02:26 linux-5.15.y b95c01af2113 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/03/15 08:57 linux-5.15.y 574362648507 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/02/12 20:37 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/02/12 16:39 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/02/11 19:00 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/11/13 00:48 linux-5.15.y 80529b4968a8 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/10/21 04:12 linux-5.15.y 00c03985402e 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/10/11 12:25 linux-5.15.y 02e21884dcf2 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/10/11 06:54 linux-5.15.y 02e21884dcf2 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/09/29 00:09 linux-5.15.y b911329317b4 d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2024/04/03 01:28 linux-5.15.y 9465fef4ae35 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/31 03:11 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/22 21:28 linux-5.15.y b95c01af2113 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/21 20:17 linux-5.15.y b95c01af2113 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/19 13:26 linux-5.15.y b95c01af2113 e104824c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/19 09:41 linux-5.15.y b95c01af2113 baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/03/19 05:26 linux-5.15.y b95c01af2113 baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/02/19 18:14 linux-5.15.y 6139f2a02fe0 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/02/19 14:38 linux-5.15.y 6139f2a02fe0 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/02/18 21:00 linux-5.15.y 6139f2a02fe0 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/02/16 11:13 linux-5.15.y 6139f2a02fe0 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/02/12 23:58 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2024/01/28 22:04 linux-5.15.y 6139f2a02fe0 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/14 01:19 linux-5.15.y 80529b4968a8 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/13 21:56 linux-5.15.y 80529b4968a8 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/13 20:08 linux-5.15.y 80529b4968a8 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/13 15:15 linux-5.15.y 80529b4968a8 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/13 01:27 linux-5.15.y 80529b4968a8 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/11/11 05:32 linux-5.15.y 80529b4968a8 d80eec66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/10/11 05:18 linux-5.15.y 02e21884dcf2 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/29 01:33 linux-5.15.y b911329317b4 d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/27 19:35 linux-5.15.y b911329317b4 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/26 14:44 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/26 10:10 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/23 17:40 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/23 13:19 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/22 04:41 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/09/20 19:19 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/08/28 06:13 linux-5.15.y 5ddfe5cc8716 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ext4_expand_extra_isize_ea
2023/08/28 14:56 linux-5.15.y 5ddfe5cc8716 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/08/28 11:21 linux-5.15.y 5ddfe5cc8716 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
2023/03/30 21:05 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ext4_expand_extra_isize_ea
* Struck through repros no longer work on HEAD.