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-next>] [day] [month] [year] [list]
Date:   Fri, 15 Sep 2023 08:51:45 +0200
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     "Ricardo B. Marliere" <ricardo@...liere.net>
Cc:     "Rafael J. Wysocki" <rafael@...nel.org>,
        linux-kernel@...r.kernel.org,
        linux-kernel-mentees@...ts.linuxfoundation.org,
        Shuah Khan <skhan@...uxfoundation.org>,
        syzbot+bbc59256015533127d80@...kaller.appspotmail.com
Subject: Re: [PATCH] drivers: core: ensure device has a name

On Thu, Sep 14, 2023 at 10:19:31PM -0300, Ricardo B. Marliere wrote:
> device_add() relies on dev_name() and dev_set_name() to set the device
> name. This patch adds the fallback case where both the call to
> dev_name() and (dev->bus && dev->bus->dev_name) fails.
> 
> Reported-by: syzbot+bbc59256015533127d80@...kaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=bbc59256015533127d80
> Fixes: d21fdd07cea4 ("driver core: Return proper error code when dev_set_name() fails")
> Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>
> ---
>  drivers/base/core.c | 2 ++
>  1 file changed, 2 insertions(+)

Already submitted and in linux-next:
	https://lore.kernel.org/r/20230828145824.3895288-1-andriy.shevchenko@linux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ