Go to file
Sabrina Dubroca ff7fa2c801 esp4: add length check for UDP encapsulation
[ Upstream commit 8dfb4eba41 ]

esp_output_udp_encap can produce a length that doesn't fit in the 16
bits of a UDP header's length field. In that case, we'll send a
fragmented packet whose length is larger than IP_MAX_MTU (resulting in
"Oversized IP packet" warnings on receive) and with a bogus UDP
length.

To prevent this, add a length check to esp_output_udp_encap and return
 -EMSGSIZE on failure.

This seems to be older than git history.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-25 18:22:22 +02:00
arch x86/mpx, mm/core: Fix recursive munmap() corruption 2019-05-25 18:22:14 +02:00
block blk-mq: free hw queue's resource in hctx's release handler 2019-05-25 18:21:57 +02:00
certs kbuild: remove redundant target cleaning on failure 2019-01-06 09:46:51 +09:00
crypto crypto: ccm - fix incompatibility between "ccm" and "ccm_base" 2019-05-22 07:38:55 +02:00
Documentation dcache: sort the freeing-without-RCU-delay mess for good. 2019-05-25 18:22:03 +02:00
drivers dm mpath: always free attached_handler_name in parse_path() 2019-05-25 18:22:20 +02:00
firmware kbuild: change filechk to surround the given command with { } 2019-01-06 09:46:51 +09:00
fs fuse: Add FOPEN_STREAM to use stream_open() 2019-05-25 18:22:20 +02:00
include xfrm: clean up xfrm protocol checks 2019-05-25 18:22:22 +02:00
init init: initialize jump labels before command line option parsing 2019-05-16 19:40:22 +02:00
ipc ipc: IPCMNI limit check for semmni 2018-10-31 08:54:14 -07:00
kernel tracing: probeevent: Fix to make the type of $comm string 2019-05-25 18:22:12 +02:00
lib iov_iter: optimize page_copy_sane() 2019-05-22 07:38:58 +02:00
LICENSES This is a fairly typical cycle for documentation. There's some welcome 2018-10-24 18:01:11 +01:00
mm x86/mpx, mm/core: Fix recursive munmap() corruption 2019-05-25 18:22:14 +02:00
net esp4: add length check for UDP encapsulation 2019-05-25 18:22:22 +02:00
samples samples: mei: use /dev/mei0 instead of /dev/mei 2019-01-30 15:24:45 +01:00
scripts gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6 2019-05-25 18:22:10 +02:00
security selinux: do not report error on connect(AF_UNSPEC) 2019-05-16 19:40:28 +02:00
sound ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug 2019-05-22 07:38:56 +02:00
tools objtool: Allow AR to be overridden with HOSTAR 2019-05-25 18:22:13 +02:00
usr user/Makefile: Fix typo and capitalization in comment section 2018-12-11 00:18:03 +09:00
virt KVM: Fix the bitmap range to copy during clear dirty 2019-05-22 07:38:56 +02:00
.clang-format clang-format: Update .clang-format with the latest for_each macro list 2019-01-19 19:26:06 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore kbuild: Add support for DT binding schema checks 2018-12-13 09:41:32 -06:00
.mailmap A few early MIPS fixes for 4.21: 2019-01-05 12:48:25 -08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS CREDITS/MAINTAINERS: Retire parisc-linux.org email domain 2019-02-21 20:16:10 +01:00
Kbuild kbuild: use assignment instead of define ... endef for filechk_* rules 2019-01-06 10:22:35 +09:00
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
MAINTAINERS Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 09:28:26 -08:00
Makefile Linux 5.0.18 2019-05-22 07:38:58 +02:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

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.