Medium [CVE-2026-68221] fix memory leaks in probe and remove
This medium-severity Red Hat Linux advisory covers CVE-2026-68221 affecting Red Hat Enterprise Linux for NVIDIA 26, Red Hat package: kernel.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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. The `npcm_video_probe()` function allocates memory that is not properly freed on error paths or during device removal, leading to memory leaks.
These issues can lead to resource exhaustion, potentially resulting in a Denial of Service (DoS) for the system. This issue affects systems using the Nuvoton NPCM video driver on BMC/embedded platforms.
Probe error paths and remove() fail to free npcm_video allocations and reserved memory associations, leaking resources on each failed probe or unbind. Systems without NPCM video hardware are not affected.
Red Hat severity: Moderate. Weakness: CWE-772.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Mitigation checklist
- To mitigate this issue, prevent the npcm-video module from loading. See https://access.redhat.com/solutions/41278 for instructions.
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.