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 E22F9509F00 for ; Wed, 16 Sep 2026 10:45:31 +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=1789555550; cv=none; b=Fg5IBwXkoLgSqxH9WuEamBJ90f5ruIZdxqZdO3PQsJCy9zt5lDblMcd/SmIpCCdrXZ4ebqZzH8l6GYyKryzz9ylW9M/lTPPxLybIA7xGzC9oJm/gzUdL9Axf1Z5GPGsoXylVkx+ApK00f4Q2atpLyLNE1F1bk2dZb/Ru3FoZIa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555550; c=relaxed/simple; bh=i4bmWSz+n1whvjJy3NB9C1KeVShjKxFlD404T+7m+vs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nTrcZMO6OO3ky/M2LVVZ4p+rQvCRhSRCsvLQHbBfwa6wdEbkwVi0QQrzi9GOvxr5hWJqDEE0vLltyy9PvFCQ77DaGZLWjVYL+JUKOclkSXRSHF0fMI+wc/Kg0eBQ/Naa0aKsKd0Fls6iMpZdgzKwLKJ/eDvvjwNtUeXtB61DJL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hMxvn3do; 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="hMxvn3do" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBFDB1F0089B; Wed, 16 Sep 2026 10:45:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555529; bh=WNlLLm2wO/iRNEPYYERoMO7YSdu5djfOr0Mz6M+ab2o=; h=From:To:Cc:Subject:Date:Reply-To; b=hMxvn3dowuqs7jNj94fgLIjej8dpjgE0gYh8wRTEdFxgM2wDN3ViSIPepUhv6FcAe f6NDgrCPSPLISr7czX0DEhPKlnBHUooI4vrRwSCXrvTDZC4KV3tZFydplSaVD/keG/ yP6DBgHoUlsWB8rdQgDuUaDrPLI+IkYHJwNmHfwU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90045: USB: gadget: ffs: fix mm lifetime handling Date: Wed, 16 Sep 2026 11:32:55 +0100 Message-ID: <2026091609-CVE-2026-90045-6b66@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=2099; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mibx0bKYkU38vhF+bmkjm1IoKS54WCTYjMi+QgadM4A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8jdeqlk6T7Rgzeu4BBbZw/zzYs9l8fx7vPWM2tqsn TkLl1l7dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEkiYwzI8+YWs87f3+yTdm 7p4UL3LVqC7/9VaG+Q5zZD/vW9t+sCViAsMF8U9LnfvMTQA= 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: gadget: ffs: fix mm lifetime handling io_data stores a pointer to the submitting task's mm_struct, but does not currently hold a reference to it while async requests are pending. This can result in a use-after-free if the task exits before completion handling finishes. Take a reference with mmgrab() when queuing the read request and release it with mmdrop() on request completion. The Linux kernel CVE team has assigned CVE-2026-90045 to this issue. Affected and fixed versions =========================== Fixed in 6.18.51 with commit f3d31484b3f26d63c09e5569ebfaa1079a17f171 Fixed in 7.2.5 with commit 7411de0ce3b45286de1de82526795658ea6eacb0 Fixed in 7.3-rc1 with commit 5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8 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-90045 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/gadget/function/f_fs.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/f3d31484b3f26d63c09e5569ebfaa1079a17f171 https://git.kernel.org/stable/c/7411de0ce3b45286de1de82526795658ea6eacb0 https://git.kernel.org/stable/c/5eb5c72c72fef76cb765ef1669b62b6a3ba1bfc8