netlink: 'syz-executor918': attribute type 21 has an invalid length. netlink: 168 bytes leftover after parsing attributes in process `syz-executor918'. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3600 at include/linux/skbuff.h:2785 skb_mac_header include/linux/skbuff.h:2785 [inline] WARNING: CPU: 1 PID: 3600 at include/linux/skbuff.h:2785 bpf_internal_load_pointer_neg_helper+0x1b1/0x1c0 kernel/bpf/core.c:74 Modules linked in: CPU: 1 PID: 3600 Comm: syz-executor918 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:skb_mac_header include/linux/skbuff.h:2785 [inline] RIP: 0010:bpf_internal_load_pointer_neg_helper+0x1b1/0x1c0 kernel/bpf/core.c:74 Code: ff ff 45 31 f6 e9 5a ff ff ff e8 1a 26 3f 00 e9 3b ff ff ff e8 00 26 3f 00 e9 df fe ff ff e8 f6 25 3f 00 eb 9e e8 2f 21 f3 ff <0f> 0b eb b1 e8 06 26 3f 00 e9 79 fe ff ff 90 41 57 41 56 41 55 41 RSP: 0018:ffffc90002f0f4f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffe10002 RCX: 0000000000000000 RDX: ffff88801e1f57c0 RSI: ffffffff818795e1 RDI: 0000000000000003 RBP: ffff888020c3ac80 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000002 R13: ffff888020df9800 R14: 000000000000ffff R15: 0000000000000000 FS: 0000555555608300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045b630 CR3: 0000000074f9e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ____bpf_skb_load_helper_16 net/core/filter.c:249 [inline] ____bpf_skb_load_helper_16_no_cache net/core/filter.c:260 [inline] bpf_skb_load_helper_16_no_cache+0x205/0x2b0 net/core/filter.c:257 bpf_prog_e4a2190aaec26884+0x41/0x4c bpf_dispatcher_nop_func include/linux/bpf.h:885 [inline] __bpf_prog_run include/linux/filter.h:594 [inline] bpf_prog_run include/linux/filter.h:601 [inline] __bpf_prog_run_save_cb include/linux/filter.h:724 [inline] bpf_prog_run_save_cb include/linux/filter.h:738 [inline] sk_filter_trim_cap+0x351/0x9a0 net/core/filter.c:151 sk_filter include/linux/filter.h:864 [inline] netlink_unicast+0x1bf/0x7f0 net/netlink/af_netlink.c:1347 nlmsg_unicast include/net/netlink.h:1050 [inline] netlink_ack+0x5cd/0xa80 net/netlink/af_netlink.c:2471 netlink_rcv_skb+0x33d/0x420 net/netlink/af_netlink.c:2507 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2485 ___sys_sendmsg+0xf3/0x170 net/socket.c:2539 __sys_sendmsg net/socket.c:2568 [inline] __do_sys_sendmsg net/socket.c:2577 [inline] __se_sys_sendmsg net/socket.c:2575 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2575 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fc501d1ae09 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffb1e77af8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc501d1ae09 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fc501cdefb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 00007fc501cdf040 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000