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

Not scored Published Updated

A memory leak in the Nuvoton NPCM video driver allows attackers to cause denial of service by exhausting kernel memory through repeated device binding or unbinding.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-68221?

CVE-2026-68221 is a memory corruption vulnerability in Linux, published on 10 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

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

npcm_video_probe() allocates the npcm_video structure with kzalloc_obj() but never frees it on any probe error path or in npcm_video_remove(), leaking the allocation on every failed probe and every normal unbind.

Additionally, when npcm_video_setup_video() fails, the reserved memory association established by of_reserved_mem_device_init() in npcm_video_init() is not released, leaking the rmem_assigned_device entry on the global list.

Fix both by adding kfree(video) to all probe error paths and to npcm_video_remove(), and adding the missing of_reserved_mem_device_release() call when npcm_video_setup_video() fails.

Which versions are affected by CVE-2026-68221?

How do I fix CVE-2026-68221?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-68221 being exploited?

There is no known exploitation of CVE-2026-68221 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-68221, DEBIAN-CVE-2026-68221, GHSA-pm6p-p8m3-vpmm, UBUNTU-CVE-2026-68221.

Is CVE-2026-68221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free