The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Lin Ma 75065a8929 net: af_key: fix sadb_x_filter validation
When running xfrm_state_walk_init(), the xfrm_address_filter being used
is okay to have a splen/dplen that equals to sizeof(xfrm_address_t)<<3.
This commit replaces >= to > to make sure the boundary checking is
correct.

Fixes: 37bd22420f ("af_key: pfkey_dump needs parameter validation")
Signed-off-by: Lin Ma <linma@zju.edu.cn>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2023-06-29 10:47:29 +02:00
Documentation Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
LICENSES
arch Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
block
certs
crypto
drivers Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
fs Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
include Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
init
io_uring Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
ipc
kernel Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
lib Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
mm Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
net net: af_key: fix sadb_x_filter validation 2023-06-29 10:47:29 +02:00
rust
samples Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
scripts Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
security v6.5-rc1-sysctl-next 2023-06-28 16:05:21 -07:00
sound
tools Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
Makefile
README

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.