[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025021201-CVE-2025-21698-ec61@gregkh>
Date: Wed, 12 Feb 2025 14:52:01 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21698: Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null"
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null"
This reverts commit 13014969cbf07f18d62ceea40bd8ca8ec9d36cec.
It is reported to cause crashes on Tegra systems, so revert it for now.
The Linux kernel CVE team has assigned CVE-2025-21698 to this issue.
Affected and fixed versions
===========================
Fixed in 5.4.290 with commit 76e7577bb89b327abdf72d4c0d486074a17f712a
Fixed in 5.10.234 with commit 99c866bea85efdebfb6953a8a305f21ef5ca4991
Fixed in 5.15.178 with commit 20ce02f2f73af331dec76d3b8b78b18f4699db05
Fixed in 6.1.128 with commit 33233b06ad15730d0463e8f152db2eca15c7f498
Fixed in 6.6.75 with commit 3d8f4dc8c78ffd77a4106614977c1e51531690f7
Fixed in 6.12.12 with commit bb50dc2aa49dcb5cc81205d814c08337b5da28ac
Fixed in 6.13.1 with commit f8b8883ad76d36ee890b18311096af7af7d7a921
Fixed in 6.14-rc1 with commit 086fd062bc3883ae1ce4166cff5355db315ad879
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-2025-21698
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/u_serial.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/76e7577bb89b327abdf72d4c0d486074a17f712a
https://git.kernel.org/stable/c/99c866bea85efdebfb6953a8a305f21ef5ca4991
https://git.kernel.org/stable/c/20ce02f2f73af331dec76d3b8b78b18f4699db05
https://git.kernel.org/stable/c/33233b06ad15730d0463e8f152db2eca15c7f498
https://git.kernel.org/stable/c/3d8f4dc8c78ffd77a4106614977c1e51531690f7
https://git.kernel.org/stable/c/bb50dc2aa49dcb5cc81205d814c08337b5da28ac
https://git.kernel.org/stable/c/f8b8883ad76d36ee890b18311096af7af7d7a921
https://git.kernel.org/stable/c/086fd062bc3883ae1ce4166cff5355db315ad879
Powered by blists - more mailing lists