media: em28xx: defer audio-only extension registration
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4a089668ef22c295ed4997289cc48446c849249c · < f9322ac9f862961d7f377b87ec26c8565af7e073| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: em28xx: defer audio-only extension registration
The audio-only path registers extensions while probing the primary device. For a dual-TS board, this happens before dev_next is created. The duplicate device inherits is_audio_only and is then independently inserted into em28xx_devlist.
The list is intended to contain only primary devices: extension operations reach the secondary device through dev_next. The independently linked secondary can be freed during disconnect while its list node remains reachable, resulting in a use-after-free.
Defer audio-only extension registration to the module-request work item. It runs only after probing has completed construction of the optional secondary device, so only the primary is registered and extension callbacks reach the secondary through dev_next.
From the CVE record · Linux
On a dual-TS board, the em28xx audio-only path can register a secondary device independently. During disconnect, that device can be freed while its list entry remains reachable, causing a use-after-free. The input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with the em28xx driver on dual-TS boards should check their affected versions; none are specified in the input.