From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (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 7C372260565 for ; Sun, 7 Dec 2025 16:21:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765124483; cv=none; b=XfFbVUYrPkd8iEQhK0sLotLj6qmtfxyw9V4m2DaSn+2GplpVomkhpfOCAy/JAN9DGVOMD4BOPtW4XgoBUa7XQQsQBv/qkv81ElBYyYQaptZFfBWK/X/p8d4q1C4S8xIjKU5R5plcIwWiKRQPG1X1AinoDxwNrr+/u3BPuGbTkgI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765124483; c=relaxed/simple; bh=sqBd7teEmiqcWftfCyDPVX/qYuxigHNRX21NcR+fUHo=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=lxrjDmxVumrWEv2Xq++wqcZcYukOem01AlHTObMqmLdgqVMQDCZu7JGRO7Jf3irg/zIdLrLpm9hS9Rls0/qPuH8DWUny05iQ83R3XYX8nXiq15erQOY6OpO6uenOyXY4UpZ2I4TNaLZQtEOpxaHCvCfjUN+Nor3eF8NaCtYP3Wo= 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.72 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-f72.google.com with SMTP id 006d021491bc7-6574ff2be86so4089701eaf.0 for ; Sun, 07 Dec 2025 08:21:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765124481; x=1765729281; h=cc: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=yK8hTqy8PVIXC39GgrO6qaY/nPQFjAa27XyPkw3RyI4=; b=nfe4hLCg+WJYLYQpHiee0t+imkF3gc68DkcgaGQMekGlb2+yfzvhqC25D1TZDd8zA4 3H+drurYWta67X+k/Der6NQY4qQatWhrnjv4XemloXNMa8h6i5qlroJDVRx8jNjIhCqO Raqn48Kwji2gwHCiM6WY006qv+/VK48N9+5ArL1+vl7eq06oHB6YeJEoursIVRtaDGTP POjtgvozs4yK34YRvOOYU65mnpaRqxuNkGZmqx5EhS5mQeynC6LnSqcpkurJ3NRA1o7q w7oEh1Vs82VJgMqGhPQCDMmm2J2z17oMkslv0Wfdm4LaZerTnkZ2bJLPtZtT24vfXXtW 4+Uw== X-Forwarded-Encrypted: i=1; AJvYcCWikfbiksjOR6kz5UMZ/eiv3ybRysgczldFLgsXOEc208E1PsxEaP3NJDOnatEuTlmpJv278dgRdywsYqU=@vger.kernel.org X-Gm-Message-State: AOJu0YwESXqOCPOCQ45BAtuHmCVGgGlTkajde5zycSE4sQREprBipyJB QTo1WZvwopRP0FEJUgNjOqC/wbFXAxkwHTF8Lghx7lZXH2gIJpy44bA1G49RS0SiUBY7XOBgYkx 0Ep6LR3zcLglW4FKvMCVLLPMjFFGZkXi93E3Gqahnp8q2wsK2p+jZYzs37Eo= X-Google-Smtp-Source: AGHT+IFh9TFBCX0S1kX5TEG56FoAUjZgdDsIWiTZdA0k6Dts2hm119IsO72pnfLL7c7y4oRJxImuBbJhARYhHtIdJjk+xHXHmhI5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:1993:b0:659:9a49:8f4e with SMTP id 006d021491bc7-6599a8e16c5mr2094054eaf.19.1765124481552; Sun, 07 Dec 2025 08:21:21 -0800 (PST) Date: Sun, 07 Dec 2025 08:21:21 -0800 In-Reply-To: <20251207162109.113159-1-tayyabfarooq1997@outlook.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6935a981.a70a0220.38f243.0064.GAE@google.com> Subject: Re: [PATCH] memset skb to zero to avoid uninit value error from KMSAN From: syzbot To: syedtayyabfarooq08@gmail.com Cc: netdev@vger.kernel.org, syedtayyabfarooq08@gmail.com, tayyabfarooq1997@outlook.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" > Signed-off-by: Syed Tayyab Farooq > --- > > Hi syzbot, > > Please test this patch. > > #syz test: https://syzkaller.appspot.com/bug?extid=0e665e4b99cb925286a0 This crash does not have a reproducer. I cannot test it. > > Thanks, > Tayyab > > > net/phonet/af_phonet.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c > index a27efa4faa4e..9279decd680b 100644 > --- a/net/phonet/af_phonet.c > +++ b/net/phonet/af_phonet.c > @@ -208,6 +208,8 @@ static int pn_raw_send(const void *data, int len, struct net_device *dev, > if (skb == NULL) > return -ENOMEM; > > + memset(skb, 0, MAX_PHONET_HEADER + len); > + > if (phonet_address_lookup(dev_net(dev), pn_addr(dst)) == 0) > skb->pkt_type = PACKET_LOOPBACK; > > -- > 2.43.0 >