syzbot


WARNING in __v9fs_get_acl

Status: upstream: reported C repro on 2021/08/16 09:58
Reported-by: syzbot+56fdf7f6291d819b9b19@syzkaller.appspotmail.com
First crash: 539d, last: 27d

Cause bisection: introduced by (bisect log) :
commit 0ac1077e3a549bf8d35971613e2be05bdbb41a00
Author: Xin Long <lucien.xin@gmail.com>
Date: Tue Oct 16 07:52:02 2018 +0000

  sctp: get pr_assoc and pr_stream all status with SCTP_PR_SCTP_ALL instead

Crash: KASAN: use-after-free Write in batadv_iv_ogm_schedule (log)
Repro: C syz .config

Fix bisection: failed (bisect log)

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3603 at mm/page_alloc.c:5383 current_gfp_context include/linux/sched/mm.h:204 [inline]
WARNING: CPU: 0 PID: 3603 at mm/page_alloc.c:5383 __alloc_pages+0x45d/0x500 mm/page_alloc.c:5395
Modules linked in:
CPU: 0 PID: 3603 Comm: syz-executor804 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__alloc_pages+0x45d/0x500 mm/page_alloc.c:5383
Code: be c9 00 00 00 48 c7 c7 00 2a d8 89 c6 05 61 9f e9 0b 01 e8 7a 30 6e 07 e9 6a ff ff ff 0f 0b e9 a0 fd ff ff 40 80 e5 3f eb 88 <0f> 0b e9 18 ff ff ff 4c 89 ef 44 89 e6 45 31 ed e8 ee 5f ff ff e9
RSP: 0018:ffffc90002f0fb08 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff920005e1f62 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000040d40
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81c17bc5 R11: 0000000000000001 R12: 0000000000040d40
R13: 0000000000000014 R14: 0000000000000000 R15: ffff88806f7e1318
FS:  0000555555c643c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055945418cec0 CR3: 00000000191a8000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2272
 kmalloc_order+0x34/0xf0 mm/slab_common.c:953
 kmalloc_order_trace+0x14/0x120 mm/slab_common.c:969
 kmalloc include/linux/slab.h:586 [inline]
 kzalloc include/linux/slab.h:714 [inline]
 __v9fs_get_acl+0xb5/0x170 fs/9p/acl.c:28
 v9fs_get_acl+0xf7/0x2f0 fs/9p/acl.c:63
 v9fs_mount+0x607/0xa80 fs/9p/vfs_super.c:184
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:3040 [inline]
 path_mount+0x1320/0x1fa0 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount fs/namespace.c:3568 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568
 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+0x44/0xae
RIP: 0033:0x7f7b399ee7c9
Code: 28 c3 e8 5a 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:00007ffcc64b0598 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcc64b05a8 RCX: 00007f7b399ee7c9
RDX: 0000000020000140 RSI: 0000000020000200 RDI: 0000000000000000
RBP: 00007ffcc64b05a0 R08: 00000000200004c0 R09: 00007f7b399aca90
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (224):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2022/05/12 08:02 upstream feb9c5e19e91 beb0b407 .config strace log report syz C WARNING in __v9fs_get_acl
ci-upstream-kasan-gce-smack-root 2021/08/12 10:20 upstream 761c6d7ec820 6972b106 .config console log report syz C WARNING in __v9fs_get_acl
ci-upstream-linux-next-kasan-gce-root 2022/08/07 19:09 linux-next cb71b93c2dc3 88e3a122 .config strace log report syz C WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/03 06:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/11/30 23:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/11/30 17:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-kasan-gce-selinux-root 2022/11/30 17:05 upstream 01f856ae6d0c 4c2a66e8 .config console log report syz [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-kasan-gce-root 2022/11/30 16:59 upstream 01f856ae6d0c 4c2a66e8 .config console log report syz [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-kasan-gce-smack-root 2022/12/07 07:09 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-kasan-gce-selinux-root 2022/12/03 19:10 upstream a1e9185d20b5 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-qemu-upstream-386 2022/12/03 21:07 upstream 97ee9d1c1696 e080de16 .config console log report info WARNING in __v9fs_get_acl
ci-upstream-linux-next-kasan-gce-root 2022/09/17 06:15 linux-next e47eb90a0a9a dd9a85ff .config console log report info [disk image] [vmlinux] WARNING in __v9fs_get_acl
ci-upstream-linux-next-kasan-gce-root 2021/08/12 09:53 linux-next 8ca403f3e7a2 6972b106 .config console log report info WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/06 10:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/05 16:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/05 15:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/05 13:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/05 06:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/04 16:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 19:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 16:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 14:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 08:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 07:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/03 00:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/02 11:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/02 10:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/02 06:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/02 05:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2023/01/01 03:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/31 15:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/31 10:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 22:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 21:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 15:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 09:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 05:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/30 03:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/29 21:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/29 15:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/29 13:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/29 03:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/28 20:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/28 15:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/28 06:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/27 19:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/27 16:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/26 20:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/25 22:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/24 20:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/24 13:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/24 08:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/23 21:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/23 13:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/22 23:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/22 22:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/22 10:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 c692fab1 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
ci-upstream-gce-arm64 2022/12/21 22:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 4067838e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in __v9fs_get_acl
* Struck through repros no longer work on HEAD.