Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4a089668ef22c295ed4997289cc48446c849249c before 0da1e627f4fc9d0e947fdae90913042120878923; affected 4a089668ef22c295ed4997289cc48446c849249c before f8d7e77d9c621b42a191c67a9b37bec23dc1d555; affected 4a089668ef22c295ed4997289cc48446c849249c before 1abe9524dec0fd26e9ceb8d586034d6f68dd8273; affected 4a089668ef22c295ed4997289cc48446c849249c before 4e11c45dfdc72ab656067b1df8fcebaf52fd4715; affected 4a089668ef22c295ed4997289cc48446c849249c before d06067ee32620f272cfb80c7bc7c572ad4e74724; affected 4a089668ef22c295ed4997289cc48446c849249c before f9322ac9f862961d7f377b87ec26c8565af7e073; affected 4a089668ef22c295ed4997289cc48446c849249c before 4666197ca4f7d80cd3b0292054fe45d76be9ba04; affected 4a089668ef22c295ed4997289cc48446c849249c before 95f76f51937fdfb0fc1e14cae606b1ef574a56f3 |
| Linux / Linux | affected 4.17; unaffected 0 before 4.17; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0da1e627f4fc9d0e947fdae90913042120878923
- https://git.kernel.org/stable/c/f8d7e77d9c621b42a191c67a9b37bec23dc1d555
- https://git.kernel.org/stable/c/1abe9524dec0fd26e9ceb8d586034d6f68dd8273
- https://git.kernel.org/stable/c/4e11c45dfdc72ab656067b1df8fcebaf52fd4715
- https://git.kernel.org/stable/c/d06067ee32620f272cfb80c7bc7c572ad4e74724
- https://git.kernel.org/stable/c/f9322ac9f862961d7f377b87ec26c8565af7e073
- https://git.kernel.org/stable/c/4666197ca4f7d80cd3b0292054fe45d76be9ba04
- https://git.kernel.org/stable/c/95f76f51937fdfb0fc1e14cae606b1ef574a56f3