On Tue, Mar 12, 2024 at 11:23 AM Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote: > > On Mon, Feb 26, 2024 at 05:58:40PM +0100, Vlastimil Babka wrote: > > On 2/21/24 20:40, Suren Baghdasaryan wrote: > > > Skip freeing module's data section if there are non-zero allocation tags > > > because otherwise, once these allocations are freed, the access to their > > > code tag would cause UAF. > > > > > > Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx> > > > > I know that module unloading was never considered really supported etc. > > If its not supported then we should not have it on modules. Module > loading and unloading should just work, otherwise then this should not > work with modules and leave them in a zombie state. I replied on the v5 thread here: https://lore.kernel.org/all/20240306182440.2003814-13-surenb@xxxxxxxxxx/ . Let's continue the discussion in that thread. Thanks! > > Luis