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 6E39C23C8AE for ; Fri, 24 Apr 2026 14:47:57 +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=1777042077; cv=none; b=nbMQApmKdew3aGeLDBXtVaTh8lNfq6Dei90Hez5qZV60z5BXsA7bpwrTgh0L7gncNHAw7QXxCKGFlK7FibdiJn5TGrLz0Cm1UnRXDjm1pAm6LUaIqkJUSauecN7C+tSeUSeOnJMV1/McEPgSJSeqMownJg49VpKF4/OdlUUZlsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042077; c=relaxed/simple; bh=y1yEYPtPciro2fQ69lcg6AwLoA2s8WSbFd1rHxdN7G4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CSB02zWay63HOKeHG1H/5O7A4inLdVLfRCrvZNUFXritswmvIFH8yfaidTSdhVNe1p4Ltxjlpp5KnFjZRXeSbLz5PqLJKJ2GFN9CseyixGegP+mv5N41+K5Qs/FsL688I0+QXR5eRx5GZ992ylL2l29KR8lbJoyfr01ykNceXBE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pIq9E96i; 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="pIq9E96i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03103C2BCB2; Fri, 24 Apr 2026 14:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042077; bh=y1yEYPtPciro2fQ69lcg6AwLoA2s8WSbFd1rHxdN7G4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pIq9E96ixF593ExQesq8UEu6BruAsr5w5uNAXxDPyR2cbEyWjZs/n2J0jyxO1tTr3 ie+VcBR/g3fwvs+FD9IjDP1UlY4j7QUYdusZTDrOEodySCFfCFZOKp/HbVZ8amOIQR jd5gbCTeXa0XdSStFG4vOfIjG2UEyN3ji2Hfuf8w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31650: mmc: vub300: fix use-after-free on disconnect Date: Fri, 24 Apr 2026 16:46:12 +0200 Message-ID: <2026042400-CVE-2026-31650-fb3f@gregkh> X-Mailer: git-send-email 2.53.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=2601; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hGuF2n74O7YOELl90fegxfCLwAm4VrOjbjgllPC2O4k=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvmzRaM2JPGXxx/CsXnvQ7e5mKm3W543prmU/lU9MEO H7fKbXpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIm8P8uwYHneSsG/xy7n2Yby 6yvO67jx/XXvZIYFk1b73eOs63QRXFInk3VZskK0/+geAA== 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: mmc: vub300: fix use-after-free on disconnect The vub300 driver maintains an explicit reference count for the controller and its driver data and the last reference can in theory be dropped after the driver has been unbound. This specifically means that the controller allocation must not be device managed as that can lead to use-after-free. Note that the lifetime is currently also incorrectly tied the parent USB device rather than interface, which can lead to memory leaks if the driver is unbound without its device being physically disconnected (e.g. on probe deferral). Fix both issues by reverting to non-managed allocation of the controller. The Linux kernel CVE team has assigned CVE-2026-31650 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit dcfdd698dc521c6046e9b80c16281575efb25d23 and fixed in 6.18.23 with commit ea7468f61be033f4e18b95f2912010ed1d175d75 Issue introduced in 6.17 with commit dcfdd698dc521c6046e9b80c16281575efb25d23 and fixed in 6.19.13 with commit ef0448c569b37ceabdd038e9faa311e5179127b0 Issue introduced in 6.17 with commit dcfdd698dc521c6046e9b80c16281575efb25d23 and fixed in 7.0 with commit 8f4d20a710225ec7a565f6a0459862d3b1f32330 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-31650 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/mmc/host/vub300.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/ea7468f61be033f4e18b95f2912010ed1d175d75 https://git.kernel.org/stable/c/ef0448c569b37ceabdd038e9faa311e5179127b0 https://git.kernel.org/stable/c/8f4d20a710225ec7a565f6a0459862d3b1f32330