Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1636135lqg; Sun, 3 Mar 2024 21:12:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUWo7iQUkIepcW+3+ygu70wBFCvDlnGICQ3LiIMdAWXZpzv9irRAGJb7aC7n2kG1J/RFhH7tC3RuDMuDejkuQkgmcSkXSzcqQE1aOQQNw== X-Google-Smtp-Source: AGHT+IHD5zfb6s0yQq5uhRg7g5Mxc1cWLFDTl6863vosr7PxJR2mMRjU+GvVYH8XxLYQ5wPm/0bz X-Received: by 2002:a05:622a:120d:b0:42e:b0dc:3ff2 with SMTP id y13-20020a05622a120d00b0042eb0dc3ff2mr10801963qtx.32.1709529155659; Sun, 03 Mar 2024 21:12:35 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w4-20020ac87e84000000b0042ef48fb1d6si812841qtj.176.2024.03.03.21.12.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 21:12:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90054-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@google.com header.s=20230601 header.b=ZaV8S7NY; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-90054-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 484D61C20CFC for ; Mon, 4 Mar 2024 05:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EAFA6FD0; Mon, 4 Mar 2024 05:12:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="ZaV8S7NY" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F8FF613A for ; Mon, 4 Mar 2024 05:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709529148; cv=none; b=YdKl/nt0notFeXmq2gs697dd5KNTaKDnnAzdY/xrcmRWIvkrZALdozvTI5ArAYSW1Go9NYjXJDw7sVkWztcnAgdQx75GYotjXFl7+fj/2xT+sfAcrOArDJMB2m+/VZdTGXaJoGuYA0bhqTIhRdMM2uNH3m0Ci3KHdnEEayrMqX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709529148; c=relaxed/simple; bh=RkZR6AQGNumxUNeiUTcE2zH9/MxQFnrzWkHwzZzIdoo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=eUWMpaD1YhuK/uasOzQf34V1w7Ugqs8zqiU6GnhYWyQi9OMHrNszOAjaq0NFUwJT96u8nZx/k/kjdM5A5iWJszIinS0XgNTX8/Gtj+qC/THdEWcApcSxqE3wHANO7yNKh2ARqEo/H1wUjgWR+l+Mlg830zhWSa6dELi8uscidiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ZaV8S7NY; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5654ef0c61fso22509a12.0 for ; Sun, 03 Mar 2024 21:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709529144; x=1710133944; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EUR3SXQYlMBJ+S1TsUhop+VTYRh3FUB5752NRTIEWf8=; b=ZaV8S7NYxn1hackDu4FBfGIe5dr0W7lzNLYC+HxKvJW8Rv7+Z6gqkKP/z1fMQeC1dn E+ffuop3JvrDNaB8h7a7lWGQrJnqNHNoyFBg4WxtXKRfrrl+nIaXOqlcCCSiYPBKgtUB xHSF6/FfJPZL0Hp7Sw1ELSuz3vqvJESBp4QoWLSSp8iUxaWw0Tuw5q+cvHZBikgYbqrp mYhSX1bg1mDFTq2Csop5Y2rvIHtjvH1InfrpLhKy3I/daktYp3CYZJbsLqJPEOjpLPjU Y9uWWmav2sX/xCgyK1myD3ijjJbMHvoC44AdUnJfA7RPbPeRvW/yUSFV8U+zRx8lyQlH 4rhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709529144; x=1710133944; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EUR3SXQYlMBJ+S1TsUhop+VTYRh3FUB5752NRTIEWf8=; b=hqKNkS9C4FLCQxA2TTmN0dhQYw9i1TjnOlPUDPTG9ExVnqunul3dJOplA9+4FpshCz Wn8yJqIplIqNqaOmweWhX5Na3Fa2CttWEaBOZ/Bf/DIr83eBHOtfQabOoVBYX8H0fMCi 8dgEcFwF28LFaBcWNpyeSEcY5wEVf/+utj2CnsvV6GnNXRT5rP9T/2KuFtTjin98rWf0 GqNkeoXLII1deQgcvRtp4ThpNCt9yano9d0F7q94onfiRgSYnImFy4JplS2EjLA5bCtU pleGOoD/DAI81PO2oMfhajRYYNc6So3cHx5Zp+gAvjuBctlsol0rEFFx16YymEmFKHp8 gimg== X-Forwarded-Encrypted: i=1; AJvYcCX7LZ8ObLNPH1xOMGhL3Vj91Wox4tWbnLOAEfBNdIcM6B7z7MZ+TYRyI3TBoCJt4h/OxOWVlwFsFT3TbUxnyR3XjQkTvk2fw/j9tr/8 X-Gm-Message-State: AOJu0YxDJoTEwEmSyO3nGUwiCEXNVP+xMdgn/Ojsy5Qlw4qbovykdRjV dwHlCzMfeVNpuawq4FT4UxapbIhq8+l/JL/to6Fnw1OrgZIMc4JvVmKzVhLGmN97HZahDdj1dOe aGsjmvmy1o4bOCvV6227wl1Bq5TfHPYzLtXLD X-Received: by 2002:a05:6402:3496:b0:566:ff41:69f1 with SMTP id v22-20020a056402349600b00566ff4169f1mr182364edc.3.1709529144406; Sun, 03 Mar 2024 21:12:24 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Eric Dumazet Date: Mon, 4 Mar 2024 06:12:11 +0100 Message-ID: Subject: Re: [PATCH] net/netrom: fix uninit-value in nr_route_frame To: Edward Adam Davis Cc: davem@davemloft.net, kuba@kernel.org, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, ralf@linux-mips.org, syzbot+f770ce3566e60e5573ac@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 4, 2024 at 6:05=E2=80=AFAM Edward Adam Davis w= rote: > > [Syzbot reported] > > [Fix] > Let's clear all skb data at alloc time. > > Reported-and-tested-by: syzbot+f770ce3566e60e5573ac@syzkaller.appspotmail= com > Signed-off-by: Edward Adam Davis > --- > net/core/skbuff.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/core/skbuff.c b/net/core/skbuff.c > index edbbef563d4d..5ca5a608daec 100644 > --- a/net/core/skbuff.c > +++ b/net/core/skbuff.c > @@ -656,6 +656,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t = gfp_mask, > * to allow max possible filling before reallocation. > */ > prefetchw(data + SKB_WITH_OVERHEAD(size)); > + memset(data, 0, size); We are not going to accept such a change, for obvious performance reasons. Instead, please fix net/netrom/nr_route.c Thank you.