syzbot


kernel BUG in kvfree

Status: auto-obsoleted due to no activity on 2023/08/22 15:17
Reported-by: syzbot+ba5c4cc126a25594dd6a@syzkaller.appspotmail.com
First crash: 600d, last: 558d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/17 upstream (ToT) f1fcbaa18b28 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in kvfree C done 1 564d 564d 2/2 fixed on 2023/06/13 08:16

Sample crash report:
raw: 05ffc0000000202a 0000000000000000 dead000000000122 ffff0000c0494f48
raw: 0000000000000001 ffff0000dc5c7bc8 00000003ffffffff ffff0000c0894000
page dumped because: VM_BUG_ON_PAGE(!PageCompound(page))
------------[ cut here ]------------
kernel BUG at mm/slub.c:3532!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3962 Comm: syz-executor400 Not tainted 5.15.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : free_nonslab_page+0x1cc/0x1dc mm/slub.c:3532
lr : free_nonslab_page+0x1cc/0x1dc mm/slub.c:3532
sp : ffff80001c9174f0
x29: ffff80001c917500 x28: ffff0000c2845100 x27: dfff800000000000
x26: 0000000000000020 x25: ffff0000ddaa55a4 x24: 0000000000000020
x23: ffff800016ebf000 x22: 0000000000000000 x21: ffff80000875e5c8
x20: 0000000000000000 x19: fffffc000376a940 x18: 0000000000000001
x17: ff808000083359dc x16: ffff800011948074 x15: ffff8000083359dc
x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000
x11: ff808000087a5c40 x10: 0000000000000000 x9 : 9183383888344400
x8 : 9183383888344400 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001c916958 x4 : ffff8000149afce0 x3 : ffff80000854d4e0
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000038
Call trace:
 free_nonslab_page+0x1cc/0x1dc mm/slub.c:3532
 kfree+0x2ac/0x410 mm/slub.c:4556
 kvfree+0x40/0x50 mm/util.c:654
 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+0xcbc/0x1688 fs/ext4/xattr.c:2783
 __ext4_expand_extra_isize+0x290/0x348 fs/ext4/inode.c:5826
 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5869 [inline]
 __ext4_mark_inode_dirty+0x4e8/0x924 fs/ext4/inode.c:5947
 __ext4_unlink+0x6d8/0x90c fs/ext4/namei.c:3255
 ext4_unlink+0x1b4/0x6a0 fs/ext4/namei.c:3298
 vfs_unlink+0x2f0/0x508 fs/namei.c:4209
 do_unlinkat+0x4c8/0x82c fs/namei.c:4277
 __do_sys_unlinkat fs/namei.c:4320 [inline]
 __se_sys_unlinkat fs/namei.c:4313 [inline]
 __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4313
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: d005ba81 912d3421 aa1303e0 97fba8b1 (d4210000) 
---[ end trace 193b93c1595d97b2 ]---

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/13 01:11 linux-5.15.y b0ece631f84a ecca8a24 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/05/04 06:03 linux-5.15.y 8a7f2a5c5aa1 5b7ff9dd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/05/03 08:47 linux-5.15.y 8a7f2a5c5aa1 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/16 18:15 linux-5.15.y 4fdad925aa1a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/09 21:43 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/09 17:25 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/09 12:18 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/07 23:58 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/04 04:20 linux-5.15.y c957cbb87315 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/04/03 22:42 linux-5.15.y c957cbb87315 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
2023/03/31 19:36 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in kvfree
* Struck through repros no longer work on HEAD.