Re: Netlink XFRM socket subsystem NULL pointer dereference

2017-10-19 Thread Timo Teras
On Thu, 19 Oct 2017 17:57:04 +0800 Herbert Xu wrote: > On Thu, Oct 19, 2017 at 05:26:25PM +0800, Herbert Xu wrote: > > > > So it's an netlink API issue. It is possible for cb->done to be > > called without cb->dump ever being called. And xfrm_user doesn't > > deal with that. Let me survey the

Re: Fwd: Netlink XFRM socket subsystem NULL pointer dereference

2017-10-19 Thread Herbert Xu
On Thu, Oct 19, 2017 at 05:26:25PM +0800, Herbert Xu wrote: > > So it's an netlink API issue. It is possible for cb->done to be > called without cb->dump ever being called. And xfrm_user doesn't > deal with that. Let me survey the others to see whether we should > fix this in netlink, xfrm, or b