From nobody Wed Feb 11 03:41:58 2026 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (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 958982EAD10 for ; Sun, 8 Feb 2026 11:09:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770548982; cv=none; b=Wdngsk8ja/H/Q/PeEo3wdsLib4N4JNqob9QW8YDWUW9yNvoXd9YQIkNHzyWE0GKar7jUhnBk2711fntjSrH+eSPCE3CmsoFqnzVNElLiL5L+frvSr9lHfyvqKr4W08BBpg0gglOYQNIcw8mbpuc5wfzw33gvA5VqH/4gxoVq2bA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770548982; c=relaxed/simple; bh=WzXWRKH5Gu3uiyui3w1velZkWlAB0mhA3fn1o/9Xn1I=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=odc/nqlNjKf6IRJNPJtocMXffQRLpIqP40t6kfJEgu/oOsj5mgcVra8w0aFxzI9GAAN7FocY0JGLo95x8aJUkpruJ6lvmb1EfI1XfipRXBR4ibG02vPB+RDRZK3sdKddka6oVRWPZptuI2C/ipzbzhyLdE+iwf6k5i28aiCTgRQ= 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.70 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-f70.google.com with SMTP id 006d021491bc7-6630b0a016aso14321597eaf.0 for ; Sun, 08 Feb 2026 03:09:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770548981; x=1771153781; 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=Kb0SS5Xq4IIQQzWbsZfkoIj0NE7YvgCXWakCwtnJeHE=; b=sCGIOHrRottz95FFGVu0ejomlJ9BpSmQ8Zpy9j4oxgUu7uKt7jBn7OhergIB2Rl2qu 4tEu3jr+35d2tVuwGgxUaxMd8glnQatUXCQCMuFMo2QM0VsNvCs5xH38fYf6ZRZ+qW4p U3KjiC2xEmQFojvMor4oeTw3ku4Jy5b14DxviQ1RtlDg1OnudL+t3BtDNr1ZLVJ3wn41 QFfCtnaUPkj/YEPv36K59sA9YdsrZXogNZzwcrlzd7uApWhySjqHihj9yjQa5RWr5mFG JWKgGqYvu3pzpz3ZPSqox0QxiMqqkdqTjR4vf9Z8/Fe1on5DHXXzZWtxv9bjBYS9xOAR T4Cg== X-Gm-Message-State: AOJu0Yzb/mZk1jHyiajpwAfwLNd30f9AmrE6imhXPDsU5O7uizHKEU3u 5A7ITnHtReoFM005ohes+pd44WXrU/8pYrTVAOCrDVBHup7DgXuRnbSNdg+asE4cnG5d7m+MN5H h13ZpPgtSAqwW6XrStF93MMVLcgR/UEyKfX0j37QQ3yRTUIBfDCyvXfEr3/U= 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:88f:b0:662:fef7:4dba with SMTP id 006d021491bc7-66d0a66a003mr3957202eaf.32.1770548981561; Sun, 08 Feb 2026 03:09:41 -0800 (PST) Date: Sun, 08 Feb 2026 03:09:41 -0800 In-Reply-To: <6987e3ab.050a0220.3b3015.0052.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69886ef5.a00a0220.37c87e.0049.GAE@google.com> Subject: Forwarded: [PATCH] media: dvb-core: fix uninit-value in dvbdmx_release_ts_feed() From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com 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, syzkaller-bugs@googlegroups.com. *** Subject: [PATCH] media: dvb-core: fix uninit-value in dvbdmx_release_ts_fee= d() Author: suunj1331@gmail.com dvb_dmx_init() allocates feed and filter arrays with vmalloc_array(), which does not initialize the allocated memory. If an error occurs during dvb_dmxdev_start_feed() and dvbdmx_release_ts_feed() is called on a feed that was never properly set up, dvbdmx_release_ts_feed() reads uninitialized fields from the feed structure, triggering a KMSAN uninit-value warning. Fix this by using vcalloc() instead of vmalloc_array() to ensure the structures are zero-initialized at allocation time. Reported-by: syzbot+01d4620886bee3db0e74@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=3D01d4620886bee3db0e74 Fixes: e4b21577b463 ("media: dvb-core: use vmalloc_array to simplify code") Signed-off-by: SeungJu Cheon --- #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git= master drivers/media/dvb-core/dvb_demux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-core/dvb_demux.c b/drivers/media/dvb-core/dv= b_demux.c index 290fc7961647..5c046db122ea 100644 --- a/drivers/media/dvb-core/dvb_demux.c +++ b/drivers/media/dvb-core/dvb_demux.c @@ -1244,13 +1244,13 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) =20 dvbdemux->cnt_storage =3D NULL; dvbdemux->users =3D 0; - dvbdemux->filter =3D vmalloc_array(dvbdemux->filternum, + dvbdemux->filter =3D vcalloc(dvbdemux->filternum, sizeof(struct dvb_demux_filter)); =20 if (!dvbdemux->filter) return -ENOMEM; =20 - dvbdemux->feed =3D vmalloc_array(dvbdemux->feednum, + dvbdemux->feed =3D vcalloc(dvbdemux->feednum, sizeof(struct dvb_demux_feed)); if (!dvbdemux->feed) { vfree(dvbdemux->filter); --=20 2.52.0