nla_parse: 16 callbacks suppressed netlink: 12 bytes leftover after parsing attributes in process `syz-executor1'. usercopy: kernel memory overwrite attempt detected to 00000000430212b4 (kmalloc-1024) (1001 bytes) ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:72! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 28198 Comm: syz-executor5 Not tainted 4.15.0-rc5+ #177 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:report_usercopy mm/usercopy.c:64 [inline] RIP: 0010:__check_object_size+0x3a2/0x4f0 mm/usercopy.c:264 RSP: 0018:ffff8801c60875f8 EFLAGS: 00010282 RAX: 0000000000000062 RBX: ffffffff8592bb60 RCX: 0000000000000000 RDX: 0000000000000062 RSI: ffffc900038cf000 RDI: ffffed0038c10eb3 RBP: ffff8801c60876e8 R08: 1ffff10038c10e57 R09: 0000000000000000 R10: 0000000093e839ac R11: 0000000000000000 R12: ffffffff8592bb20 R13: ffff8801c322db90 R14: 00000000000003e9 R15: ffffea00070c8b00 FS: 00007fd243337700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f9f000 CR3: 00000001b6145004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_object_size include/linux/thread_info.h:112 [inline] check_copy_size include/linux/thread_info.h:143 [inline] copy_from_user include/linux/uaccess.h:146 [inline] memdup_user+0x46/0x90 mm/util.c:168 xfrm_user_policy+0xf7/0x8c0 net/xfrm/xfrm_state.c:2062 do_ip_setsockopt.isra.12+0xfd9/0x3160 net/ipv4/ip_sockglue.c:1161 ip_setsockopt+0x3a/0xb0 net/ipv4/ip_sockglue.c:1248 raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:855 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1821 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1800 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007fd243336c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fd243337700 RCX: 0000000000452ac9 RDX: 0000000000000011 RSI: 0000000000000000 RDI: 0000000000000013 RBP: 0000000000a2f870 R08: 00000000000003e9 R09: 0000000000000000 R10: 0000000020597000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f7ef R14: 00007fd2433379c0 R15: 0000000000000002 Code: 48 0f 44 da e8 70 5b c0 ff 48 8b 85 28 ff ff ff 4d 89 f1 4c 89 e9 4c 89 e2 48 89 de 48 c7 c7 20 bc 92 85 49 89 c0 e8 e6 10 aa ff <0f> 0b 48 c7 c0 e0 b9 92 85 eb 96 48 c7 c0 20 ba 92 85 eb 8d 48 RIP: report_usercopy mm/usercopy.c:64 [inline] RSP: ffff8801c60875f8 RIP: __check_object_size+0x3a2/0x4f0 mm/usercopy.c:264 RSP: ffff8801c60875f8 ---[ end trace b07513a906c72dd2 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..