media: em28xx: fix use-after-free of dev_next->devlist on disconnect (Linux Linux)

CVE-2026-89891
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f410b4093fdd4d8f4644d3d486afe3040eceef7b < f61720346fdcc1a2deec59a2f6cbb0cc20d1dc18 ; affected f410b4093fdd4d8f4644d3d486afe3040eceef7b < 1ed575b1991f68569eb589b7747d3bc26aa6a8a2 ; affected f410b4093fdd4d8f4644d3d486afe3040eceef7b < da4b07da6281e39ce4c01e1227e036f3bf600e14 ; affected f410b4093fdd4d8f4644d3d486afe3040eceef7b < 20aacd87550be297dc39a3f9532dcfff91586510 ; affected f410b4093fdd4d8f4644d3d486afe3040eceef7b < 20c2c65f3d9f7c278dc9750531d3201ac8bf78b7 ; affected f410b4093fdd4d8f4644d3d486afe3040eceef7b < 0782807552b6aff41b4656c6c9076a3231d3e79d
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD