Re: [PATCH] fbdev: nvidia: Release write-combining handle on probe failure
From: Helge Deller
Date: Tue Sep 15 2026 - 03:07:35 EST
On 9/15/26 02:54, Myeonghun Pak wrote:
Failures in nvidia_set_fbinfo() or register_framebuffer() leave the handleThanks for your patches!
from arch_phys_wc_add() allocated. Release it in the shared error path,
as nvidiafb_remove() already does on normal removal.
The missing cleanup was already present in the initial Git import,
when the driver used mtrr_add() directly.
This issue was identified during our ongoing static-analysis research
while reviewing kernel code.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@xxxxxxxxxxxxxxx
Assisted-by: LLM
Co-developed-by: Ijae Kim <ae878000@xxxxxxxxx>
Signed-off-by: Ijae Kim <ae878000@xxxxxxxxx>
Signed-off-by: Myeonghun Pak <mhun512@xxxxxxxxx>
---
drivers/video/fbdev/nvidia/nvidia.c | 1 +
1 file changed, 1 insertion(+)
I've added this one and the two similar ones regarding kyro and gxt4500
to the fbdev git tree.
Helge