media: atmel-isi: release unregistered video device on remove

Summary

CVECVE-2026-138986
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:01 UTC
Updated2026-11-30 14:18:01 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b f6a35240bbf18339287904b480610a5e4e401a9b git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 76b573fec0c06ce992f97d07a0dfc8ae50c831ca git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 100efce4a6290b6515727c74cf76e6eda8187257 git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 4f5219843098889ac4013e8a47873e98270b7041 git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48 git Not specified
CNA Linux Linux affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b c0a6d78dad3af1def80f04df82bfd70456ec406c git Not specified
CNA Linux Linux affected 4.12 Not specified
CNA Linux Linux unaffected 4.12 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report