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 D094B336886 for ; Thu, 24 Sep 2026 15:11:22 +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=1790262684; cv=none; b=OXGDeWSVkKu8uzxoPq1vuLq21MT1t+6u3atrRZHuVhKVn8Gq9AAKcD12cr061I6gSpoxyzvoSbkmW3I59rbTJ/EemADuziGa4ckePmkC1fCWtTDIrOVeIhdLLHvme3kjMai6xmsybuM1Dt0Y3MpQHx/3Y9PJlnS4/Wf3d2SOoc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790262684; c=relaxed/simple; bh=PeUzR7Hgss4NGtXAQ4h6Yb7WzEP10P63uH5pKJKOzfU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FXww7KIS7untwm7qiOAWPGsboRjwTSXmS42U687Otes3MBuHU215J8LO5F/JPD/DuS1hnBSDgbY3ERhv2/qdSGdZz9nRtZm+BqHP9Yy8LBiMaXHNUEosvVr1A38azrCLaD6xaAegt/ipSLHGmncclL8A+lgdxnAtic6tEyqOOcs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2Rn1V8NY; 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="2Rn1V8NY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A6A91F00893; Thu, 24 Sep 2026 15:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790262682; bh=ok1TfN4jg2Z3W7rylcj7x+ZzsPvMf4/ETQAyeYrTB9Q=; h=From:To:Cc:Subject:Date:Reply-To; b=2Rn1V8NYf8+N/nat6WmtakRX1pj3v6eMTHONvSJ5QBI9MuYwb/XRqXpfiZN9Y6jVi HRqrSkqdWndObTCFnwtAZPjpsL0NNevXHxyK8hLv8eRCUDKlldpjCDdVNQXgTlyncK SzVU5yNQbGCOF3oMXSLdAqolm1sdyUaZcVVg/A/E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93215: cdx: Fix double free when sysfs file creation fails Date: Thu, 24 Sep 2026 17:10:51 +0200 Message-ID: <2026092445-CVE-2026-93215-da53@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=2549; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XHC3hkPpWoR2A7abNf2TRFKSu+5mkXW5J/SCQ0Kjh0w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbbUu1sgNCnD6qLdj7O43Na9FBXrPDNhoFr68b+9Xya X1eppDbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPpvcowP5ljq1K1feWOTRs0 +r4dqjvIVDSjgWGe6VTGq2IRj+rTUhMqlKYfNvlw4o09AA== 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: cdx: Fix double free when sysfs file creation fails In cdx_create_res_attr(), if sysfs_create_bin_file() fails, the code frees res_attr but doesn't set cdx_dev->res_attr[num] to NULL. This leaves a dangling pointer in the array. Then cdx_destroy_res_attr() frees the already-freed memory. Fix the double free by initializing cdx_dev->res_attr[num] after sysfs_create_bin_file() completes. The Linux kernel CVE team has assigned CVE-2026-93215 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d and fixed in 6.12.109 with commit 88f4cd42a04bdadd189d7f667a4c279f4e962ca6 Issue introduced in 6.8 with commit aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d and fixed in 6.18.50 with commit 4cd24873ab9fdbd730604881a6e8087bc7b99336 Issue introduced in 6.8 with commit aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d and fixed in 7.2.4 with commit 7e9451bf0bdba6daee1eaf4e7566612af6ca1c32 Issue introduced in 6.8 with commit aeda33ab8160c7a2e24ba4f44492ad1e974ddc7d and fixed in 7.3-rc1 with commit 6f4acc3a3c300e174e3f586b97b04ed8f5948c36 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-93215 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/cdx/cdx.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/88f4cd42a04bdadd189d7f667a4c279f4e962ca6 https://git.kernel.org/stable/c/4cd24873ab9fdbd730604881a6e8087bc7b99336 https://git.kernel.org/stable/c/7e9451bf0bdba6daee1eaf4e7566612af6ca1c32 https://git.kernel.org/stable/c/6f4acc3a3c300e174e3f586b97b04ed8f5948c36