Re: [PATCH v2 0/2] kho: drop the incoming sub-blob debugfs view
From: Pasha Tatashin
Date: Thu Nov 19 2026 - 01:54:05 EST
On Thu, 19 Nov 2026 14:37:58 +0800, Long Wei <longwei27@xxxxxxxxxx> wrote:
> kho: drop the incoming sub-blob debugfs view
>
> kho/in/sub_fdts exposes the raw contents of the sub-blobs described by
> the incoming KHO FDT. KHO does not own those pages: they belong to the
> producers' consumers and have independent lifetimes. LUO, for example,
> restores and frees its state in early_initcall, before kho_init()
> (fs_initcall) creates the debugfs view, so the blobs point at pages that
> are already back in the buddy allocator. Reading them triggers a KASAN
> use-after-free in _copy_to_user().
>
> [...]
Acked-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
--
Pasha