# CVE-2026-89891: media: em28xx: fix use-after-free of dev_next->devlist on disconnect

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:53.963Z
- Modified: 2026-10-19T09:18:34.170Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f410b4093fdd4d8f4644d3d486afe3040eceef7b before f61720346fdcc1a2deec59a2f6cbb0cc20d1dc18; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 1ed575b1991f68569eb589b7747d3bc26aa6a8a2; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before da4b07da6281e39ce4c01e1227e036f3bf600e14; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 20aacd87550be297dc39a3f9532dcfff91586510; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 20c2c65f3d9f7c278dc9750531d3201ac8bf78b7; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 0782807552b6aff41b4656c6c9076a3231d3e79d; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 16cb1ee17e093175b4d9ae33202f68e5b108cca2; from f410b4093fdd4d8f4644d3d486afe3040eceef7b before 826915b6b65e2d3251e7248ea54289a22d748c84; 4.17 (not affected: before 4.17; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-89891](https://www.cve.org/CVERecord?id=CVE-2026-89891), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89891](https://nvd.nist.gov/vuln/detail/CVE-2026-89891), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89891 · Whole record: https://cve.day/CVE-2026-89891.json · Rebuilt by cve.day 2026-11-25T22:59:38.969Z
