On Thu 01-11-18 18:09:39, 禹舟键 wrote: > Hi Michal > The null pointer is possible when calling the dump_header, this bug was > detected by LKP. Below is the context 3 months ago. Yeah I remember it was 0day report but I coundn't find it in my email archive. Do you happen to have a message-id? Anyway if (__ratelimit(&oom_rs)) dump_header(oc, p); + if (oc) + dump_oom_summary(oc, victim); Clearly cannot solve any NULL ptr because oc is never NULL unless I am missing something terribly. -- Michal Hocko SUSE Labs