Re: [PATCH v3] uio: uio_pci_generic_sva: fix double free of devm_kzalloc() memory

From: 郭亚星

Date: Thu Feb 26 2026 - 09:52:28 EST




On 2/26/2026 10:32 PM, Greg Kroah-Hartman wrote:
On Thu, Feb 26, 2026 at 06:14:54PM +0800, Guangshuo Li wrote:
Hi Greg,

Thanks for the reminder.

This was found by a static analysis tool I designed. After a manual
review, I confirmed the issue and sent the fix.

Would you prefer that I include the “how it was found and tested”
information in the commit message?

As per our documentation (please go read it again), it is required :)

thanks,


Hi Greg, Guangshuo
I’d be happy to help test this bug and the proposed patch.
(Well… to be honest, I probably should have fixed it myself earlier — I’ve been meaning to, but got caught up with other things lately…)
Thanks for working on it!

Best regards,
Yaxing Guo

greg k-h