WARNING in cgroup_apply_control_disable

10 views
Skip to first unread message

syzbot

unread,
May 16, 2020, 12:55:12 PM5/16/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 258f0cf7 Linux 4.19.123
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1108bc5e100000
kernel config: https://syzkaller.appspot.com/x/.config?x=b296d33c12741d24
dashboard link: https://syzkaller.appspot.com/bug?extid=4fbe66f8c40f592e0d09
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1624f89c100000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+4fbe66...@syzkaller.appspotmail.com

WARNING: CPU: 0 PID: 7825 at kernel/cgroup/cgroup.c:2992 cgroup_apply_control_disable+0x3fd/0x4c0 kernel/cgroup/cgroup.c:2992
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7825 Comm: syz-executor.4 Not tainted 4.19.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x188/0x20d lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x46 kernel/panic.c:541
report_bug+0x262/0x2a0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:cgroup_apply_control_disable+0x3fd/0x4c0 kernel/cgroup/cgroup.c:2992
Code: ff ff ff e8 b5 f4 05 00 48 89 ef 41 ff d5 e9 1a ff ff ff e8 a5 f4 05 00 48 89 ef e8 dd 08 ff ff e9 08 ff ff ff e8 93 f4 05 00 <0f> 0b e9 ab fd ff ff 48 83 c4 30 5b 5d 41 5c 41 5d 41 5e 41 5f e9
RSP: 0018:ffff88809004f8d8 EFLAGS: 00010293
RAX: ffff8880900ce6c0 RBX: dffffc0000000000 RCX: ffffffff8161d556
RDX: 0000000000000000 RSI: ffffffff8161d7ad RDI: 0000000000000007
RBP: ffff888095bb5ac0 R08: ffff8880900ce6c0 R09: ffffed1015cc4733
R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 0000000000000008
R13: 0000000000000002 R14: ffffffff88df69c0 R15: ffff88809445adc0
cgroup_finalize_control kernel/cgroup/cgroup.c:3059 [inline]
rebind_subsystems+0x3d9/0xaf0 kernel/cgroup/cgroup.c:1682
cgroup_setup_root+0x445/0xad0 kernel/cgroup/cgroup.c:1953
cgroup1_mount+0x6c1/0x113b kernel/cgroup/cgroup-v1.c:1233
cgroup_mount+0x17b/0xa30 kernel/cgroup/cgroup.c:2080
mount_fs+0xa3/0x30c fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x400 fs/namespace.c:961
vfs_kern_mount fs/namespace.c:951 [inline]
do_new_mount fs/namespace.c:2469 [inline]
do_mount+0x4f4/0x2a40 fs/namespace.c:2799
ksys_mount+0xd7/0x150 fs/namespace.c:3015
__do_sys_mount fs/namespace.c:3029 [inline]
__se_sys_mount fs/namespace.c:3026 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3026
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45f47a
Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 8c fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 8c fb ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 002b:00007ffc24297618 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc24297670 RCX: 000000000045f47a
RDX: 00000000004caf91 RSI: 00000000004c1665 RDI: 00000000004c1628
RBP: 0000000000000000 R08: 00000000004cfa00 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000418590
R13: 00007ffc24297898 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages