lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 30 Apr 2019 20:36:13 -0700 From: William Tu <u9012063@...il.com> To: bpf@...r.kernel.org, Linux Kernel Network Developers <netdev@...r.kernel.org> Subject: Re: [PATCH bpf 1/2] libbpf: fix invalid munmap call On Tue, Apr 30, 2019 at 5:46 AM Björn Töpel <bjorn.topel@...il.com> wrote: > > From: Björn Töpel <bjorn.topel@...el.com> > > When unmapping the AF_XDP memory regions used for the rings, an > invalid address was passed to the munmap() calls. Instead of passing > the beginning of the memory region, the descriptor region was passed > to munmap. > > When the userspace application tried to tear down an AF_XDP socket, > the operation failed and the application would still have a reference > to socket it wished to get rid of. > > Reported-by: William Tu <u9012063@...il.com> > Fixes: 1cad07884239 ("libbpf: add support for using AF_XDP sockets") > Signed-off-by: Björn Töpel <bjorn.topel@...el.com> > --- Thank you. Tested-by: William Tu <u9012063@...il.com>
Powered by blists - more mailing lists