lists.openwall.net   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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 15 Jul 2021 15:28:17 -0700
From:   Luis Chamberlain <mcgrof@...nel.org>
To:     Shuah Khan <skhan@...uxfoundation.org>,
        Anirudh Rayabharam <mail@...rudhrb.com>
Cc:     Hillf Danton <hdanton@...a.com>, gregkh@...uxfoundation.org,
        rafael@...nel.org, linux-kernel@...r.kernel.org,
        syzbot+77cea49e091776a57689@...kaller.appspotmail.com
Subject: Re: [PATCH] firmware_loader: Fix use-after-free Read in
 firmware_loading_store

On Fri, Jul 09, 2021 at 10:38:12AM -0600, Shuah Khan wrote:
> However I am seeing the following over and over again in the
> log - hence I think it is safer to check the aborted status
> in __fw_load_abort().
> 
> ? __list_del_entry_valid+0xe0/0xf0
> [  348.604808][T12994]  __list_del_entry_valid+0xe0/0xf0
> [  348.610020][T12994]  firmware_loading_store+0x141/0x650
> [  348.615761][T12994]  ? firmware_data_write+0x4e0/0x4e0
> [  348.621064][T12994]  ? sysfs_file_ops+0x1c0/0x1c0
> [  348.625921][T12994]  dev_attr_store+0x50/0x80
> 
> Also the fallback logic takes actions based on errors as in
> fw_load_sysfs_fallback() that returns -EAGAIN which would
> trigger request_firmware() again.
> 
> Based on all of this I think this fix is needed, if only I can
> test for sure.

Shuah, curious if you had read this patch from Anirudh Rayabharam
and my response to that v4 patch iteration?

https://lkml.kernel.org/r/20210518155921.4181-1-mail@anirudhrb.com

  Luis

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ