Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2EF091DC9B8 for ; Sun, 19 Jan 2025 11:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287636; cv=none; b=LAGi76osfqlAoSCH8esPvXIDyfJMnEcGzXQhyhzC62ZjznImvwgssexHkAoyeYWmSbHukO0u7Zi0MynH4wcoZ72uVG+AeesApM7usMKTRmjbN+3vBKac870+icZ3M0UFQkyb3FB3Qe9Mz6ms4Uyo0WFczgCBJsfdfXKr7frarMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287636; c=relaxed/simple; bh=RA9UuZXDjSxKK9WJrzoaGyHgLhp8e154h3ACVSZCI+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UILkrzo2WDZ5mymBcoak5Z1MF2gYkkjsuOQgkyS2Z/nqbx/JWTurCEIzp937+CvrO9533sfE+0L7NqKKPPV2DDknuGW+iyaifJeU1rWMT64u96XfxZQrQ2jPM5oIm2KsJfON+Hn8YuOJLqSMUUYxi2SYQx4SOTUxBdDSvb+DKw4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DDzSvaa9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DDzSvaa9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32676C4CED6; Sun, 19 Jan 2025 11:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737287635; bh=RA9UuZXDjSxKK9WJrzoaGyHgLhp8e154h3ACVSZCI+k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DDzSvaa9ML7W9dFNvsoYljd0mvMU53WbKJb1iKa4r2fEPfUMhR29SspGOHAyvU+AI jrZQXWKrMOl97oWls9vDl4umSvi0IkQ6HFhff2F57LsF5zncfGZQBMKz67sSnSO/kg /pq47pehJwKjRLCLEz8VRgBzMyJgQDPgpnrOwRSI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57908: iio: imu: kmx61: fix information leak in triggered buffer Date: Sun, 19 Jan 2025 12:52:39 +0100 Message-ID: <2025011938-CVE-2024-57908-654f@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RA9UuZXDjSxKK9WJrzoaGyHgLhp8e154h3ACVSZCI+k=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk9z9s0/Zd/3nGE8Qzvp8ud1t9fR2abu1sZPD0j4M9i/ DKmr/F1RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEfxnDgsPcabn2RRbXX22X 2mNjfHnl5YxpXAzzlGXcnnOtOSTrb/pGiP36lS131Z9wAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: imu: kmx61: fix information leak in triggered buffer The 'buffer' local array is used to push data to user space from a triggered buffer, but it does not set values for inactive channels, as it only uses iio_for_each_active_channel() to assign new values. Initialize the array to zero before using it to avoid pushing uninitialized information to userspace. The Linux kernel CVE team has assigned CVE-2024-57908 to this issue. Affected and fixed versions =========================== Issue introduced in 4.0 with commit c3a23ecc0901f624b681bbfbc4829766c5aa3070 and fixed in 6.1.125 with commit 6985ba4467e4b15b809043fa7740d1fb23a1897b Issue introduced in 4.0 with commit c3a23ecc0901f624b681bbfbc4829766c5aa3070 and fixed in 6.6.72 with commit cde312e257b59ecaa0fad3af9ec7e2370bb24639 Issue introduced in 4.0 with commit c3a23ecc0901f624b681bbfbc4829766c5aa3070 and fixed in 6.12.10 with commit 565814cbbaa674d2901428796801de49a611e59d Issue introduced in 4.0 with commit c3a23ecc0901f624b681bbfbc4829766c5aa3070 and fixed in 6.13-rc7 with commit 6ae053113f6a226a2303caa4936a4c37f3bfff7b 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-2024-57908 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/imu/kmx61.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/6985ba4467e4b15b809043fa7740d1fb23a1897b https://git.kernel.org/stable/c/cde312e257b59ecaa0fad3af9ec7e2370bb24639 https://git.kernel.org/stable/c/565814cbbaa674d2901428796801de49a611e59d https://git.kernel.org/stable/c/6ae053113f6a226a2303caa4936a4c37f3bfff7b