[RP-PPPoE] Use-after-free in kernel mode plugin?

Bartos-Elekes Zsolt muszi at kite.hu
Wed Feb 1 01:41:18 EST 2017


Dianne Skoll wrote:

> Thanks for that.  I think we can fix it simply by not freeing conn.  We
> want to keep it around if persist is on, and if persist is not on, we don't
> care because the pppd process will soon exit.
> 
> Please check if this patch fixes if for you.

It does, this is exactly what I did, but because I don't know pppd that deep, I 
didn't send a patch because I wasn't sure this is the correct fix.

It works for me since yesterday afternoon, having reconnected about 5000 times, 
so I think it is well tested :-)

-- 
Best regards,
Zsolt


More information about the RP-PPPoE mailing list