netlink: 'syz-executor.2': attribute type 1 has an invalid length. general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 8526 Comm: syz-executor.2 Not tainted 5.6.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_u8 include/net/netlink.h:1528 [inline] RIP: 0010:macsec_upd_offload+0x198/0x530 drivers/net/macsec.c:2597 Code: 48 3d 00 f0 ff ff 48 89 c3 0f 87 3e 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 64 24 38 49 8d 7c 24 04 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 a4 02 00 00 RSP: 0018:ffffc90004577578 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888087c1c000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000004 RBP: 1ffff920008aeeb1 R08: fffff520008aeeb8 R09: 000000000000000a R10: 1ffff920008aee9b R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888087d08080 R15: ffff888218b64c00 FS: 00007f747131a700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 000000009abc4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: genl_family_rcv_msg_doit net/netlink/genetlink.c:673 [inline] genl_family_rcv_msg net/netlink/genetlink.c:718 [inline] genl_rcv_msg+0x5a9/0xf30 net/netlink/genetlink.c:735 netlink_rcv_skb+0x119/0x340 net/netlink/af_netlink.c:2469 genl_rcv+0x1f/0x30 net/netlink/genetlink.c:746 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x434/0x630 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x714/0xc60 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xac/0xe0 net/socket.c:672 ____sys_sendmsg+0x54e/0x750 net/socket.c:2345 ___sys_sendmsg+0xe4/0x160 net/socket.c:2399 __sys_sendmsg+0xce/0x170 net/socket.c:2432 do_syscall_64+0xc6/0x620 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7471319c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f747131a6d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009f5 R14: 00000000004ccac9 R15: 000000000076bf0c Modules linked in: ---[ end trace f235f440bc8aa6f0 ]--- RIP: 0010:nla_get_u8 include/net/netlink.h:1528 [inline] RIP: 0010:macsec_upd_offload+0x198/0x530 drivers/net/macsec.c:2597 Code: 48 3d 00 f0 ff ff 48 89 c3 0f 87 3e 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 64 24 38 49 8d 7c 24 04 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 a4 02 00 00 RSP: 0018:ffffc90004577578 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888087c1c000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000004 RBP: 1ffff920008aeeb1 R08: fffff520008aeeb8 R09: 000000000000000a R10: 1ffff920008aee9b R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888087d08080 R15: ffff888218b64c00 FS: 00007f747131a700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e0ae26000 CR3: 000000009abc4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400