{"id":"CVE-2026-138986","aliases":["CVE-2026-138986"],"related":[],"kind":"vulnerability","state":"published","title":"media: atmel-isi: release unregistered video device on remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: atmel-isi: release unregistered video device on remove\n\natmel_isi_probe() allocates the video device before registering the\nV4L2 async notifier. The video device is registered later from the\nnotifier complete callback once the remote subdevice has been bound.\n\nThe remove path relies on the notifier unbind callback to unregister\nthe video device. However, if the remote subdevice is never bound, or\nthe complete callback fails before video_register_device() succeeds,\nthe video device remains unregistered. In that case the unbind path\ndoes not release the object allocated by video_device_alloc(), and the\nremove path leaks it.\n\nOnly unregister the video device from the unbind callback when it has\nactually been registered, and clear the driver pointer afterwards.\nAfter unregistering and cleaning up the notifier, release the video\ndevice directly if the pointer is still present. This covers devices\nthat were allocated but never registered while avoiding a second\nrelease of successfully registered devices.\n\nThis issue was found by manual code inspection.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: atmel-isi: release unregistered video device on remove\n\natmel_isi_probe() allocates the video device before registering the\nV4L2 async notifier. The video device is registered later from the\nnotifier complete callback once the remote subdevice has been bound.\n\nThe remove path relies on the notifier unbind callback to unregister\nthe video device. However, if the remote subdevice is never bound, or\nthe complete callback fails before video_register_device() succeeds,\nthe video device remains unregistered. In that case the unbind path\ndoes not release the object allocated by video_device_alloc(), and the\nremove path leaks it.\n\nOnly unregister the video device from the unbind callback when it has\nactually been registered, and clear the driver pointer afterwards.\nAfter unregistering and cleaning up the notifier, release the video\ndevice directly if the pointer is still present. This covers devices\nthat were allocated but never registered while avoiding a second\nrelease of successfully registered devices.\n\nThis issue was found by manual code inspection.","source":"cvelist"}],"published":"2026-11-30T13:26:49.160Z","modified":"2026-11-30T14:18:01.070Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"f6a35240bbf18339287904b480610a5e4e401a9b","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"76b573fec0c06ce992f97d07a0dfc8ae50c831ca","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"100efce4a6290b6515727c74cf76e6eda8187257","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"4f5219843098889ac4013e8a47873e98270b7041","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48","status":"affected"},{"type":"git","introduced":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","fixed":"c0a6d78dad3af1def80f04df82bfd70456ec406c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138986","url":"https://www.cve.org/CVERecord?id=CVE-2026-138986","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:49.160Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138986","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138986","licence":"Public domain","modified":"2026-11-30T14:18:01.070Z"}],"updatedAt":"2026-11-30T14:32:39.392Z","epss":{"score":0.00211,"percentile":0.12011,"date":"2026-12-01T12:00:22.000Z"}}