media: go7007: defer the ALSA v4l2 put until card release
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e6f1a1ac9b8ccabfec548aef0d0d93eaf4dba4f4, Kernel 0745a59945d927652d892437f9647ed6e87c0677, Kernel 1bd456afeb8a515137e567967069fce6f8fcd23e and 12 more.
In the Linux kernel, the following vulnerability has been resolved: media: go7007: defer the ALSA v4l2 put until card release go7007_snd_init() already takes a v4l2_device reference for the ALSA side, but go7007_snd_remove() drops it immediately after calling snd_card_free_when_closed(). That is too early when a userspace process still has the capture PCM open. The ALSA card and its PCM callbacks remain alive until the last file is closed, so the release path can still reach struct go7007 through pcm->private_data and call go7007_snd_hw_free() after the V4L2 release path has freed the object. Move the matching v4l2_device_put() to the ALSA card private_free callback so the existing ALSA reference covers the whole deferred card lifetime.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <e6f1a1ac9b8ccabfec548aef0d0d93eaf4dba4f4, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <0745a59945d927652d892437f9647ed6e87c0677, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <1bd456afeb8a515137e567967069fce6f8fcd23e, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <1c57d1a3396b2d767d58f10dff09bb397586c714, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <1c9fdd9465211432d5c0ff70caaec0be245823d5, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <29fe4d38fb59ec28ca656cb2dabc2b0f78e78980, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <9c4f9628b8558c87903492a777834cc5be14ded3, >=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef <b7a0de398ad510426db9c8e96c516ef7abf48b0e, =3.10 | e6f1a1ac9b8ccabfec548aef0d0d93eaf4dba4f4, 0745a59945d927652d892437f9647ed6e87c0677, 1bd456afeb8a515137e567967069fce6f8fcd23e, 1c57d1a3396b2d767d58f10dff09bb397586c714, 1c9fdd9465211432d5c0ff70caaec0be245823d5, 29fe4d38fb59ec28ca656cb2dabc2b0f78e78980, 9c4f9628b8558c87903492a777834cc5be14ded3, b7a0de398ad510426db9c8e96c516ef7abf48b0e |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.10.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.51, 7.2.5, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket