From nobody Sun Feb 8 02:55:57 2026 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (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 958A638FEF5 for ; Wed, 14 Jan 2026 12:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768392568; cv=none; b=Dz1pe3o5nzOEHpJj/1IO3smpfi1G5IDxpUBDrM4ExvNcDW6MhI4AJhr/VT1urgxLnHmqTZqfCt1KG6robe13d3TncMcxFCdtI4Us6urpGhnIlm1bZ55KEn73x0WygqGAJYaCJC7cATYppcre75A00WlrGZlG3Ap/iN6ISK+JyIE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768392568; c=relaxed/simple; bh=1+DhxTAVBJzAsuie+SRzy+83QYUwfplTTLMXbs6zw5c=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=jiqgebAgpNfobaSZXpaqLtrlaXKNfWolXFLnsHza4zRHfLnv7Mgz/p2fo9SBnykJHrlWsuO11a3c2J1BDdw+2q3pDMYhpURONx9PtLI6kTJx1jIgyZT4RBB+Smf3qxNQ4P4bw/ftdrARrNofbY0t3VSE/dB7F6xovftkaVJDP9E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-65f6588abf4so14144353eaf.1 for ; Wed, 14 Jan 2026 04:09:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768392565; x=1768997365; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hsRz0P8/H1bn1pgpmn5b3of9tTBjP9AhOm+IRnl1N6M=; b=Lg9UjvBUTExZfYf2DuEbb1LSwSjREbUON6MpaRNDJemkNuu24aYOwkZxhRh5ptd31l xtgLoVlShmSYOuJhsi1b5Aa0CDWnWiP3kJZjstsj8BNWxMzc6d/V4WoN4oX161hGFBjK AC4gXQwZxf7I1F7z4KssUlI7MxATyLm+HR39Nj1P9aaT8RylbX2WBy36ksqPSelQQpDh X4KDMIowUxfsvcWi08rAdaDrvtmg8KNIb45Xa56H9sC1/5L7VMNwojh5H1gBIKljD0Dn b61+eI/nyBmkhBGsD35I32f5TkBrkZt4es14vrmgkWUjZCdl0gaUp/pDgb063jPcrjHq 2aUA== X-Gm-Message-State: AOJu0YzrUzbOOd308un8CgyMpM2Bd8NPV8dt+JXvdheUthNFDz/x2b+N oMxUxzCTqWzyHzZG1hM9DzBKly4lVW8zphxY41iYALG+iJ3GYEMyufsaz2f1c3T2JDzeoWJ/s2u z+AjiXmXUTOu3tOVnhJ9sIJ0uDu/o+1BIPvLPYlovoCyuiRWQR2qAhnBxjIc= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a4a:ddcb:0:b0:65f:64e2:d625 with SMTP id 006d021491bc7-66100668ed6mr1455324eaf.37.1768392565581; Wed, 14 Jan 2026 04:09:25 -0800 (PST) Date: Wed, 14 Jan 2026 04:09:25 -0800 In-Reply-To: <6954bc70.050a0220.a1b6.0310.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69678775.050a0220.398fa7.000d.GAE@google.com> Subject: Forwarded: [PATCH] net: skbuff: fix uninitialized memory use in pskb_expand_head() From: syzbot To: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject: [PATCH] net: skbuff: fix uninitialized memory use in pskb_expand_h= ead() Author: sohammetha01@gmail.com pskb_expand_head() allocates a new skb data buffer using kmalloc_reserve(), which does not initialize memory. skb helpers may later copy or move padding bytes from the buffer. Initialize the newly allocated skb buffer to avoid propagating uninitialized memory. Reported-by: syzbot+619b9ef527f510a57cfc@syzkaller.appspotmail.com Signed-off-by: Soham Metha --- #syz test net/core/skbuff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index a56133902c0d..b658dcbe0698 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2280,6 +2280,7 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, = int ntail, gfp_mask |=3D __GFP_MEMALLOC; =20 data =3D kmalloc_reserve(&size, gfp_mask, NUMA_NO_NODE, NULL); if (!data) goto nodata; + memset(data, 0, size); size =3D SKB_WITH_OVERHEAD(size); --=20 2.34.1