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 2964A407599 for ; Wed, 27 May 2026 13:01:02 +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=1779886864; cv=none; b=i2LwY5GOfqzA8D8eMtJHhhv337bQMqWz4/tirej+c6zPTWGN/e3ihgEuzJbSSajShet/459kNXOHuSE+c98lgtFuXXPx3kPUYEIY6x6iy/egEGz5yUfyShFfp2Ql4x7L8C9L4Ka/yQDzQ/0P4XbGcEBxN0zaafIgjBQBMSzZafo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886864; c=relaxed/simple; bh=BxTpEl2pV/1Fm4ILtEGEPSsoQa1FDXOi1trOu6Po7uI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UEExkr01qE24//GbIXQyzRvFew9AwG6nfHw5VVNB2YT+isavqQ4I66PqR9W2E46M6wZzNnkeceasj5yo2RV/4OU3MbVz0gqDzhZx26gh8dDImioQS4VgkKLkjs3LDtvOVLHVlaSdbJ3AbWzDGKiVdFTaw3bwFkYHlQrGzY0Dwdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=02DZEjLY; 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="02DZEjLY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 129541F00A3A; Wed, 27 May 2026 13:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886862; bh=rxGdBdvcnqVIIKcxjuzJCjtp4kUJhGmM3zHUCbz8ZUA=; h=From:To:Cc:Subject:Date:Reply-To; b=02DZEjLYNHTlwuafIhD7u+TNEePLvu3qayo2WN0FcuGKpJbh9KiV5yf9Jq5lJlWg4 1LA34/T+zAPCLTCpV41MH2cmprvHFtCCCiSteJBN9JErWKI0o7a6FsrSk4/WNTMF+0 4MS5HPoC5C+J2C4tp7ahVZg7fJysdqvL8/AN738U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45991: udf: fix partition descriptor append bookkeeping Date: Wed, 27 May 2026 14:58:42 +0200 Message-ID: <2026052739-CVE-2026-45991-24df@gregkh> X-Mailer: git-send-email 2.54.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=3071; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NF8cnkvWOlPKYaG+D81onRhVOWTNbuGG9j0DUFqiRfQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlirxrWeLxme7DpYm4R09aonq2rX4Tt7WSVXf/gxzbDA nPDagu2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjInakMc8U8G3X9X5tahh7v 3r3+iFqp0sMZMgwLtjNLcl679WmG5SLBSW7f/6/cqf+mDwA= 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: udf: fix partition descriptor append bookkeeping Mounting a crafted UDF image with repeated partition descriptors can trigger a heap out-of-bounds write in part_descs_loc[]. handle_partition_descriptor() deduplicates entries by partition number, but appended slots never record partnum. As a result duplicate Partition Descriptors are appended repeatedly and num_part_descs keeps growing. Once the table is full, the growth path still sizes the allocation from partnum even though inserts are indexed by num_part_descs. If partnum is already aligned to PART_DESC_ALLOC_STEP, ALIGN(partnum, step) can keep the old capacity and the next append writes past the end of the table. Store partnum in the appended slot and size growth from the next append count so deduplication and capacity tracking follow the same model. The Linux kernel CVE team has assigned CVE-2026-45991 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit ee4af50ca94f58afc3532662779b9cf80bbe27c8 and fixed in 6.6.140 with commit 058b451b1039f056d1362c4fec2229e522366ab0 Issue introduced in 4.19 with commit ee4af50ca94f58afc3532662779b9cf80bbe27c8 and fixed in 6.12.88 with commit b5597bb83fc37b5b5da74a4453fa920b932cf39a Issue introduced in 4.19 with commit ee4af50ca94f58afc3532662779b9cf80bbe27c8 and fixed in 7.0.4 with commit 08fa5d818e5bf53c7ca234d88ba334f32004e9b6 Issue introduced in 4.19 with commit ee4af50ca94f58afc3532662779b9cf80bbe27c8 and fixed in 7.1-rc1 with commit 08841b06fa64d8edbd1a21ca6e613420c90cc4b8 Issue introduced in 4.18.7 with commit 7f401f160a9c7a1ff84ba3cb9b2f636d1f5cfb6b 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-45991 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: fs/udf/super.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/058b451b1039f056d1362c4fec2229e522366ab0 https://git.kernel.org/stable/c/b5597bb83fc37b5b5da74a4453fa920b932cf39a https://git.kernel.org/stable/c/08fa5d818e5bf53c7ca234d88ba334f32004e9b6 https://git.kernel.org/stable/c/08841b06fa64d8edbd1a21ca6e613420c90cc4b8