CVE-2026-68221

Source
https://cve.org/CVERecord?id=CVE-2026-68221
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68221.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68221
Downstream
Published
2026-08-10T12:00:41.392Z
Modified
2026-08-12T04:19:22.087522447Z
Summary
media: nuvoton: npcm-video: fix memory leaks in probe and remove
Details

In the Linux kernel, the following vulnerability has been resolved:

media: nuvoton: npcm-video: fix memory leaks in probe and remove

npcmvideoprobe() allocates the npcmvideo structure with kzallocobj() but never frees it on any probe error path or in npcmvideoremove(), leaking the allocation on every failed probe and every normal unbind.

Additionally, when npcmvideosetupvideo() fails, the reserved memory association established by ofreservedmemdeviceinit() in npcmvideoinit() is not released, leaking the rmemassigned_device entry on the global list.

Fix both by adding kfree(video) to all probe error paths and to npcmvideoremove(), and adding the missing ofreservedmemdevicerelease() call when npcmvideosetup_video() fails.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68221.json",
    "cna_assigner": "Linux"
}
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
46c15a4ff1f4fe078c5b250fb2570020211eab38
Fixed
b092d690a9b28795ab2db083023e8a5368cddb22
Fixed
181a0aeefd56f9285325b84789aa348aba0508bf
Fixed
65ddc021d39d6383635ee8b0970b2d1c7947e447
Fixed
50cc0e547da50b887e63dfa1ad203cd5b735d01e

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

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