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 3FA631A6834 for ; Fri, 1 May 2026 14:19:39 +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=1777645179; cv=none; b=FvJ6QvZPDDQW+R+Xbrd7O+4TWcMs74nRusk7UiYsoTwaM5dJlFioGAeRAX95KR35goryWNwnj8W3No92/eYtTzmHs0HCq+qPlLyaGNP+IjQm1K8MP2nwZKpigWE7bmeVMcnsi1yDl+Wxeiw9pqbaKfoJRMeeXl26PgeBZ0lmO8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645179; c=relaxed/simple; bh=5pWmLcgUGoyQwnPzSnsUFy9yNn7ZZh4HvtMygLyE/M4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WSVTdg11pPVM2I3Ub7ix/XJxOPsYkJm8WybW9p0zVWNxWpjW9iEevHh3dH321Wp72N0ev9OsabSvi/NXFJWu6ZFnKbI0ISJmvoGR8dd4tsJ3EsA2OxcBl71Q1580m1m+CO4bRRJQzhUdGddi9k+x85G0oO2W11E5cHuLjUOQ8eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uTqv2mPr; 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="uTqv2mPr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 909F5C2BCB4; Fri, 1 May 2026 14:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645178; bh=5pWmLcgUGoyQwnPzSnsUFy9yNn7ZZh4HvtMygLyE/M4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=uTqv2mPrp0Jt3kBOHQtcQX2A8JA1eQOjWZ8Tz/tccCdYzXX9oaZaNXEcN7n2ye92w eRg3I0u5nOdeajDTqkzbcuxgIsGqg6B5nLAgb6mG022ptypu7EtbrVc4849dhdzz7P s9/22RTo6CNtliNQwYF2fa4C6qPxdvDO+3Ei9EAc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31757: usb: misc: usbio: Fix URB memory leak on submit failure Date: Fri, 1 May 2026 16:15:08 +0200 Message-ID: <2026050144-CVE-2026-31757-89cb@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=2199; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J3AJ6EWCSVjAAuparW716kZ0yv69mcviRlYzfk7oIdQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftoaIH5kkcXZ/0D+j1I/n3+jIecnsNRBL+JS1OGCn0 ezZ2XtPdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE5sgyLJhexa87fXFK+vmn HY/0bPveLvPe+JBhwcJ95Xo5/5n03z1qbahftGGb+qvpzQA= 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: usb: misc: usbio: Fix URB memory leak on submit failure When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak. Fix this by jumping to err_free_urb label to properly release the URB on the error path. The Linux kernel CVE team has assigned CVE-2026-31757 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 6.18.22 with commit 65ff09f48b0e72e4049096a989723406aabcf091 Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 6.19.12 with commit 1762dc43b983d321180582afba4a0c5185fae04c Issue introduced in 6.18 with commit 121a0f839dbb397af5fabb701cea3e9983223e50 and fixed in 7.0 with commit 33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21 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-31757 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/misc/usbio.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/65ff09f48b0e72e4049096a989723406aabcf091 https://git.kernel.org/stable/c/1762dc43b983d321180582afba4a0c5185fae04c https://git.kernel.org/stable/c/33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21