CVE-2026-138986

Source
https://cve.org/CVERecord?id=CVE-2026-138986
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138986.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138986
Downstream
Published
2026-11-30T13:26:49Z
Modified
2026-11-30T15:01:43Z
Summary
media: atmel-isi: release unregistered video device on remove
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138986.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d12c9088c0b2a0973ca8d9508481d544d62b8a8b
Fixed
f6a35240bbf18339287904b480610a5e4e401a9b
Fixed
f09cd87c5b3ddc4fbfda40cfe2be2ffeeb9049fd
Fixed
76b573fec0c06ce992f97d07a0dfc8ae50c831ca
Fixed
6d7fbc975f636956bbdb0481ea800d8ad4d2d6ed
Fixed
100efce4a6290b6515727c74cf76e6eda8187257
Fixed
4f5219843098889ac4013e8a47873e98270b7041
Fixed
fc317f0e7d6a148ed4ece0f24d64b0cb9cf2af48
Fixed
c0a6d78dad3af1def80f04df82bfd70456ec406c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138986.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138986.json"