Go to file
Alexei Starovoitov 813961de3e bpf: fix integer overflow in queue_stack_map
Fix the following issues:

- allow queue_stack_map for root only
- fix u32 max_entries overflow
- disallow value_size == 0

Fixes: f1a2e44a3a ("bpf: add queue and stack maps")
Reported-by: Wei Wu <ww9210@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Cc: Mauricio Vasquez B <mauricio.vasquez@polito.it>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-11-22 21:29:40 +01:00
arch Merge branch 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm 2018-11-06 08:10:01 -08:00
block for-linus-20181102 2018-11-02 11:25:48 -07:00
certs
crypto
Documentation This pull request contains updates for UBIFS: 2018-11-04 14:46:04 -08:00
drivers net: smsc95xx: Fix MTU range 2018-11-08 19:54:49 -08:00
firmware
fs This pull request contains updates for UBIFS: 2018-11-04 14:46:04 -08:00
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-11-06 07:44:04 -08:00
init
ipc
kernel bpf: fix integer overflow in queue_stack_map 2018-11-22 21:29:40 +01:00
lib
LICENSES
mm memory_hotplug: cond_resched in __remove_pages 2018-11-03 10:09:38 -07:00
net bpf: Fix IPv6 dport byte order in bpf_sk_lookup_udp 2018-11-09 08:18:01 +01:00
samples
scripts Kbuild updates for v4.20 (2nd) 2018-11-03 10:47:33 -07:00
security
sound sound fixes for 4.20-rc1 2018-11-02 11:02:52 -07:00
tools tools: bpftool: fix potential NULL pointer dereference in do_load 2018-11-22 00:45:51 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 4.20-rc1 2018-11-04 15:37:52 -08:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.