On 2020/07/17 4:45, David Rientjes wrote: > I wasn't familiar with this particular report, but it seems like the fix > is simply to do the kzalloc() before taking delayed_uprobe_lock and > freeing it if delayed_uprobe_check() already finds one for that uprobe? The fix will be to use mmput_async() ( https://lkml.kernel.org/r/20200716162931.g3delsp7qmfjup6x@wittgenstein ). We didn't call mmput() from the OOM reaper context. I think the reason is that __mmput() might do something more complicated which blocks reclaiming memory.