Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6A29C39FCCC for ; Sun, 19 Jul 2026 15:00:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473201; cv=none; b=SThk/5+CGlBM+Ll0DjmvrmngtvmSmR+b2qX6ADVarwcL1aFydcoithyCCVJr8eI80QOj7cFxD+n8GWkF9GSEJgWWV7kft84XxEe5tNlL0j/YHVVDa2lqaODUFpNB0Bka6gK6LYWCWWwzBtSSg5K1Q3Ds/rpUEZG6GfX/qx/A06A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473201; c=relaxed/simple; bh=B/UpJpTQBoTetPIQgKRtT/hrXJ6H0ZOYMW5SA2iS9kY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tkHpq4BhkUMXQHLsg98tVqi3tOM8duT0dtsKrPGFQspVd49+XE8O+wy6prfuzKbyd7VfVfsKGh2afiGsMTgyuQYFmDl+IFDQmARroTqRzoq/U5IxE+zmkdtR2K2pITLTa+cJkm25vEP5u58hbd5Y+Crs2QUeGJCBVskMKaadEK8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F3kvQPUt; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="F3kvQPUt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A5D51F000E9; Sun, 19 Jul 2026 14:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473200; bh=DZNssxCKYcRFqoklkGegmrEgy11suERiXQieCsxkrH0=; h=From:To:Cc:Subject:Date:Reply-To; b=F3kvQPUt18Dv0gy3CEtcQRfdN+RPWNcVcpVmFIwD6reBHsmRkA1uwEST5EH+K3tGp NcDSReSYFhZWYQcWEWEMmNMc8uC0ybkBleNb9euZtlHpmam9YLIeSM5X4FbjuODkZS GFJw+GLcR7SVCx2tr7NcVENS11UeDx5Ve/hREHm0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63932: iio: chemical: mhz19b: reject oversized serial replies Date: Sun, 19 Jul 2026 16:56:32 +0200 Message-ID: <2026071950-CVE-2026-63932-a1df@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2506; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3vcD9AW1tJMqH9iMtsyIzdhGCOx2Id5z71GVNX8qXOY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT8vsorKaJxnJXlDfl9tz5msPkwPT1tO1tS83iUuWf 9ArsRLtiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlMvssw3zdI8nTElVKhRa8/ Jr9oS7pjxavnyzA/nVmcv2eiWjT3es0te50iCy56zpkDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: chemical: mhz19b: reject oversized serial replies mhz19b_receive_buf() appends each serdev chunk into the fixed MHZ19B_CMD_SIZE receive buffer and advances buf_idx by len without checking that the chunk fits in the remaining space. A large callback can therefore overflow st->buf before the command path validates the reply. Reset the reply state before each command and reject oversized serial replies before copying them into the fixed buffer. When an oversized reply is detected, wake the waiter and report -EMSGSIZE instead of overwriting st->buf. The Linux kernel CVE team has assigned CVE-2026-63932 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 4572a70b3681e38055c78d12fb68cd147bdbee7d and fixed in 6.18.35 with commit a5a05410cb34bfa486d63684cdc1f87a3b13f20a Issue introduced in 6.16 with commit 4572a70b3681e38055c78d12fb68cd147bdbee7d and fixed in 7.0.12 with commit ea69e7a6efa88ef32090a91064c362738cc19ddd Issue introduced in 6.16 with commit 4572a70b3681e38055c78d12fb68cd147bdbee7d and fixed in 7.1 with commit 673478bc29cf72010faaf293c1c8c667393335a0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63932 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/iio/chemical/mhz19b.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a5a05410cb34bfa486d63684cdc1f87a3b13f20a https://git.kernel.org/stable/c/ea69e7a6efa88ef32090a91064c362738cc19ddd https://git.kernel.org/stable/c/673478bc29cf72010faaf293c1c8c667393335a0