Eric Dumazet
9e57501066
net/ipv6: fix lock imbalance in ip6_route_del()
WARNING: lock held when returning to user space!
4.17.0-rc3+ #37 Not tainted
syz-executor1/27662 is leaving the kernel with locks still held!
1 lock held by syz-executor1/27662:
#0: 00000000f661aee7 (rcu_read_lock){....}, at: ip6_route_del+0xea/0x13f0 net/ipv6/route.c:3206
BUG: scheduling while atomic: syz-executor1/27662/0x00000002
INFO: lockdep is turned off.
Modules linked in:
Kernel panic - not syncing: scheduling while atomic
CPU: 1 PID: 27662 Comm: syz-executor1 Not tainted 4.17.0-rc3+ #37
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
panic+0x22f/0x4de kernel/panic.c:184
__schedule_bug.cold.85+0xdf/0xdf kernel/sched/core.c:3290
schedule_debug kernel/sched/core.c:3307 [inline]
__schedule+0x139e/0x1e30 kernel/sched/core.c:3412
schedule+0xef/0x430 kernel/sched/core.c:3549
exit_to_usermode_loop+0x220/0x310 arch/x86/entry/common.c:152
prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline]
syscall_return_slowpath arch/x86/entry/common.c:265 [inline]
do_syscall_64+0x6ac/0x800 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455979
RSP: 002b:00007fbf4051dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fbf4051e6d4 RCX: 0000000000455979
RDX: 00000000200001c0 RSI: 000000000000890c RDI: 0000000000000013
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000003c8 R14: 00000000006f9b60 R15: 0000000000000000
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..
Fixes: 23fb93a4d3 ("net/ipv6: Cleanup exception and cache route handling")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Ahern <dsahern@gmail.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-10 17:29:36 -04:00
..
2018-03-27 13:18:09 -04:00
2018-05-06 21:51:37 -04:00
2017-10-20 13:15:07 +01:00
2018-04-25 13:03:37 -04:00
2018-03-27 13:18:09 -04:00
2018-04-29 21:29:55 -04:00
2017-11-15 11:56:19 -08:00
2018-04-19 15:40:13 -04:00
2017-07-04 22:35:16 +01:00
2018-04-04 11:31:57 -04:00
2018-02-27 10:46:01 +01:00
2018-01-17 00:10:42 -05:00
2018-05-07 23:50:27 -04:00
2018-04-17 13:39:51 -04:00
2017-09-01 20:33:42 -07:00
2018-04-23 10:21:24 -04:00
2017-05-21 13:42:36 -04:00
2018-03-27 13:18:09 -04:00
2017-01-28 10:33:06 -05:00
2017-12-03 10:18:28 -05:00
2018-02-16 15:57:42 -05:00
2018-05-04 19:54:52 -04:00
2018-03-27 13:18:09 -04:00
2018-05-07 23:50:27 -04:00
2017-11-02 11:10:55 +01:00
2018-04-17 13:39:51 -04:00
2018-04-26 15:07:42 -04:00
2018-05-06 21:51:37 -04:00
2018-04-05 15:16:15 -04:00
2016-11-02 15:18:36 -04:00
2018-05-01 09:38:41 +02:00
2018-04-23 10:21:24 -04:00
2016-11-04 14:45:23 -04:00
2018-02-28 11:43:28 -05:00
2018-03-01 13:13:23 -05:00
2017-11-02 11:10:55 +01:00
2018-03-27 13:18:09 -04:00
2016-12-25 17:21:23 +01:00
2018-04-19 15:40:12 -04:00
2018-02-25 20:51:13 +01:00
2017-11-24 01:37:35 +09:00
2018-04-04 11:31:57 -04:00
2018-03-31 23:25:39 -04:00
2017-03-24 13:17:07 -07:00
2018-03-27 13:18:09 -04:00
2018-04-18 23:19:39 -04:00
2018-05-10 17:29:36 -04:00
2017-09-01 18:35:23 -07:00
2018-04-30 12:13:43 -04:00
2018-03-04 13:04:22 -05:00
2018-03-27 13:18:09 -04:00
2018-04-05 15:16:15 -04:00
2018-03-25 20:53:54 -04:00
2018-04-25 13:02:15 -04:00
2018-03-31 23:33:04 -04:00
2018-01-22 16:01:30 -05:00
2017-11-02 11:10:55 +01:00
2018-05-08 22:30:06 -04:00
2018-05-10 15:13:34 -04:00
2018-03-27 13:18:09 -04:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2017-06-02 13:57:27 -04:00
2017-06-02 13:57:27 -04:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-04-17 23:41:18 -04:00
2017-02-09 10:22:17 +01:00
2018-04-26 07:51:48 +02:00
2018-03-27 13:18:09 -04:00