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 D35B4503BF4 for ; Wed, 16 Sep 2026 10:39:41 +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=1789555185; cv=none; b=EQ5V0bmIaeKRnfxDvcmQYRPbXFd9wxbf0FKpAUjrXsbWodSsPShiJr0PZPT+chZStWRfskrzC74eHl5FgyHKwOSzkEOBwgWB8o76TjRm85icr49RhruOBss50YYPRb3JaJ75v9Gu51cCQ86S9Euc4Ywatp/0YTBPxj+pZxeeIHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555185; c=relaxed/simple; bh=+xVtKsMI5cKJkK9eCUy5/b0cay04Xvi1JXfJ2DX6BQ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=so0Gn9XGiFqDTvGWwZA+6z5xeSHPfBiBnFDWLk+G1CsbLEga+SjPL7YJqkOsTcYgn0s6ef3+868hKIIvhmorRqqOcpk03XffGcj4yDXIVP6fgpxn/znSLqwi9MJs+6yzvPiBjKnTNX6XbNCnGdrqJrhHhvuyJ3Z7/pcwRsBAQ8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oXZQjlYu; 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="oXZQjlYu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FD491F008A0; Wed, 16 Sep 2026 10:39:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555181; bh=aUzsR9LvNhu4GkPNAjlDoe3HJro0q4H5it+zqCHOHZw=; h=From:To:Cc:Subject:Date:Reply-To; b=oXZQjlYuUkE38ZGolbCTkM39CVIpf+ggM1wHqhggpz3GmyEQ907mtdd3o4rhoOUnz m2BSdIz89wedHrFO79fhMlfJ1qxX6CQG+6wDA+PGG9ty/eP5r8YyvDZRftJ0ejl7pj OKUZkbcnYKDSxLK3Xdw/vaknyk0hX0M32j694iBg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89891: media: em28xx: fix use-after-free of dev_next->devlist on disconnect Date: Wed, 16 Sep 2026 11:30:21 +0100 Message-ID: <2026091636-CVE-2026-89891-6290@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=4322; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xrE8bmrOm64SnpIo2CryIB7NS3TR09hlCMl4CjtsCTU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8ifcULc8YXhebtrfTtFjvs8t5/hPv9q667boDl5R4 x93fgcXdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVugzzLNSyfb/wfPv3p4H d5t9reIijBjcRRjmCkoJC2Y4FTVcZnupU9O4ZE10+Z/TAA== 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: media: em28xx: fix use-after-free of dev_next->devlist on disconnect When a device with has_dual_ts=1 is probed and the is_audio_only path is taken, both dev and dev->dev_next are added to the global em28xx_devlist via em28xx_init_extension(). However, during disconnect, em28xx_close_extension(dev) only calls list_del(&dev->devlist), leaving dev->dev_next->devlist still linked in the global list. When dev_next is subsequently freed via kref_put(), its devlist entry becomes a dangling pointer in em28xx_devlist. The next device probe that calls em28xx_init_extension() triggers a list corruption BUG when list_add_tail detects the freed node. This bug was exposed by commit a368ecde8a50 ("USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor") which clears reserved bits in bEndpointAddress during endpoint parsing. This causes fuzzed endpoint addresses like 0xf3 to be normalized to 0x83, which em28xx interprets as a vendor audio endpoint, enabling the is_audio_only + has_dual_ts code path that was previously unreachable with such descriptors. Fix this by removing dev->dev_next->devlist from the global list in em28xx_close_extension() before the device is freed. The Linux kernel CVE team has assigned CVE-2026-89891 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 5.10.270 with commit f61720346fdcc1a2deec59a2f6cbb0cc20d1dc18 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 5.15.221 with commit 1ed575b1991f68569eb589b7747d3bc26aa6a8a2 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 6.1.188 with commit da4b07da6281e39ce4c01e1227e036f3bf600e14 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 6.6.157 with commit 20aacd87550be297dc39a3f9532dcfff91586510 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 6.12.110 with commit 20c2c65f3d9f7c278dc9750531d3201ac8bf78b7 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 6.18.51 with commit 0782807552b6aff41b4656c6c9076a3231d3e79d Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 7.2.5 with commit 16cb1ee17e093175b4d9ae33202f68e5b108cca2 Issue introduced in 4.17 with commit f410b4093fdd4d8f4644d3d486afe3040eceef7b and fixed in 7.3-rc1 with commit 826915b6b65e2d3251e7248ea54289a22d748c84 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-89891 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/media/usb/em28xx/em28xx-core.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/f61720346fdcc1a2deec59a2f6cbb0cc20d1dc18 https://git.kernel.org/stable/c/1ed575b1991f68569eb589b7747d3bc26aa6a8a2 https://git.kernel.org/stable/c/da4b07da6281e39ce4c01e1227e036f3bf600e14 https://git.kernel.org/stable/c/20aacd87550be297dc39a3f9532dcfff91586510 https://git.kernel.org/stable/c/20c2c65f3d9f7c278dc9750531d3201ac8bf78b7 https://git.kernel.org/stable/c/0782807552b6aff41b4656c6c9076a3231d3e79d https://git.kernel.org/stable/c/16cb1ee17e093175b4d9ae33202f68e5b108cca2 https://git.kernel.org/stable/c/826915b6b65e2d3251e7248ea54289a22d748c84