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 84DA41487C6 for ; Wed, 17 Apr 2024 15:59:51 +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=1713369591; cv=none; b=qTwYR8nz03quwIKtT993wgZEgYz3T5hn+p7FlTM5UmYT3vkD4hbiMLMUTEkJPt5Whcwcggpkl8nMzDaGH5sOPiQA97aGnDyHg5SBbkqOeqsTvtGW4I/cYvcRERS1u4CvdiF3/ozyIVarK/R4ruzPk0xAv8fa8CHHLGzhAbyNq74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713369591; c=relaxed/simple; bh=uDPEOpi6yuLmgN4+fMQMqeTF3gSwq/IuUBFiPJ5Ek3o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WZaE2DwJ5X6bZLJ/WowYsqe25fxeU7Mwa2Zv3ylsw75QAt9NU1QhEmxbjknntSUQoxprWoMzl0Bbj9Bvpv6GjdXApwumv99Cy/IxOWJVzht7jx+07MD3XUlbJi6zY62GCfce4wd0uOimKiU3gCxPjZir2bGcSHbAZEjx63wMPdE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h7WYhTFj; 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="h7WYhTFj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB4C4C2BD11; Wed, 17 Apr 2024 15:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713369591; bh=uDPEOpi6yuLmgN4+fMQMqeTF3gSwq/IuUBFiPJ5Ek3o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=h7WYhTFja2lfM4ElG9xNmrivdwKrTRn7POULBlo5i5/4krhONqeWYKTTMFLjfavjP I5c7X4qBUvQzr89H8YfpN99s+01FSKAjTyohhT6+kSDb7wB3m7Mab6YwlYqKuQ/wuD 4VcjkyKx/CE9hw77J343plUA9HXYjPf5sdkvwX1k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26919: usb: ulpi: Fix debugfs directory leak Date: Wed, 17 Apr 2024 17:59:44 +0200 Message-ID: <2024041738-CVE-2024-26919-5100@gregkh> X-Mailer: git-send-email 2.44.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=2314; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uDPEOpi6yuLmgN4+fMQMqeTF3gSwq/IuUBFiPJ5Ek3o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyH1+djIybxd3raMZ5+meT5vNfayYLfhQ/+sW5qDVTw 3MrX0x2RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk3yuGubIhnO+ago1Lvv/5 O/fzx5rIq4+YehhmMb9lmmTwY+WR3Xqqq4XlJmo0uSRmAQA= 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: usb: ulpi: Fix debugfs directory leak The ULPI per-device debugfs root is named after the ulpi device's parent, but ulpi_unregister_interface tries to remove a debugfs directory named after the ulpi device itself. This results in the directory sticking around and preventing subsequent (deferred) probes from succeeding. Change the directory name to match the ulpi device. The Linux kernel CVE team has assigned CVE-2024-26919 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit bd0a0a024f2a and fixed in 6.1.79 with commit d31b886ed6a5 Issue introduced in 5.18 with commit bd0a0a024f2a and fixed in 6.6.18 with commit 330d22aba17a Issue introduced in 5.18 with commit bd0a0a024f2a and fixed in 6.7.6 with commit 33713945cc92 Issue introduced in 5.18 with commit bd0a0a024f2a and fixed in 6.8 with commit 3caf2b2ad733 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-26919 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/usb/common/ulpi.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/d31b886ed6a5095214062ee4fb55037eb930adb6 https://git.kernel.org/stable/c/330d22aba17a4d30a56f007d0f51291d7e00862b https://git.kernel.org/stable/c/33713945cc92ea9c4a1a9479d5c1b7acb7fc4df3 https://git.kernel.org/stable/c/3caf2b2ad7334ef35f55b95f3e1b138c6f77b368