Hello,
syzbot found the following crash on:
HEAD commit: 38733bad ANDROID: sched: Disallow WALT with CFS bandwidth ..
git tree: android-4.14
console output:
https://syzkaller.appspot.com/x/log.txt?x=11eaaae1600000
kernel config:
https://syzkaller.appspot.com/x/.config?x=56a11d56cc83fc65
dashboard link:
https://syzkaller.appspot.com/bug?extid=0b54a130f1dc6b817b6b
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=120b82e1600000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+0b54a1...@syzkaller.appspotmail.com
audit: type=1400 audit(1567762095.347:9): avc: denied { map } for
pid=1779 comm="syz-execprog" path="/root/syzkaller-shm731338059" dev="sda1"
ino=2339 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1954 at net/xfrm/xfrm_policy.c:761
xfrm_policy_insert+0x717/0x1000 net/xfrm/xfrm_policy.c:761
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 1954 Comm: syz-executor.0 Not tainted 4.14.141+ #0
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0xca/0x134 lib/dump_stack.c:53
panic+0x1ea/0x3d3 kernel/panic.c:182
__warn.cold+0x2f/0x3a kernel/panic.c:546
report_bug+0x20a/0x248 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bf/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:xfrm_policy_insert+0x717/0x1000 net/xfrm/xfrm_policy.c:761
RSP: 0018:ffff8881cc9a74c0 EFLAGS: 00010297
RAX: ffff8881cca3de00 RBX: ffff8881cca36d00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881cc92e94c
RBP: dffffc0000000000 R08: 000000000000415f R09: ffffed1039f73370
R10: ffffed1039f7336f R11: ffff8881cfb99b7b R12: ffff8881cc92e880
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8881cca36e08
xfrm_add_policy+0x21d/0x480 net/xfrm/xfrm_user.c:1675
xfrm_user_rcv_msg+0x2ef/0x550 net/xfrm/xfrm_user.c:2676
netlink_rcv_skb+0x137/0x3a0 net/netlink/af_netlink.c:2432
xfrm_netlink_rcv+0x6b/0x90 net/xfrm/xfrm_user.c:2684
netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
netlink_unicast+0x478/0x650 net/netlink/af_netlink.c:1312
netlink_sendmsg+0x66a/0xbe0 net/netlink/af_netlink.c:1877
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb7/0x100 net/socket.c:656
___sys_sendmsg+0x752/0x890 net/socket.c:2062
__sys_sendmsg+0xb6/0x150 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459879
RSP: 002b:00007fdab4813c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdab48146d4
R13: 00000000004c77d9 R14: 00000000004dd030 R15: 00000000ffffffff
Kernel Offset: 0x1e000000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
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