x_tables: ip6_tables: rpfilter match: used from hooks OUTPUT, but only valid from PREROUTING INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 5252 Comm: syz-executor0 Not tainted 4.16.0-rc2+ #320 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 assign_lock_key kernel/locking/lockdep.c:729 [inline] register_lock_class+0x1b6c/0x2820 kernel/locking/lockdep.c:755 __lock_acquire+0x1de/0x3e00 kernel/locking/lockdep.c:3319 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3920 del_timer_sync+0xba/0x240 kernel/time/timer.c:1283 led_tg_destroy+0x2dd/0x3f0 net/netfilter/xt_LED.c:185 cleanup_entry+0x242/0x380 net/ipv6/netfilter/ip6_tables.c:673 translate_table+0x1009/0x1690 net/ipv6/netfilter/ip6_tables.c:755 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0x370/0x5f0 net/ipv6/netfilter/ip6_tables.c:1686 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x10b/0x130 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2905 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2975 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453da9 RSP: 002b:00007f27c5041c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f27c50426d4 RCX: 0000000000453da9 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000600 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004d5 R14: 00000000006f7498 R15: 0000000000000000 ------------[ cut here ]------------ ODEBUG: assert_init not available (active state 0) object type: timer_list hint: (null) WARNING: CPU: 1 PID: 5252 at lib/debugobjects.c:291 debug_print_object+0x166/0x220 lib/debugobjects.c:288 audit: type=1400 audit(1519087780.732:14): avc: denied { net_raw } for pid=5270 comm="syz-executor3" capability=13 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 5252 Comm: syz-executor0 Not tainted 4.16.0-rc2+ #320 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 audit: type=1400 audit(1519087780.732:15): avc: denied { dac_override } for pid=5262 comm="syz-executor2" capability=1 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 panic+0x1e4/0x41c kernel/panic.c:183 audit: type=1400 audit(1519087780.747:16): avc: denied { map_create } for pid=5267 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1519087780.747:17): avc: denied { map_read map_write } for pid=5267 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 fixup_bug arch/x86/kernel/traps.c:247 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x58/0x80 arch/x86/entry/entry_64.S:957 RIP: 0010:debug_print_object+0x166/0x220 lib/debugobjects.c:288 RSP: 0018:ffff8801d02f7650 EFLAGS: 00010286 RAX: dffffc0000000008 RBX: 0000000000000005 RCX: ffffffff815abdbe RDX: 0000000000010000 RSI: ffffc90002bae000 RDI: 1ffff1003a05ee4f RBP: ffff8801d02f7690 R08: 0000000000000000 R09: 1ffff1003a05ee21 R10: ffff8801d02f7550 R11: ffffffff86b394b8 R12: 0000000000000001 R13: ffffffff86b4ad20 R14: ffffffff86007e20 R15: ffffffff815fe820 debug_object_assert_init+0x303/0x570 lib/debugobjects.c:654 debug_timer_assert_init kernel/time/timer.c:724 [inline] debug_assert_init kernel/time/timer.c:776 [inline] try_to_del_timer_sync+0x74/0x130 kernel/time/timer.c:1223 del_timer_sync+0x18a/0x240 kernel/time/timer.c:1293 led_tg_destroy+0x2dd/0x3f0 net/netfilter/xt_LED.c:185 cleanup_entry+0x242/0x380 net/ipv6/netfilter/ip6_tables.c:673 translate_table+0x1009/0x1690 net/ipv6/netfilter/ip6_tables.c:755 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0x370/0x5f0 net/ipv6/netfilter/ip6_tables.c:1686 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x10b/0x130 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2905 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2975 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453da9 RSP: 002b:00007f27c5041c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f27c50426d4 RCX: 0000000000453da9 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000600 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004d5 R14: 00000000006f7498 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..