Re: [PATCH] ata: pata_parport: Fix use-after-free in new_device_store

From: Pei Xiao

Date: Wed Jul 29 2026 - 21:48:35 EST




在 2026/7/29 21:10, Niklas Cassel 写道:
> On Wed, Jul 29, 2026 at 08:27:53PM +0800, Pei Xiao wrote:
>
> (snip)
>
>> Fixes: 72f2b0b21850 ("drivers/block: Move PARIDE protocol modules to drivers/ata/pata_parport")
>
> This does not look like the correct Fixes tag, since it is simply moving
> files.
>
Thank you for your reply. Perhaps I didn’t know how to use the --follow
option correctly, so the oldest commit I saw was the rename commit. But
now I’ve learned to use --follow, and I found the commit:

Fixes: 246a1c4c6b7f ("ata: pata_parport: add driver (PARIDE replacement)")
> Not saying that it is super important to have a Fixes tag.
>
> Without having looked, I'm guessing that there is a chance that this has
> been racy/broken since the driver was introduced.
>
>
> Kind regards,
> Niklas