syzbot


kernel BUG in collapse_file (2)

Status: closed as dup on 2023/04/14 15:43
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+671b136929ae932761d5@syzkaller.appspotmail.com
First crash: 455d, last: 328d
Cause bisection: failed (error log, bisect log)
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
kernel BUG in hpage_collapse_scan_file mm C unreliable 3 336d 374d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] kernel BUG in collapse_file (2) 0 (1) 2022/12/23 09:18
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in collapse_file mm 1 942d 937d 0/26 auto-closed as invalid on 2021/12/17 12:02
upstream kernel BUG in collapse_file (3) mm C done 14 239d 245d 1/26 upstream: reported C repro on 2023/07/17 12:34
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/14 13:24 21m ivan.orlov0322@gmail.com patch upstream OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/04/02 13:33 25m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/khugepaged.c:1823!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5122 Comm: syz-executor253 Not tainted 6.2.0-syzkaller-13163-g04a357b1f6f0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
RIP: 0010:collapse_file+0x32bd/0x57e0 mm/khugepaged.c:1823
Code: ff 48 c7 c2 00 5b 5a 8a be ce 00 00 00 48 c7 c7 40 5d 5a 8a c6 05 40 6b 86 0c 01 e8 0d 46 89 ff e9 09 e7 ff ff e8 13 c7 a8 ff <0f> 0b e8 0c c7 a8 ff 0f 0b e9 3f d0 ff ff e8 00 c7 a8 ff 4c 8b 65
RSP: 0018:ffffc90003e2f808 EFLAGS: 00010093
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888079139d40 RSI: ffffffff81dc332d RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000006 R09: 00000000000001c0
R10: 00000000000001c1 R11: 0000000000000000 R12: 00000000000001c0
R13: 0000000000000001 R14: 0000000000000200 R15: 00000000000001c1
FS:  00007fd20315d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd203236e64 CR3: 0000000028da5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hpage_collapse_scan_file+0xcd3/0x1680 mm/khugepaged.c:2233
 madvise_collapse+0x52f/0xb70 mm/khugepaged.c:2693
 madvise_vma_behavior+0x63d/0x20c0 mm/madvise.c:1086
 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1260
 do_madvise.part.0+0x24a/0x340 mm/madvise.c:1439
 do_madvise mm/madvise.c:1452 [inline]
 __do_sys_madvise mm/madvise.c:1452 [inline]
 __se_sys_madvise mm/madvise.c:1450 [inline]
 __x64_sys_madvise+0x117/0x150 mm/madvise.c:1450
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd2031ccc39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 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:00007fd20315d2f8 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fd2032554b8 RCX: 00007fd2031ccc39
RDX: 0000000000000019 RSI: 000000000060005f RDI: 0000000020000000
RBP: 00007fd2032554b0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd20315d300
R13: 0000000000000001 R14: 00007fd20315d400 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:collapse_file+0x32bd/0x57e0 mm/khugepaged.c:1823
Code: ff 48 c7 c2 00 5b 5a 8a be ce 00 00 00 48 c7 c7 40 5d 5a 8a c6 05 40 6b 86 0c 01 e8 0d 46 89 ff e9 09 e7 ff ff e8 13 c7 a8 ff <0f> 0b e8 0c c7 a8 ff 0f 0b e9 3f d0 ff ff e8 00 c7 a8 ff 4c 8b 65
RSP: 0018:ffffc90003e2f808 EFLAGS: 00010093
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888079139d40 RSI: ffffffff81dc332d RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000006 R09: 00000000000001c0
R10: 00000000000001c1 R11: 0000000000000000 R12: 00000000000001c0
R13: 0000000000000001 R14: 0000000000000200 R15: 00000000000001c1
FS:  00007fd20315d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd203236e64 CR3: 0000000028da5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/03 07:46 upstream 04a357b1f6f0 f8902b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in collapse_file
2023/01/27 09:37 upstream 7c46948a6e9c 9dfcf09c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in collapse_file
2022/12/19 10:14 upstream f9ff5644bcc0 05494336 .config strace log report syz C ci-upstream-kasan-gce kernel BUG in collapse_file
2022/12/19 09:29 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in collapse_file
2023/02/19 14:02 linux-next c068f40300a0 bcdf85f8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2022/12/19 20:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 c52b2efb .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in collapse_file
2022/12/19 09:11 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in collapse_file
2023/04/25 04:33 linux-next 3b85b9b39960 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/24 03:04 linux-next d3e1ee0e67e7 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/22 11:55 linux-next d3e1ee0e67e7 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/22 03:02 linux-next d3e1ee0e67e7 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/19 08:43 linux-next 67d5d9f013d6 94b4184e .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/19 00:28 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/19 00:08 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 23:47 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 23:24 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 23:20 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 23:06 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 22:51 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 22:37 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 22:07 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 21:21 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 20:55 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 20:31 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 20:25 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 19:39 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
2023/04/18 19:37 linux-next 67d5d9f013d6 d931e9f0 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in collapse_file
* Struck through repros no longer work on HEAD.