Messages in this thread | | | Date | Fri, 18 Feb 2022 09:10:54 +0100 | From | Michal Hocko <> | Subject | Re: [PATCH 1/1] mm: fix use-after-free bug when mm->mmap is reused after being freed |
| |
On Thu 17-02-22 11:51:13, Suren Baghdasaryan wrote: > On Tue, Feb 15, 2022 at 11:54 PM Michal Hocko <mhocko@suse.com> wrote: [...] > > I really have to say that I hate how complex this has grown in the name > > of optimizations. This has backfired several times already resulting in > > 2 security issues. I really hope to get read any note of the oom reaper > > from exit_mmap. > > Agree. I want to take another stab at removing __oom_reap_task_mm from > exit_mmap. Now that Hugh made changes to mlock mechanisms and > __oom_reap_task_mm does not skip locked vmas I think that should be > possible. Planning to look into that sometimes next week.
Thanks! -- Michal Hocko SUSE Labs
| |