Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2569120lqb; Tue, 28 May 2024 04:17:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW7eWFT1fEXrol7Bi4RX7NGiACKf98zEY6ZuxY8NnE5gE6ICwqZncx91/wWf2geJA2oj1rfzSPXFy9CD8JRRf/1kMk+60BbreLxfx+DRw== X-Google-Smtp-Source: AGHT+IHueXk6ffC9/90rT6w4WwJ03tznYWXG+kZmwbn5JFCvoXp6jO0AzvNKT2Bd/iY6hUZBGmA5 X-Received: by 2002:a17:903:2347:b0:1ea:274:756e with SMTP id d9443c01a7336-1f4486f2e0bmr131376695ad.21.1716895061214; Tue, 28 May 2024 04:17:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716895061; cv=pass; d=google.com; s=arc-20160816; b=tXQxif1LPwVpX02D3+aKLLuv0g/KJF5XfhANV/gHHEYjkksKCBtaeTeP3svlgMo3kH 3a2Ck9OoJ1JyxEOSzS/4bYttX+39rG9zPEASUU+hHLxPHMaWPnIC2KwXsElpeJJIghTw KYmDeAcmDG4/tQQ5TRVoBiRJV6BTdJ8lzr0J9CXIBbrSOHLxdKFD6CH/gjvTrqeLvabU +H76b9RRtRUVn8q8e4D8U7lY7q0cfk06BWcHl8N6878qU/Mmdmm7fOkj93L7o3vfVFeI BdSX5IfZFjR97jbA80ydaGI7jkx6tKI3CU2bGLY4XDijvONHN3lyG+g149jUB9da96jI ysIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=S0dOsfxBcECFcTB2UIfBPFtLIYmqmV/NxAVaCynh02A=; fh=HX+PyyPwrq60h5epjZlIlzHbs7lsuTYXcctFVFaHmcw=; b=aUkwJ9O8zJxda7evFEqVQ7cg3TtGY3w5QpUvx450XZgfxYc27USPoIAHWmR9nHyo2J jDTZyKgdrd1S43J30sLBguFddy40ltlkGHoJV54RY+FlEPePPsElNx8wZVHR76ueyN4x smr/eG/P+Cq5RRLiNHfQPpM3cgA2VFCkuoxKNXSTzuGp8lLnmbf+XB9HvyiG+G4hPUvY 1t3GU6QeqYokrsTg0nhIAtabtGRj/OXqmGfcGALxCUHKYziozdhvo3b4kmFIfaym1N5T Nq7j6hyxERx4mwuL9/q3k6cXedVowoVRrr8zCRNkl/SX6rdHo2LxrcK9UdCWbK2mLRuN 5Pow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gaL1b6Qt; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-192157-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c785729si77654045ad.103.2024.05.28.04.17.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 04:17:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192157-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gaL1b6Qt; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-192157-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192157-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C84E2282A01 for ; Tue, 28 May 2024 11:15:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 231B516C69B; Tue, 28 May 2024 11:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gaL1b6Qt" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6194C13C69A for ; Tue, 28 May 2024 11:15:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716894946; cv=none; b=eA9x9bA8psNjzB/IaK1GXiqNN2nN5GJqzbjCpMxS3AaZg1IzsY0jgvpd9TczOW9w273p2r9A+JDzCOkMDrEGtAs7w/hEcZ1NrPEQ8A5AdwBSwp5UnnddvU3bTFNQFRkybq0FpNaOuMJEkbkSIhLNP1EhIlpXbjXgmylLQlopjDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716894946; c=relaxed/simple; bh=OtqlR/kfAhrhgzTPvmA3dqLtFY9GUvr9byBefqZDgWM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=NlELMFJB+D81l5nwmrrXES2JRVTZjZtOqNUkmcxJ/tbx7rikjC7aveg+ktD6JO7QDLgSPmpNH9cHWnx94BX6xfXEWQI+dc+TRBWdySzp/oefidXXbBK/C37Vmo3s1asA4nRnF5KN4XGkk73NK49CAHokJNt5yoBTYgJLSrQZW1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gaL1b6Qt; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716894943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=S0dOsfxBcECFcTB2UIfBPFtLIYmqmV/NxAVaCynh02A=; b=gaL1b6Qt7DhRJo3+xMeblDg9kJzdFagK/FzIgosiXeExd3kMBgf+ydhOyrsbVAly6TCIU1 Iq5SfiP0Ry2U0Dd/QsMrgf1jvAFuuGfC+1evL0QglXD21509j/NAqLMMrMOqmoB8RPPf3a 8GvtNfQ02BCCXNlkaG7geAINSUGfmS8= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-662-37dCv1n4PiOy1guFDP9euA-1; Tue, 28 May 2024 07:15:41 -0400 X-MC-Unique: 37dCv1n4PiOy1guFDP9euA-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-355072f3014so87587f8f.2 for ; Tue, 28 May 2024 04:15:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716894940; x=1717499740; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=S0dOsfxBcECFcTB2UIfBPFtLIYmqmV/NxAVaCynh02A=; b=wNRpwoW7OndyVFwJk5eSGhn8j3IUZsrtjVJAgjaBWC59LeF52ubPlx90rGpe9D0Ajs C9pvDkU5HkTVprv4qZQMscaKIjPilbzLHTch0sU33+QZS80m0X14lznQOCv7HLs6e34Z JuMH5nZSxgUHGHFgtAIjhkGs5bZ7oCOzWY/3Z/MHJRrsYxIxmPZeGnFaLZJW/stKstEu pHGEjWs2uh9wRall7MsCEbJdHmj96x79KgqZSc0r02+FI5dPHvUnay8+de0Sj50HOZNj kOBwCQxhgKm4muZbL6gXlVLqYX+9N82qdG1t88i0lKXPLCaxRCg56GCjVWy0Bj9YtCNc xhHg== X-Forwarded-Encrypted: i=1; AJvYcCVNiV5+RzgvKzNt+ZK4/9vBLEbmPeRanShwrfenbqWJnbgZkMA6boXCySMcL+Vz/Ni1ASQ+bR3s6pMiaRvmx6FiOGHGzmkU1UdE5Rgd X-Gm-Message-State: AOJu0Yx8bX/U/XNmcWDXWydwIhv+2Cr04phKsoGy+QWOeufPkAOEqVN5 bshDjcQq/NthvE5I/GNcrVwcdN3JINBb9pGt1Sl5B3zLxe5y18P8UQXy7FHI4YSd1tthGltZKXe PP4CF4He5XxBxwr/aaB3bIEs2nIwfvTA0Go/muj+n71Z0LcyFw60oBtTMw6eF4p3g6eyh4g== X-Received: by 2002:adf:e547:0:b0:34d:707c:9222 with SMTP id ffacd0b85a97d-35526c2b6c7mr8016864f8f.2.1716894939977; Tue, 28 May 2024 04:15:39 -0700 (PDT) X-Received: by 2002:adf:e547:0:b0:34d:707c:9222 with SMTP id ffacd0b85a97d-35526c2b6c7mr8016842f8f.2.1716894939449; Tue, 28 May 2024 04:15:39 -0700 (PDT) Received: from gerbillo.redhat.com ([2a0d:3341:b094:ab10:29ae:cdc:4db4:a22a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557a091051sm11431944f8f.61.2024.05.28.04.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 04:15:38 -0700 (PDT) Message-ID: <1a1b249e7d53984a3ea094cdf5b362cea3273dc4.camel@redhat.com> Subject: Re: [PATCH net] ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound From: Paolo Abeni To: Yue Haibing , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, hannes@stressinduktion.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 28 May 2024 13:15:37 +0200 In-Reply-To: <20240525034231.2498827-1-yuehaibing@huawei.com> References: <20240525034231.2498827-1-yuehaibing@huawei.com> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ3MYhdKWBZw0xc3LKiKc+nMfQlo76T/qHMDfRMaMhk+L8gWc3ZlRQFG0/Pd1pdQEiRuvfM5DUXDo/YOZLV0NfRFU9SmtIPhbdm9cV8Hf8mUwubihiJB/9zPvVq8xfiVbdT0sPz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bZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Sat, 2024-05-25 at 11:42 +0800, Yue Haibing wrote: > Raw packet from PF_PACKET socket ontop of an IPv6-backed ipvlan device wi= ll > hit WARN_ON_ONCE() in sk_mc_loop() through sch_direct_xmit() path. >=20 > WARNING: CPU: 2 PID: 0 at net/core/sock.c:775 sk_mc_loop+0x2d/0x70 > Modules linked in: sch_netem ipvlan rfkill cirrus drm_shmem_helper sg drm= _kms_helper > CPU: 2 PID: 0 Comm: swapper/2 Kdump: loaded Not tainted 6.9.0+ #279 > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/0= 1/2014 > RIP: 0010:sk_mc_loop+0x2d/0x70 > Code: fa 0f 1f 44 00 00 65 0f b7 15 f7 96 a3 4f 31 c0 66 85 d2 75 26 48 8= 5 ff 74 1c > RSP: 0018:ffffa9584015cd78 EFLAGS: 00010212 > RAX: 0000000000000011 RBX: ffff91e585793e00 RCX: 0000000002c6a001 > RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffff91e589c0f000 > RBP: ffff91e5855bd100 R08: 0000000000000000 R09: 3d00545216f43d00 > R10: ffff91e584fdcc50 R11: 00000060dd8616f4 R12: ffff91e58132d000 > R13: ffff91e584fdcc68 R14: ffff91e5869ce800 R15: ffff91e589c0f000 > FS: 0000000000000000(0000) GS:ffff91e898100000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007f788f7c44c0 CR3: 0000000008e1a000 CR4: 00000000000006f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > ? __warn (kernel/panic.c:693) > ? sk_mc_loop (net/core/sock.c:760) > ? report_bug (lib/bug.c:201 lib/bug.c:219) > ? handle_bug (arch/x86/kernel/traps.c:239) > ? exc_invalid_op (arch/x86/kernel/traps.c:260 (discriminator 1)) > ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:621) > ? sk_mc_loop (net/core/sock.c:760) > ip6_finish_output2 (net/ipv6/ip6_output.c:83 (discriminator 1)) > ? nf_hook_slow (net/netfilter/core.c:626) > ip6_finish_output (net/ipv6/ip6_output.c:222) > ? __pfx_ip6_finish_output (net/ipv6/ip6_output.c:215) > ipvlan_xmit_mode_l3 (drivers/net/ipvlan/ipvlan_core.c:602) ipvlan > ipvlan_start_xmit (drivers/net/ipvlan/ipvlan_main.c:226) ipvlan > dev_hard_start_xmit (net/core/dev.c:3594) > sch_direct_xmit (net/sched/sch_generic.c:343) > __qdisc_run (net/sched/sch_generic.c:416) > net_tx_action (net/core/dev.c:5286) > handle_softirqs (kernel/softirq.c:555) > __irq_exit_rcu (kernel/softirq.c:589) > sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043) >=20 > The warning triggers as this: > packet_sendmsg > packet_snd //skb->sk is packet sk > __dev_queue_xmit > __dev_xmit_skb //q->enqueue is not NULL > __qdisc_run > sch_direct_xmit > dev_hard_start_xmit > ipvlan_start_xmit > ipvlan_xmit_mode_l3 //l3 mode > ipvlan_process_outbound //vepa flag > ipvlan_process_v6_outbound > ip6_local_out > __ip6_finish_output > ip6_finish_output2 //multicast packet > sk_mc_loop //sk->sk_family is AF_PACK= ET >=20 > Call ip{6}_local_out() with NULL sk in ipvlan as other tunnels to fix thi= s. >=20 > Fixes: f60e5990d9c1 ("ipv6: protect skb->sk accesses from recursive deref= erence inside the stack") The patch LGTM, but the above fixes tag looks incorrect, I think the reproducer should splat even before such commit as the relevant warning will be still there and should be still reachable. Cheers, Paolo