Re: (subset) [PATCH v2 0/6] remove dead NULL checks after GFP_NOFAIL allocations and fix xive use-after-free
From: Leon Romanovsky
Date: Sun Jul 26 2026 - 04:23:47 EST
On Fri, 24 Jul 2026 10:28:45 +0800, Gou Hao wrote:
> Changes in v2:
> - Remove the now-unused out_free_domain error label in the xive
> patch after deleting the unreachable NULL check goto.
> - Fix a use-after-free of xive_ipis: when xive_init_ipis() fails,
> the error path frees xive_ipis but xive_smp_probe() ignores the
> error and proceeds to dereference it in xive_setup_cpu_ipi().
> Propagate the error return through xive_smp_probe() and check
> it in both pnv_smp_probe() and pSeries_smp_probe().
>
> [...]
Applied, thanks!
[6/6] RDMA/cxgb4: remove dead NULL checks after GFP_NOFAIL allocations
https://git.kernel.org/rdma/rdma/c/a273210687f255
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>