audit: type=1400 audit(1555318613.094:47): avc: denied { write } for pid=8051 comm="syz-executor.3" 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 netlink: 'syz-executor.2': attribute type 2 has an invalid length. kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8053 Comm: syz-executor.3 Not tainted 4.19.34 #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_timeout_obj_to_nlattr+0x96/0x170 net/netfilter/nf_conntrack_proto_sctp.c:628 Code: f3 65 48 8b 14 25 28 00 00 00 48 89 55 d0 31 d2 48 89 85 70 ff ff ff e8 b8 cd d3 fb 48 8b 8d 70 ff ff ff 48 89 d8 48 c1 e8 03 <0f> b6 14 08 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a3 RSP: 0018:ffff88805d0d73c8 EFLAGS: 00010247 kobject: 'tunl0' (00000000bbf4ce17): kobject_add_internal: parent: 'net', set: 'devices' RAX: 0000000000000000 RBX: 0000000000000004 RCX: dffffc0000000000 RDX: 0000000000040000 RSI: ffffffff85976988 RDI: 1ffff1100ba1ae7b RBP: ffff88805d0d7460 R08: ffff88805d0ca600 R09: ffff88805d1962a8 R10: ffffed100ba32c54 R11: ffff88805d1962a0 R12: ffffffff87e13780 R13: 0000000000000001 R14: ffff888093e04a40 R15: ffff88805d0d7438 FS: 00007f20ecd71700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 kobject: 'tunl0' (00000000bbf4ce17): kobject_uevent_env CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009f594000 CR4: 00000000001406e0 Call Trace: kobject: 'tunl0' (00000000bbf4ce17): fill_kobj_path: path = '/devices/virtual/net/tunl0' cttimeout_default_fill_info net/netfilter/nfnetlink_cttimeout.c:424 [inline] cttimeout_default_get+0x69a/0xa80 net/netfilter/nfnetlink_cttimeout.c:471 kobject: 'queues' (000000008191d436): kobject_add_internal: parent: 'tunl0', set: '' nfnetlink_rcv_msg+0xd12/0xfe0 net/netfilter/nfnetlink.c:228 kobject: 'queues' (000000008191d436): kobject_uevent_env kobject: 'queues' (000000008191d436): kobject_uevent_env: filter function caused the event to drop! kobject: 'rx-0' (0000000057142d2b): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'rx-0' (0000000057142d2b): kobject_uevent_env netlink_rcv_skb+0x180/0x460 net/netlink/af_netlink.c:2454 kobject: 'rx-0' (0000000057142d2b): fill_kobj_path: path = '/devices/virtual/net/tunl0/queues/rx-0' nfnetlink_rcv+0x1c0/0x460 net/netfilter/nfnetlink.c:560 kobject: 'tx-0' (00000000d444b9e9): kobject_add_internal: parent: 'queues', set: 'queues' netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x53c/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 kobject: 'tx-0' (00000000d444b9e9): kobject_uevent_env kobject: 'tx-0' (00000000d444b9e9): fill_kobj_path: path = '/devices/virtual/net/tunl0/queues/tx-0' sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:632 ___sys_sendmsg+0x806/0x930 net/socket.c:2115 kobject: 'gre0' (00000000fa351d43): kobject_add_internal: parent: 'net', set: 'devices' kobject: 'gre0' (00000000fa351d43): kobject_uevent_env kobject: 'gre0' (00000000fa351d43): fill_kobj_path: path = '/devices/virtual/net/gre0' kobject: 'queues' (00000000b084b14b): kobject_add_internal: parent: 'gre0', set: '' kobject: 'queues' (00000000b084b14b): kobject_uevent_env __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 kobject: 'queues' (00000000b084b14b): kobject_uevent_env: filter function caused the event to drop! kobject: 'rx-0' (00000000a8ef39f0): kobject_add_internal: parent: 'queues', set: 'queues' __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 kobject: 'rx-0' (00000000a8ef39f0): kobject_uevent_env do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe kobject: 'rx-0' (00000000a8ef39f0): fill_kobj_path: path = '/devices/virtual/net/gre0/queues/rx-0' RIP: 0033:0x458c29 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f20ecd70c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 kobject: 'tx-0' (000000001ac53e7c): kobject_add_internal: parent: 'queues', set: 'queues' RDX: 0000000000000000 RSI: 0000000020dddfc8 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f20ecd716d4 R13: 00000000004c6501 R14: 00000000004dae68 R15: 00000000ffffffff Modules linked in: kobject: 'tx-0' (000000001ac53e7c): kobject_uevent_env ---[ end trace 326fb1a3fc036478 ]--- kobject: 'tx-0' (000000001ac53e7c): fill_kobj_path: path = '/devices/virtual/net/gre0/queues/tx-0' RIP: 0010:sctp_timeout_obj_to_nlattr+0x96/0x170 net/netfilter/nf_conntrack_proto_sctp.c:628 kobject: 'gretap0' (0000000003ff6314): kobject_add_internal: parent: 'net', set: 'devices' kobject: 'gretap0' (0000000003ff6314): kobject_uevent_env Code: f3 65 48 8b 14 25 28 00 00 00 48 89 55 d0 31 d2 48 89 85 70 ff ff ff e8 b8 cd d3 fb 48 8b 8d 70 ff ff ff 48 89 d8 48 c1 e8 03 <0f> b6 14 08 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a3 kobject: 'gretap0' (0000000003ff6314): fill_kobj_path: path = '/devices/virtual/net/gretap0' RSP: 0018:ffff88805d0d73c8 EFLAGS: 00010247 kobject: 'queues' (00000000fa82aa64): kobject_add_internal: parent: 'gretap0', set: '' kobject: 'loop4' (000000007b2fc763): kobject_uevent_env kobject: 'queues' (00000000fa82aa64): kobject_uevent_env kobject: 'queues' (00000000fa82aa64): kobject_uevent_env: filter function caused the event to drop! RAX: 0000000000000000 RBX: 0000000000000004 RCX: dffffc0000000000 kobject: 'rx-0' (00000000f817a6aa): kobject_add_internal: parent: 'queues', set: 'queues' kobject: 'loop4' (000000007b2fc763): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'rx-0' (00000000f817a6aa): kobject_uevent_env RDX: 0000000000040000 RSI: ffffffff85976988 RDI: 1ffff1100ba1ae7b kobject: 'rx-0' (00000000f817a6aa): fill_kobj_path: path = '/devices/virtual/net/gretap0/queues/rx-0' RBP: ffff88805d0d7460 R08: ffff88805d0ca600 R09: ffff88805d1962a8 R10: ffffed100ba32c54 R11: ffff88805d1962a0 R12: ffffffff87e13780 kobject: 'tx-0' (000000009322255a): kobject_add_internal: parent: 'queues', set: 'queues' R13: 0000000000000001 R14: ffff888093e04a40 R15: ffff88805d0d7438 FS: 00007f20ecd71700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe3bda22518 CR3: 000000009f594000 CR4: 00000000001406e0