ptrace attach of "/root/syz-executor.4"[6348] was attempted by "/root/syz-executor.4"[2233] netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'. ================================================================== 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+0x373/0x380 net/netfilter/nf_nat_core.c:784 Read of size 8 at addr ffffffff871c7398 by task syz-executor.0/2245 CPU: 1 PID: 2245 Comm: syz-executor.0 Not tainted 4.14.183-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+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x5/0x1dc 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/0x2b9 mm/kasan/report.c:393 nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] nfnetlink_parse_nat_setup+0x373/0x380 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:1496 [inline] ctnetlink_create_conntrack+0x477/0x1040 net/netfilter/nf_conntrack_netlink.c:1840 ctnetlink_new_conntrack+0x45f/0xbf4 net/netfilter/nf_conntrack_netlink.c:1964 nfnetlink_rcv_msg+0x9e1/0xc00 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2433 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515 ptrace attach of "/root/syz-executor.4"[6348] was attempted by "/root/syz-executor.4"[2257] netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x64a/0xbb0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 sock_no_sendpage+0xe5/0x110 net/core/sock.c:2572 kernel_sendpage+0x82/0xd0 net/socket.c:3407 sock_sendpage+0x84/0xa0 net/socket.c:871 pipe_to_sendpage+0x226/0x2d0 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x332/0x740 fs/splice.c:626 splice_from_pipe+0xc6/0x120 fs/splice.c:661 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0xca0/0x1230 fs/splice.c:1382 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007f7db163fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000507a00 RCX: 000000000045ca69 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000078bfa0 R08: 000000000004ffe0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000bae R14: 00000000004cea37 R15: 00007f7db16406d4 The buggy address belongs to the variable: nft_quota_ops+0xb8/0xc0 Memory state around the buggy address: ffffffff871c7280: 00 00 00 00 00 00 fa fa fa fa fa fa 00 00 00 00 ffffffff871c7300: 00 00 00 00 00 00 00 fa fa fa fa fa 06 fa fa fa >ffffffff871c7380: fa fa fa fa 00 00 00 00 00 00 fa fa fa fa fa fa ^ ffffffff871c7400: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa ffffffff871c7480: 00 00 00 03 fa fa fa fa 04 fa fa fa fa fa fa fa ==================================================================