Re: [PATCH mm] fix i386 get_gate_vma oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hugh Dickins wrote:
> Fix oops from i386-make-compat_vdso-runtime-selectable.patch.
>
> Even mingetty at system startup finds it easy to trigger an oops
> while reading /proc/PID/maps: though it has a good hold on the mm
> itself, that cannot stop exit_mm() from resetting tsk->mm to NULL.
>
> (It is usually show_map()'s call to get_gate_vma() which oopses,
> and I expect we could change that to check priv->tail_vma instead;
> but no matter, even m_start()'s call just after get_task_mm() is racy.)
>
> Signed-off-by: Hugh Dickins <[email protected]>
>   
Hm, OK.

Acked-by: Jeremy Fitzhardinge <[email protected]>

    J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux