audit: type=1400 audit(1582969593.600:36): avc: denied { map } for pid=7452 comm="syz-executor259" path="/root/syz-executor259891909" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 netlink: 40 bytes leftover after parsing attributes in process `syz-executor259'. audit: type=1400 audit(1582969593.600:37): avc: denied { create } for pid=7452 comm="syz-executor259" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 ================================================================== audit: type=1400 audit(1582969593.600:38): avc: denied { write } for pid=7452 comm="syz-executor259" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 BUG: KASAN: global-out-of-bounds in nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] BUG: KASAN: global-out-of-bounds in nfnetlink_parse_nat_setup+0x364/0x370 net/netfilter/nf_nat_core.c:784 Read of size 8 at addr ffffffff873ca678 by task syz-executor259/7452 CPU: 1 PID: 7452 Comm: syz-executor259 Not tainted 4.14.172-syzkaller #0 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+0x13e/0x194 lib/dump_stack.c:58 print_address_description.cold+0x5/0x1e2 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2ae mm/kasan/report.c:393 nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] nfnetlink_parse_nat_setup+0x364/0x370 net/netfilter/nf_nat_core.c:784 ctnetlink_parse_nat_setup+0x70/0x490 net/netfilter/nf_conntrack_netlink.c:1421 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1491 [inline] ctnetlink_create_conntrack+0x437/0x1040 net/netfilter/nf_conntrack_netlink.c:1840 ctnetlink_new_conntrack+0x460/0xc30 net/netfilter/nf_conntrack_netlink.c:1964 nfnetlink_rcv_msg+0xa08/0xc00 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2432 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x437/0x620 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x733/0xbe0 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xc5/0x100 net/socket.c:656 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4401a9 RSP: 002b:00007ffe366dfc88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004401a9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401a30 R13: 0000000000401ac0 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: nft_notrack_ops+0xb8/0xc0 Memory state around the buggy address: ffffffff873ca500: 00 00 00 00 00 00 fa fa fa fa fa fa 00 00 00 00 ffffffff873ca580: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 00 >ffffffff873ca600: 00 00 00 fa fa fa fa fa 00 fa fa fa fa fa fa fa ^ ffffffff873ca680: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa ffffffff873ca700: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa ==================================================================