{"api_version":"1","generated_at":"2026-12-01T14:19:22+00:00","cve":"CVE-2026-138986","urls":{"html":"https://cve.report/CVE-2026-138986","api":"https://cve.report/api/cve/CVE-2026-138986.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138986","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138986"},"summary":{"title":"media: atmel-isi: release unregistered video device on remove","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:01","updated_at":"2026-11-30 14:18:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48","name":"https://git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b","name":"https://git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd","name":"https://git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041","name":"https://git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed","name":"https://git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257","name":"https://git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca","name":"https://git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c","name":"https://git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138986","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138986","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b f6a35240bbf18339287904b480610a5e4e401a9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 76b573fec0c06ce992f97d07a0dfc8ae50c831ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 100efce4a6290b6515727c74cf76e6eda8187257 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b 4f5219843098889ac4013e8a47873e98270b7041 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d12c9088c0b2a0973ca8d9508481d544d62b8a8b c0a6d78dad3af1def80f04df82bfd70456ec406c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/platform/atmel/atmel-isi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f6a35240bbf18339287904b480610a5e4e401a9b","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"76b573fec0c06ce992f97d07a0dfc8ae50c831ca","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"100efce4a6290b6515727c74cf76e6eda8187257","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"4f5219843098889ac4013e8a47873e98270b7041","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"},{"lessThan":"c0a6d78dad3af1def80f04df82bfd70456ec406c","status":"affected","version":"d12c9088c0b2a0973ca8d9508481d544d62b8a8b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/platform/atmel/atmel-isi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.12"},{"lessThan":"4.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:49.160Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f6a35240bbf18339287904b480610a5e4e401a9b"},{"url":"https://git.kernel.org/stable/c/f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd"},{"url":"https://git.kernel.org/stable/c/76b573fec0c06ce992f97d07a0dfc8ae50c831ca"},{"url":"https://git.kernel.org/stable/c/6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed"},{"url":"https://git.kernel.org/stable/c/100efce4a6290b6515727c74cf76e6eda8187257"},{"url":"https://git.kernel.org/stable/c/4f5219843098889ac4013e8a47873e98270b7041"},{"url":"https://git.kernel.org/stable/c/fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48"},{"url":"https://git.kernel.org/stable/c/c0a6d78dad3af1def80f04df82bfd70456ec406c"}],"title":"media: atmel-isi: release unregistered video device on remove","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138986","datePublished":"2026-11-30T13:26:49.160Z","dateReserved":"2026-11-30T13:22:15.907Z","dateUpdated":"2026-11-30T13:26:49.160Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:01","lastModifiedDate":"2026-11-30 14:18:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138986","Ordinal":"1","Title":"media: atmel-isi: release unregistered video device on remove","CVE":"CVE-2026-138986","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138986","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"media: atmel-isi: release unregistered video device on remove"}]}}}