Re: KASAN: use-after-free Read in task_is_descendant

From
Oleg Nesterov <oleg@redhat.com>
Date
2018-10-25 13:01:36
Also in
lkml
Reply to
Oleg Nesterov, 2018-10-25
On 10/25, Oleg Nesterov wrote:
As I said below, please ignore ptracer_exception_found(), another caller for now,
perhaps it needs some changes too. I even have a vague feeling that I have already
blamed this function some time ago...
Heh, yes, 3 years ago ;)

https://lore.kernel.org/lkml/20150106184427.GA18153@redhat.com/ (local)

I can't understand my email today, but note that I tried to point out that
task_is_descendant() can dereference the freed mem.

And yes, task_is_descendant() is overcompicated for no reason, afaics.

Oleg.
Thread (31 messages) 31 messages, 4 authors, last reply 2019-01-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help