| Title | Rank 🛈 | Repro | Cause bisect | Fix bisect | Count | Last | Reported |
|---|---|---|---|---|---|---|---|
| possible deadlock in rtnl_lock (5) net | 4 | C | 1009 | 2744d | 2773d |
syzbot |
sign-in | mailing list | source | docs |
| Title | Rank 🛈 | Repro | Cause bisect | Fix bisect | Count | Last | Reported |
|---|---|---|---|---|---|---|---|
| possible deadlock in rtnl_lock (5) net | 4 | C | 1009 | 2744d | 2773d |
| Title | Replies (including bot) | Last reply |
|---|---|---|
| WARNING: possible recursive locking detected | 2 (3) | 2018/04/11 19:45 |
IPVS: stopping backup sync thread 4537 ...
IPVS: stopping backup sync thread 4539 ...
IPVS: stopping backup sync thread 4544 ...
============================================
WARNING: possible recursive locking detected
4.16.0+ #2 Not tainted
--------------------------------------------
syzkaller006243/4519 is trying to acquire lock:
0000000091b818eb (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
but task is already holding lock:
0000000091b818eb (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(rtnl_mutex);
lock(rtnl_mutex);
*** DEADLOCK ***
May be due to missing lock nesting notation
2 locks held by syzkaller006243/4519:
#0: 0000000091b818eb (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
#1: 00000000712d8334 (ipvs->sync_mutex){+.+.}, at: do_ip_vs_set_ctl+0x562/0x1d30 net/netfilter/ipvs/ip_vs_ctl.c:2388
stack backtrace:
CPU: 1 PID: 4519 Comm: syzkaller006243 Not tainted 4.16.0+ #2
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+0x1b9/0x294 lib/dump_stack.c:113
print_deadlock_bug kernel/locking/lockdep.c:1761 [inline]
check_deadlock kernel/locking/lockdep.c:1805 [inline]
validate_chain kernel/locking/lockdep.c:2401 [inline]
__lock_acquire.cold.62+0x18c/0x55b kernel/locking/lockdep.c:3431
lock_acquire+0x1dc/0x520 kernel/locking/lockdep.c:3920
__mutex_lock_common kernel/locking/mutex.c:756 [inline]
__mutex_lock+0x16d/0x17f0 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
rtnl_lock+0x17/0x20 net/core/rtnetlink.c:74
ip_mc_drop_socket+0x8f/0x270 net/ipv4/igmp.c:2643
inet_release+0x4e/0x1f0 net/ipv4/af_inet.c:413
sock_release+0x96/0x1b0 net/socket.c:594
start_sync_thread+0xdc3/0x2d40 net/netfilter/ipvs/ip_vs_sync.c:1924
do_ip_vs_set_ctl+0x59c/0x1d30 net/netfilter/ipvs/ip_vs_ctl.c:2389
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x7d/0xd0 net/netfilter/nf_sockopt.c:115
ip_setsockopt+0xd8/0xf0 net/ipv4/ip_sockglue.c:1253
udp_setsockopt+0x62/0xa0 net/ipv4/udp.c:2413
sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:3039
__sys_setsockopt+0x1bd/0x390 net/socket.c:1903
SYSC_setsockopt net/socket.c:1914 [inline]
SyS_setsockopt+0x34/0x50 net/socket.c:1911
do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x44a729
RSP: 002b:00007fdcbf8fdda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000006e29e4 RCX: 000000000044a729
RDX: 000000000000048b RSI: 0000000000000000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000018 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00000000006e29e0
R13: 6e69622f7665642f R14: 1100000000000000 R15: 00000000006e2b60
| Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2018/04/13 17:51 | upstream | 16e205cf42da | 0a0c5db6 | .config | console log | report | syz | C | ci-upstream-kasan-gce-root | |||
| 2018/04/12 11:15 | upstream | b284d4d5a678 | 9cd56d71 | .config | console log | report | syz | C | ci-upstream-kasan-gce | |||
| 2018/04/12 00:48 | upstream | b284d4d5a678 | 9cd56d71 | .config | console log | report | syz | C | ci-upstream-kasan-gce | |||
| 2018/04/11 10:41 | upstream | b284d4d5a678 | 8b8de427 | .config | console log | report | syz | C | ci-upstream-kasan-gce | |||
| 2018/04/11 05:43 | upstream | c18bb396d3d2 | 8b8de427 | .config | console log | report | syz | C | ci-upstream-kasan-gce-root | |||
| 2018/04/13 13:09 | upstream | 16e205cf42da | 0a0c5db6 | .config | console log | report | syz | ci-upstream-kasan-gce | ||||
| 2018/04/13 10:25 | upstream | 16e205cf42da | 0a0c5db6 | .config | console log | report | syz | ci-upstream-kasan-gce | ||||
| 2018/04/12 05:16 | upstream | b284d4d5a678 | 9cd56d71 | .config | console log | report | syz | ci-upstream-kasan-gce-root | ||||
| 2018/04/12 05:11 | upstream | f2d285669aae | 9cd56d71 | .config | console log | report | syz | ci-upstream-kasan-gce-386 | ||||
| 2018/04/11 20:07 | upstream | f2d285669aae | 8b8de427 | .config | console log | report | syz | ci-upstream-kasan-gce-386 | ||||
| 2018/04/11 05:42 | upstream | f2d285669aae | 8b8de427 | .config | console log | report | syz | ci-upstream-kasan-gce-386 | ||||
| 2018/04/13 02:10 | net-next-old | 17dec0a94915 | eb2295de | .config | console log | report | syz | ci-upstream-net-kasan-gce |