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] [day] [month] [year] [list]
Message-ID: <20251124084358.06492237@bootlin.com>
Date: Mon, 24 Nov 2025 08:43:58 +0100
From: Herve Codina <herve.codina@...tlin.com>
To: Haotian Zhang <vulab@...as.ac.cn>
Cc: gregkh@...uxfoundation.org, linux-renesas-soc@...r.kernel.org,
 linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: gadget: renesas_usbf: Handle
 devm_pm_runtime_enable() errors

Hi Haotian,

On Mon, 24 Nov 2025 10:22:15 +0800
Haotian Zhang <vulab@...as.ac.cn> wrote:

> devm_pm_runtime_enable() can fail due to memory allocation.
> The current code ignores its return value, potentially causing
> pm_runtime_resume_and_get() to operate on uninitialized runtime
> PM state.
> 
> Check the return value of devm_pm_runtime_enable() and return on failure.
> 
> Fixes: 3e6e14ffdea4 ("usb: gadget: udc: add Renesas RZ/N1 USBF controller support")
> Signed-off-by: Haotian Zhang <vulab@...as.ac.cn>

Thanks for the patch.

Acked-by: Herve Codina <herve.codina@...tlin.com>

Best regards,
Hervé

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ