lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 11 Apr 2019 13:13:03 +0100
From:   John Garry <>
To:     Robin Murphy <>,
        Greg KH <>
CC:     <>, <>,
        <>, <>,
        <>, <>,
        <>, <>,
Subject: Re: [PATCH] driver core: Postpone DMA tear-down until after devres
 release for probe failure

On 11/04/2019 12:01, Robin Murphy wrote:
>>>>>>> The crash occurs for the same reason.
>>>>>>> In this case, on the really_probe() failure path, we are still
>>>>>>> clearing
>>>>>>> the DMA ops prior to releasing the device's managed memories.
>>>>>>> This patch fixes this issue by reordering the DMA ops teardown
>>>>>>> and the
>>>>>>> call to devres_release_all() on the failure path.
>>>>>>> Reported-by: Xiang Chen <>
>>>>>>> Tested-by: Xiang Chen <>
>>>>>>> Signed-off-by: John Garry <>
>>>>> So does this "fix" 376991db4b64?  If so, should this be added to the
>>>>> patch and also backported to the stable trees?
>>>> Hi Greg,
>>>> No, I don't think so. I'd say it supplements it. Here I'm trying to fix
>>>> up another path in which we tear down the DMA ops prior to releasing
>>>> the
>>>> device's resources.
>>>> I didn't add a fixes tag as 376991db4b64 didn't have one either. It
>>>> will
>>>> need to be backported to stable, I figure the same as 376991db4b64.
>> Hi Greg,
>> I still think that we should consider merging this patch.
> Bah, sorry, I thought I'd replied to this thread already, but apparently
> not :(
> I don't have a particularly strong opinion, but at the moment I am
> leaning slightly towards this being a parallel fix for another part of
> 09515ef5ddad, rather than a specific fix of the other fix. Either way,
> you can have a:

I'd say a parallel fix of 09515ef5ddad.

> Reviewed-by: Robin Murphy <>

cheers Robin

> Thanks,
> Robin.

Powered by blists - more mailing lists