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 7D0AD3CB2D7 for ; Mon, 10 Aug 2026 12:04:53 +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=1786363494; cv=none; b=MFChWiqOrnxIVQZTTRw2u8+5jaMFXzQousJkXRnsUxQMIkhKzsObduy63/T1eNdX/7/Uqj8Kqwi0sgHrxBfz73V3cW4Myzn1Sb9V3u4YEPoFzFOpD+ysAowPKETxMrIQT9TkLv0E0/FRSiHVKqqMOM4bC9Oalt5NSH2vZ0XCP/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363494; c=relaxed/simple; bh=bSZKBVmfITD+xLmFWaio15jCzy1iyZ6h04gKwJ8R8ow=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lFT7Fk+UgJFm/WCntKcAkj+Je9FZurxrAfoPiqTrLTJ74eW1up9wRIktlxbF83rhHqYVzguQ010D5go6o5PYi11CwXXjup35rfIk9ZuibBUj5irf2qatvgbQEIBlrIDohE6bYbOrvupb/+Hv15PuCAAJIv3+uYgHxD23pDuG6g0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=roxovP8+; 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="roxovP8+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E53441F000E9; Mon, 10 Aug 2026 12:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363493; bh=bw0BppTvUvjoAQx/303YrWFA153IkvS9RkUU7R7vb70=; h=From:To:Cc:Subject:Date:Reply-To; b=roxovP8+zn3IOkVVrOioDtmCLwxrdv6uo8joXMuVvyut8r4d2lPaR1wuS5wX8MdWi 625xIeeoeXK5Z+d1+Ig7pWHWpuXr7HqUAguRV+me8LvRyCZMgQGgTCVKFL2l2TIfZs n+YVPoCH3QNfIXTcci7HnqKVbMJHyBfcznyLUY74= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68184: cdrom: fix stack out-of-bounds read in CDROMVOLCTRL Date: Mon, 10 Aug 2026 13:58:21 +0200 Message-ID: <2026081008-CVE-2026-68184-6967@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=3737; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yS7BWMId7sZxho6+HjP9l5ADcX+4xqmfT994vEmLi/k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe6ZIH3my8/u/Od88JGteLvZTu+et5PSj5/v0gtjDX aUZZuvvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEWMwZFvTdcbRqb60RSFh6 cY7LVN5fCxtFcxnmx971i0n9uOykRO++A5/nzXzb+HuhBAA= 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: cdrom: fix stack out-of-bounds read in CDROMVOLCTRL mmc_ioctl_cdrom_volume() first reads the audio control mode page into a 32-byte stack buffer with cgc->buflen set to 24. If the device reports a block descriptor, the function increases cgc->buflen to include that descriptor and reads the page again. For CDROMVOLCTRL, the function then builds a MODE SELECT parameter list by moving cgc->buffer forward by offset - 8 bytes. This drops the block descriptor from the outgoing payload and leaves a new 8-byte mode parameter header in front of the audio control page. However, cgc->buflen is left unchanged. With a standard 8-byte block descriptor, cgc->buffer points at buffer + 8 but cgc->buflen remains 32. cdrom_mode_select() therefore asks the low level packet path to write 32 bytes from that adjusted pointer, reading 8 bytes past the end of the 32-byte stack buffer. This is not hit by CDROMVOLREAD, and CDROMVOLCTRL only triggers it on drives that return a non-zero block descriptor length, which helps explain why it has gone unnoticed. The overread is also sent to the device as extra MODE SELECT payload, so it may not produce an obvious local failure. Reduce cgc->buflen by the same amount as the buffer pointer adjustment so the MODE SELECT transfer covers only the intended parameter list. The Linux kernel CVE team has assigned CVE-2026-68184 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.148 with commit 7344c84e32413e5c8832f74b8a612b0194e5c051 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.101 with commit 35b68e24c5a69fa4545f46f05f6c849223034cb6 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.42 with commit d43c5c0c935522deae7339e0c2399365f3bf0016 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.6 with commit f3e2715a150066f09aa82c30fa983fb184ad6dd5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc5 with commit b27e195d4db8dea263050bdbeb11881b2999c9c6 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-68184 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/cdrom/cdrom.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/7344c84e32413e5c8832f74b8a612b0194e5c051 https://git.kernel.org/stable/c/35b68e24c5a69fa4545f46f05f6c849223034cb6 https://git.kernel.org/stable/c/d43c5c0c935522deae7339e0c2399365f3bf0016 https://git.kernel.org/stable/c/f3e2715a150066f09aa82c30fa983fb184ad6dd5 https://git.kernel.org/stable/c/b27e195d4db8dea263050bdbeb11881b2999c9c6