media: atmel-isi: release unregistered video device on remove
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
media: atmel-isi: release unregistered video device on remove
atmel_isi_probe() allocates the video device before registering the V4L2 async notifier. The video device is registered later from the notifier complete callback once the remote subdevice has been bound.
The remove path relies on the notifier unbind callback to unregister the video device. However, if the remote subdevice is never bound, or the complete callback fails before video_register_device() succeeds, the video device remains unregistered. In that case the unbind path does not release the object allocated by video_device_alloc(), and the remove path leaks it.
Only unregister the video device from the unbind callback when it has actually been registered, and clear the driver pointer afterwards. After unregistering and cleaning up the notifier, release the video device directly if the pointer is still present. This covers devices that were allocated but never registered while avoiding a second release of successfully registered devices.
This issue was found by manual code inspection.
| Product | Versions |
|---|---|
| Linux Linux | d12c9088c0b2a0973ca8d9508481d544d62b8a8b to before f6a35240bbf18339287904b480610a5e4e401a9b Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before 76b573fec0c06ce992f97d07a0dfc8ae50c831ca Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before 6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before 100efce4a6290b6515727c74cf76e6eda8187257 Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before 4f5219843098889ac4013e8a47873e98270b7041 Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48 Affectedd12c9088c0b2a0973ca8d9508481d544d62b8a8b to before c0a6d78dad3af1def80f04df82bfd70456ec406c Affected |
| Linux Linux | 4.12 Affectedbefore 4.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b
- https://git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd
- https://git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca
- https://git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed
- https://git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257
- https://git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041
- https://git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48
- https://git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.