Re: [PATCH v4 0/2] platform/x86: asus-armoury: fix init errors and modernize resource management

From: Ilpo Järvinen

Date: Thu Jul 09 2026 - 09:48:05 EST


On Tue, 07 Jul 2026 23:36:10 +0200, Marco Scardovi wrote:

> This patch series addresses a Use-After-Free vulnerability and a memory
> leak during driver initialization in the asus-armoury driver, and
> modernizes its memory management.
>
> Patch 1 fixes the UAF and memory leak by propagating the error code
> from init_rog_tunables(), deferring the global pointer updates, and
> adding a rollback path.
>
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/2] platform/x86: asus-armoury: fix Use-After-Free and memory leak in driver init
commit: 5948b235891fb699b9cb8bd7475b1f17ec3e1b96
[2/2] platform/x86: asus-armoury: use cleanup.h to manage tunables
commit: 55a3149ce66a0ada5ecaff17961c1a3ca3e95498

--
i.