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 5E2A11F9ED8 for ; Mon, 21 Oct 2024 18:54:29 +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=1729536870; cv=none; b=H6F+g9yq9wCVgB792PpfzbutjPCSCyoMVSV5uI4o+jkZH9vkG5RY41XHYMeBCsXsr+jJ2BDIXS4blcOEyuJx1UaW4VpNiUYbnR2MhWhuy8/vIfTmoRZBE2X/8eIWJwry0lbzvISlMbgYB5d2s/LBpsnRepyrbwz6g5jz/4Mm4jw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729536870; c=relaxed/simple; bh=k1zy8FfoyhMxJsZp3l1TLeCvuzjDdMayex7cZJ4h4Gg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DRDFMW8u4ndpS9wcChoSqXoF8qYSAyqa32K6zPwAAV3zdRcPZGwq4gxYerPN/m+OJPRJcaxQHFY+NaIsk/Lk7wgW5ZnUA8sXNf6emxkwWTH29J3ein+V1jNvnLAkyrYMeFoskROJ2/nr6hd2RdA0kqzvV/FBikLpAW+8VRCLLyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1bThG4J4; 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="1bThG4J4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DFF9C4CEC3; Mon, 21 Oct 2024 18:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729536869; bh=k1zy8FfoyhMxJsZp3l1TLeCvuzjDdMayex7cZJ4h4Gg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1bThG4J47I3HQmbTAVorWYKI6OoSzxMemqpdtsyRxhbxqAMsVmP4YEkPylGoVW7dQ KH3zenbbWmjsp+AZQCB9dGwUH09zcxrcFX4GDX0h7EVcdk9kJBK9jk8C1xWvICkCeA nbkApsR48s1/lR5WlarMnYj6Qtzu4Hb9S/gZALLY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50013: exfat: fix memory leak in exfat_load_bitmap() Date: Mon, 21 Oct 2024 20:54:17 +0200 Message-ID: <2024102110-CVE-2024-50013-05ef@gregkh> X-Mailer: git-send-email 2.47.0 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=2656; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k1zy8FfoyhMxJsZp3l1TLeCvuzjDdMayex7cZJ4h4Gg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlii4M8pc9NnOz1zGryNCa7Sc48qTwtt+OvzdX7d2C+2 L1S/t3qHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRyQ4M810mtZvERdtrhtWp 7gi6LJ0rUWeZxjCHW/rtQp+NLzQCtn2tENhw53DavSPXAQ== 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: exfat: fix memory leak in exfat_load_bitmap() If the first directory entry in the root directory is not a bitmap directory entry, 'bh' will not be released and reassigned, which will cause a memory leak. The Linux kernel CVE team has assigned CVE-2024-50013 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 5.10.227 with commit f692160d3e1e Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 5.15.168 with commit ddf704c2ce3b Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 6.1.113 with commit 4e1813e52f86 Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 6.6.55 with commit bf0b3b352594 Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 6.10.14 with commit dca359db1eb3 Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 6.11.3 with commit 89081e8407e6 Issue introduced in 5.7 with commit 1e49a94cf707 and fixed in 6.12-rc1 with commit d2b537b3e533 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-50013 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/exfat/balloc.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/f692160d3e1e5450605071b8df8f7d08d9b09a83 https://git.kernel.org/stable/c/ddf704c2ce3b73f38d2dd8cf1bb0f7ec038bdf63 https://git.kernel.org/stable/c/4e1813e52f86eb8db0c6c9570251f2fcbc571f5d https://git.kernel.org/stable/c/bf0b3b35259475d1fe377bcaa565488e26684f7a https://git.kernel.org/stable/c/dca359db1eb37f334267ebd7e3cab9a66d191d5b https://git.kernel.org/stable/c/89081e8407e637463db5880d168e3652fb9f4330 https://git.kernel.org/stable/c/d2b537b3e533f28e0d97293fe9293161fe8cd137