syzbot


WARNING in anon_vma_name

Status: upstream: reported C repro on 2022/11/14 06:28
Reported-by: syzbot+62ed954113bf02c79f74@syzkaller.appspotmail.com
First crash: 18d, last: 13d

Cause bisection: introduced by (bisect log) :
commit 2220e3a8953e86b87adfc753fc57c2a5e0b0a032
Author: Pasha Tatashin <pasha.tatashin@soleen.com>
Date: Mon Nov 7 18:47:15 2022 +0000

  mm: anonymous shared memory naming

Crash: WARNING in anon_vma_name (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2022/11/14 13:19 16m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git f8f60f322f06 OK log
2022/11/14 09:49 11m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git f8f60f322f06 report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5234 at include/linux/mmap_lock.h:155 mmap_assert_locked include/linux/mmap_lock.h:155 [inline]
WARNING: CPU: 1 PID: 5234 at include/linux/mmap_lock.h:155 anon_vma_name+0x11c/0x170 mm/madvise.c:97
Modules linked in:
CPU: 1 PID: 5234 Comm: syz-executor251 Not tainted 6.1.0-rc5-next-20221114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:mmap_assert_locked include/linux/mmap_lock.h:155 [inline]
RIP: 0010:anon_vma_name+0x11c/0x170 mm/madvise.c:97
Code: 8d bd 58 01 00 00 be ff ff ff ff e8 9e c8 e1 07 31 ff 41 89 c4 89 c6 e8 42 0c bc ff 45 85 e4 0f 85 5c ff ff ff e8 64 0f bc ff <0f> 0b e9 50 ff ff ff e8 58 0f bc ff 48 89 ef e8 d0 e7 f2 ff 0f 0b
RSP: 0018:ffffc90003ac7988 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffffff8b9a9000 RCX: 0000000000000000
RDX: ffff888026a61d40 RSI: ffffffff81c10d8c RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8b9a9008 R14: ffffffff8b9a9010 R15: 0000000000000000
FS:  0000555555b2b300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003000 CR3: 0000000075062000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 show_map_vma+0x22d/0x620 fs/proc/task_mmu.c:297
 show_smap+0xe4/0x490 fs/proc/task_mmu.c:866
 seq_read_iter+0xbbe/0x1280 fs/seq_file.c:272
 seq_read+0x16d/0x210 fs/seq_file.c:162
 vfs_read+0x2dc/0x9d0 fs/read_write.c:468
 ksys_read+0x127/0x250 fs/read_write.c:613
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd11e9e0269
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc1410a5d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd11e9e0269
RDX: 0000000000002020 RSI: 0000000020008380 RDI: 0000000000000003
RBP: 00007ffc1410a5e0 R08: 68742f636f72702f R09: 68742f636f72702f
R10: 68742f636f72702f R11: 0000000000000246 R12: 00007fd11e9a4150
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (211):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2022/11/14 20:56 linux-next 5c92ddca1053 943f4cb8 .config log report syz C WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/11 17:21 linux-next f8f60f322f06 3ead01ad .config log report syz C WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 23:00 linux-next 5c92ddca1053 97de9cfc .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 20:40 linux-next 5c92ddca1053 97de9cfc .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 15:57 linux-next 5c92ddca1053 97de9cfc .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 14:48 linux-next 5c92ddca1053 97de9cfc .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 13:32 linux-next 5c92ddca1053 97de9cfc .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/15 06:37 linux-next 5c92ddca1053 943f4cb8 .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 22:40 linux-next 5c92ddca1053 943f4cb8 .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 20:03 linux-next 5c92ddca1053 943f4cb8 .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 18:27 linux-next 5c92ddca1053 943f4cb8 .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 17:27 linux-next 5c92ddca1053 943f4cb8 .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 06:40 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 05:38 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 04:53 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 04:23 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 03:13 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 02:09 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/14 02:08 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 22:16 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 20:12 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 12:59 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 08:44 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 07:42 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 06:40 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 04:16 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 01:51 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 01:24 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/13 00:18 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 22:50 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 21:28 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 20:10 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 18:31 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 17:05 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 16:01 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 14:31 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 12:52 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 11:05 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 10:47 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 08:29 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 04:08 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 02:54 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 01:58 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 01:55 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 01:48 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 00:52 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/12 00:45 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
ci-upstream-linux-next-kasan-gce-root 2022/11/11 06:49 linux-next f8f60f322f06 3ead01ad .config log report info WARNING in anon_vma_name
* Struck through repros no longer work on HEAD.