[<prev] [next>] [day] [month] [year] [list]
Message-ID: <001a113f890435f93f0563c78742@google.com>
Date: Sat, 27 Jan 2018 12:05:01 -0800
From: syzbot <syzbot+5208e0989d3d8116837d@...kaller.appspotmail.com>
To: coreteam@...filter.org, davem@...emloft.net, fw@...len.de,
kadlec@...ckhole.kfki.hu, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
pablo@...filter.org, syzkaller-bugs@...glegroups.com
Subject: possible deadlock in xt_find_target
Hello,
syzbot hit the following crash on upstream commit
c4e0ca7fa24137e372d6135fe16e8df8e123f116 (Fri Jan 26 23:10:50 2018 +0000)
Merge tag 'riscv-for-linus-4.15-maintainers' of
git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux
So far this crash happened 2 times on net-next, upstream.
Unfortunately, I don't have any reproducer for this crash yet.
Raw console output is attached.
compiler: gcc (GCC) 7.1.1 20170620
.config is attached.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+5208e0989d3d8116837d@...kaller.appspotmail.com
It will help syzbot understand when the bug is fixed. See footer for
details.
If you forward the report, please keep this part and the footer.
======================================================
WARNING: possible circular locking dependency detected
4.15.0-rc9+ #283 Not tainted
------------------------------------------------------
syz-executor4/5202 is trying to acquire lock:
(&xt[i].mutex){+.+.}, at: [<000000009681afcb>] xt_find_target+0x44/0x1e0
net/netfilter/x_tables.c:229
but task is already holding lock:
(sk_lock-AF_INET6){+.+.}, at: [<00000000319e94f5>] lock_sock
include/net/sock.h:1461 [inline]
(sk_lock-AF_INET6){+.+.}, at: [<00000000319e94f5>]
ipv6_setsockopt+0xff/0x150 net/ipv6/ipv6_sockglue.c:927
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #2 (sk_lock-AF_INET6){+.+.}:
lock_sock_nested+0xc2/0x110 net/core/sock.c:2770
lock_sock include/net/sock.h:1461 [inline]
do_ipv6_setsockopt.isra.8+0x3c5/0x39d0 net/ipv6/ipv6_sockglue.c:167
ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922
udpv6_setsockopt+0x45/0x80 net/ipv6/udp.c:1452
sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1831 [inline]
SyS_setsockopt+0x189/0x360 net/socket.c:1810
entry_SYSCALL_64_fastpath+0x29/0xa0
-> #1 (rtnl_mutex){+.+.}:
__mutex_lock_common kernel/locking/mutex.c:756 [inline]
__mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72
unregister_netdevice_notifier+0x91/0x4e0 net/core/dev.c:1656
clusterip_config_entry_put net/ipv4/netfilter/ipt_CLUSTERIP.c:114
[inline]
clusterip_tg_destroy+0x389/0x6e0
net/ipv4/netfilter/ipt_CLUSTERIP.c:508
cleanup_entry+0x218/0x350 net/ipv4/netfilter/ip_tables.c:659
__do_replace+0x7d7/0xa90 net/ipv4/netfilter/ip_tables.c:1096
do_replace net/ipv4/netfilter/ip_tables.c:1152 [inline]
do_ipt_set_ctl+0x40f/0x5f0 net/ipv4/netfilter/ip_tables.c:1682
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1256
tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2875
sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1831 [inline]
SyS_setsockopt+0x189/0x360 net/socket.c:1810
entry_SYSCALL_64_fastpath+0x29/0xa0
-> #0 (&xt[i].mutex){+.+.}:
lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3914
__mutex_lock_common kernel/locking/mutex.c:756 [inline]
__mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
xt_find_target+0x44/0x1e0 net/netfilter/x_tables.c:229
xt_request_find_target+0x2c/0xb0 net/netfilter/x_tables.c:255
find_check_entry.isra.7+0x669/0xcf0
net/ipv6/netfilter/ip6_tables.c:572
translate_table+0xf52/0x1690 net/ipv6/netfilter/ip6_tables.c:749
do_replace net/ipv6/netfilter/ip6_tables.c:1167 [inline]
do_ip6t_set_ctl+0x370/0x5f0 net/ipv6/netfilter/ip6_tables.c:1693
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:928
udpv6_setsockopt+0x45/0x80 net/ipv6/udp.c:1452
sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1831 [inline]
SyS_setsockopt+0x189/0x360 net/socket.c:1810
entry_SYSCALL_64_fastpath+0x29/0xa0
other info that might help us debug this:
Chain exists of:
&xt[i].mutex --> rtnl_mutex --> sk_lock-AF_INET6
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(sk_lock-AF_INET6);
lock(rtnl_mutex);
lock(sk_lock-AF_INET6);
lock(&xt[i].mutex);
*** DEADLOCK ***
1 lock held by syz-executor4/5202:
#0: (sk_lock-AF_INET6){+.+.}, at: [<00000000319e94f5>] lock_sock
include/net/sock.h:1461 [inline]
#0: (sk_lock-AF_INET6){+.+.}, at: [<00000000319e94f5>]
ipv6_setsockopt+0xff/0x150 net/ipv6/ipv6_sockglue.c:927
stack backtrace:
CPU: 0 PID: 5202 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
print_circular_bug.isra.37+0x2cd/0x2dc kernel/locking/lockdep.c:1218
check_prev_add kernel/locking/lockdep.c:1858 [inline]
check_prevs_add kernel/locking/lockdep.c:1971 [inline]
validate_chain kernel/locking/lockdep.c:2412 [inline]
__lock_acquire+0x30a8/0x3e00 kernel/locking/lockdep.c:3426
lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3914
__mutex_lock_common kernel/locking/mutex.c:756 [inline]
__mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
xt_find_target+0x44/0x1e0 net/netfilter/x_tables.c:229
xt_request_find_target+0x2c/0xb0 net/netfilter/x_tables.c:255
find_check_entry.isra.7+0x669/0xcf0 net/ipv6/netfilter/ip6_tables.c:572
translate_table+0xf52/0x1690 net/ipv6/netfilter/ip6_tables.c:749
do_replace net/ipv6/netfilter/ip6_tables.c:1167 [inline]
do_ip6t_set_ctl+0x370/0x5f0 net/ipv6/netfilter/ip6_tables.c:1693
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:928
udpv6_setsockopt+0x45/0x80 net/ipv6/udp.c:1452
sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1831 [inline]
SyS_setsockopt+0x189/0x360 net/socket.c:1810
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fa83a2f6700 RCX: 0000000000453299
RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000013
RBP: 0000000000000000 R08: 00000000000003b8 R09: 0000000000000000
R10: 0000000020019c48 R11: 0000000000000212 R12: 0000000000000000
R13: 0000000000a2f33f R14: 00007fa83a2f69c0 R15: 0000000000000000
xt_AUDIT: Audit type out of range (valid range: 0..2)
x_tables: ip_tables: REJECT.0 target: invalid size 8 (kernel) != (user) 6
x_tables: ip_tables: REJECT.0 target: invalid size 8 (kernel) != (user) 6
x_tables: ip_tables: REJECT.0 target: invalid size 8 (kernel) != (user) 6
xt_HMARK: hash modulus can't be zero
Cannot find add_set index 0 as target
Cannot find add_set index 0 as target
xt_HMARK: hash modulus can't be zero
xt_HMARK: hash modulus can't be zero
Cannot find add_set index 0 as target
xt_HMARK: hash modulus can't be zero
xt_HMARK: hash modulus can't be zero
xt_cgroup: invalid path, errno=-2
audit: type=1400 audit(1517070056.309:30): avc: denied { map } for
pid=5516 comm="syz-executor1" path="socket:[13815]" dev="sockfs" ino=13815
scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023
tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=socket
permissive=1
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
xt_cgroup: invalid path, errno=-2
x_tables: ip_tables: TCPMSS target: only valid for protocol 6
x_tables: ip_tables: TCPMSS target: only valid for protocol 6
x_tables: ip_tables: TCPMSS target: only valid for protocol 6
xt_hashlimit: overflow, try lower: 0/0
xt_hashlimit: overflow, try lower: 0/0
xt_hashlimit: overflow, try lower: 0/0
TCP: request_sock_TCP: Possible SYN flooding on port 20002. Sending
cookies. Check SNMP counters.
xt_cgroup: no path or classid specified
xt_cgroup: no path or classid specified
xt_cgroup: no path or classid specified
dccp_invalid_packet: pskb_may_pull failed
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 1 PID: 7230 Comm: syz-executor1 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3043 [inline]
SyS_mount+0x3c/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007ff112fe0c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff112fe0aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007ff112fe0a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007ff112fe0bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 7244 Comm: syz-executor1 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3048 [inline]
SyS_mount+0x6b/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007ff112fe0c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff112fe0aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007ff112fe0a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007ff112fe0bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7265 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc_node mm/slab.c:3289 [inline]
kmem_cache_alloc_node_trace+0x5a/0x750 mm/slab.c:3651
__do_kmalloc_node mm/slab.c:3671 [inline]
__kmalloc_node+0x33/0x70 mm/slab.c:3679
kmalloc_node include/linux/slab.h:541 [inline]
kvmalloc_node+0x64/0xd0 mm/util.c:397
kvmalloc include/linux/mm.h:541 [inline]
kvzalloc include/linux/mm.h:549 [inline]
alloc_netdev_mqs+0x16d/0xed0 net/core/dev.c:8134
tun_set_iff drivers/net/tun.c:2274 [inline]
__tun_chr_ioctl+0x138b/0x3dd0 drivers/net/tun.c:2533
tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2782
vfs_ioctl fs/ioctl.c:46 [inline]
do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fcadf10cc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcadf10caa0 RCX: 0000000000453299
RDX: 0000000020493000 RSI: 00000000400454ca RDI: 0000000000000013
RBP: 00007fcadf10ca90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fcadf10cbc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7274 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3043 [inline]
SyS_mount+0x3c/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa83a2f5aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007fa83a2f5a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fa83a2f5bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7279 Comm: syz-executor3 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3043 [inline]
SyS_mount+0x3c/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007f7d9b288c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7d9b288aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007f7d9b288a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007f7d9b288bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7289 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3608
kmalloc include/linux/slab.h:499 [inline]
__hw_addr_create_ex+0xaa/0x3c0 net/core/dev_addr_lists.c:34
__hw_addr_add_ex+0xfc/0x270 net/core/dev_addr_lists.c:80
__hw_addr_add net/core/dev_addr_lists.c:88 [inline]
dev_addr_init+0x167/0x260 net/core/dev_addr_lists.c:371
alloc_netdev_mqs+0x21a/0xed0 net/core/dev.c:8145
tun_set_iff drivers/net/tun.c:2274 [inline]
__tun_chr_ioctl+0x138b/0x3dd0 drivers/net/tun.c:2533
tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2782
vfs_ioctl fs/ioctl.c:46 [inline]
do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fcadf10cc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcadf10caa0 RCX: 0000000000453299
RDX: 0000000020493000 RSI: 00000000400454ca RDI: 0000000000000013
RBP: 00007fcadf10ca90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fcadf10cbc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7287 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3048 [inline]
SyS_mount+0x6b/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa83a2f5aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007fa83a2f5a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fa83a2f5bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7286 Comm: syz-executor6 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc+0x63/0x760 mm/slab.c:3717
kmalloc include/linux/slab.h:504 [inline]
kzalloc include/linux/slab.h:688 [inline]
l2tp_session_create+0x8e/0xc60 net/l2tp/l2tp_core.c:1749
pppol2tp_connect+0xed7/0x1dd0 net/l2tp/l2tp_ppp.c:748
SYSC_connect+0x213/0x4a0 net/socket.c:1621
SyS_connect+0x24/0x30 net/socket.c:1602
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fee38483c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007fee38483aa0 RCX: 0000000000453299
RDX: 000000000000002e RSI: 00000000205fafd2 RDI: 0000000000000015
RBP: 00007fee38483a90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fee38483bc8 R14: 00000000004b8096 R15: 0000000000000000
CPU: 0 PID: 7268 Comm: syz-executor1 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3608
kmalloc include/linux/slab.h:499 [inline]
copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721
SYSC_mount fs/namespace.c:3053 [inline]
SyS_mount+0x87/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007ff112fe0c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff112fe0aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007ff112fe0a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007ff112fe0bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 7297 Comm: syz-executor3 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
__do_kmalloc mm/slab.c:3706 [inline]
__kmalloc_track_caller+0x5f/0x760 mm/slab.c:3723
memdup_user+0x2c/0x90 mm/util.c:164
strndup_user+0x62/0xb0 mm/util.c:195
copy_mount_string fs/namespace.c:2746 [inline]
SYSC_mount fs/namespace.c:3048 [inline]
SyS_mount+0x6b/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007f7d9b288c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7d9b288aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007f7d9b288a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007f7d9b288bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7303 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3608
kmalloc include/linux/slab.h:499 [inline]
copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721
SYSC_mount fs/namespace.c:3053 [inline]
SyS_mount+0x87/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa83a2f5aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007fa83a2f5a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fa83a2f5bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7314 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc+0x47/0x760 mm/slab.c:3542
getname_flags+0xcb/0x580 fs/namei.c:138
user_path_at_empty+0x2d/0x50 fs/namei.c:2590
user_path include/linux/namei.h:62 [inline]
do_mount+0x15f/0x2bb0 fs/namespace.c:2782
SYSC_mount fs/namespace.c:3058 [inline]
SyS_mount+0xab/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa83a2f5aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007fa83a2f5a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fa83a2f5bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 7311 Comm: syz-executor3 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3608
kmalloc include/linux/slab.h:499 [inline]
copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721
SYSC_mount fs/namespace.c:3053 [inline]
SyS_mount+0x87/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007f7d9b288c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7d9b288aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007f7d9b288a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007f7d9b288bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 7319 Comm: syz-executor4 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3368 [inline]
kmem_cache_alloc+0x47/0x760 mm/slab.c:3542
getname_flags+0xcb/0x580 fs/namei.c:138
user_path_at_empty+0x2d/0x50 fs/namei.c:2590
user_path include/linux/namei.h:62 [inline]
do_mount+0x15f/0x2bb0 fs/namespace.c:2782
SYSC_mount fs/namespace.c:3058 [inline]
SyS_mount+0xab/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007fa83a2f5c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa83a2f5aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007fa83a2f5a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007fa83a2f5bc8 R14: 00000000004b8096 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name fail_page_alloc, interval 1, probability 0, space 0, times 1
CPU: 0 PID: 7322 Comm: syz-executor3 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_fail_alloc_page mm/page_alloc.c:2948 [inline]
prepare_alloc_pages mm/page_alloc.c:4187 [inline]
__alloc_pages_nodemask+0x338/0xd80 mm/page_alloc.c:4226
__alloc_pages include/linux/gfp.h:456 [inline]
__alloc_pages_node include/linux/gfp.h:469 [inline]
kmem_getpages mm/slab.c:1413 [inline]
cache_grow_begin+0x72/0x3f0 mm/slab.c:2668
cache_alloc_refill mm/slab.c:3035 [inline]
____cache_alloc mm/slab.c:3117 [inline]
__do_cache_alloc mm/slab.c:3339 [inline]
slab_alloc mm/slab.c:3374 [inline]
kmem_cache_alloc_trace+0x3f0/0x750 mm/slab.c:3608
kmalloc include/linux/slab.h:499 [inline]
copy_mount_options+0x5f/0x2e0 fs/namespace.c:2721
SYSC_mount fs/namespace.c:3053 [inline]
SyS_mount+0x87/0x120 fs/namespace.c:3035
entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x453299
RSP: 002b:00007f7d9b288c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7d9b288aa0 RCX: 0000000000453299
RDX: 0000000020018ffa RSI: 0000000020022000 RDI: 0000000020038ff8
RBP: 00007f7d9b288a90 R08: 0000000020038000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b8096
R13: 00007f7d9b288bc8 R14: 00000000004b8096 R15: 0000000000000000
CPU: 1 PID: 7299 Comm: syz-executor5 Not tainted 4.15.0-rc9+ #283
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
fail_dump lib/fault-inject.c:51 [inline]
should_fail+0x8c0/0xa40 lib/fault-inject.c:149
should_failslab+0xec/0x120 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc_node mm/slab.c:3289 [inline]
kmem_cache_alloc_node_trace+0x5a/0x750 mm/slab.c:3651
__do_kmalloc_node mm/slab.c:3671 [inline]
__kmalloc_node+0x33/0x70 mm/slab.c:3679
kmalloc_node include/linux/slab.h:541 [inline]
kvmalloc_node+0x64/0xd0 mm/util.c:397
kvmalloc include/linux/mm.h:541 [inline]
kvzalloc include/linux/mm.h:549 [inline]
netif_alloc_netdev_queues net/core/dev.c:7587 [inline]
alloc_netdev_mqs+0x81b/0xed0 net/core/dev.c:8177
---
This bug is generated by a dumb bot. It may contain errors.
See https://goo.gl/tpsmEJ for details.
Direct all questions to syzkaller@...glegroups.com.
syzbot will keep track of this bug report.
If you forgot to add the Reported-by tag, once the fix for this bug is
merged
into any tree, please reply to this email with:
#syz fix: exact-commit-title
To mark this as a duplicate of another syzbot report, please reply with:
#syz dup: exact-subject-of-another-report
If it's a one-off invalid bug report, please reply with:
#syz invalid
Note: if the crash happens again, it will cause creation of a new bug
report.
Note: all commands must start from beginning of the line in the email body.
View attachment "raw.log.txt" of type "text/plain" (507126 bytes)
View attachment "config.txt" of type "text/plain" (135962 bytes)
Powered by blists - more mailing lists