No description
Find a file
Eugene Syromiatnikov 32b3f5b226 mctp: handle the struct sockaddr_mctp padding fields
commit 1e4b50f06d upstream.

In order to have the padding fields actually usable in the future,
there have to be checks that user space doesn't supply non-zero garbage
there.  It is also worth setting these padding fields to zero, unless
it is known that they have been already zeroed.

Cc: stable@vger.kernel.org # v5.15
Fixes: 5a20dd46b8 ("mctp: Be explicit about struct sockaddr_mctp padding")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Acked-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-19 16:57:01 +08:00
arch signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT 2023-04-19 16:57:00 +08:00
block
certs
crypto
Documentation
drivers mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines 2023-04-19 16:57:01 +08:00
fs
include signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed 2023-04-19 16:57:00 +08:00
init
ipc
kernel signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed 2023-04-19 16:57:00 +08:00
lib
LICENSES
mm
net mctp: handle the struct sockaddr_mctp padding fields 2023-04-19 16:57:01 +08:00
samples
scripts
security evm: mark evm_fixmode as __ro_after_init 2023-04-19 16:56:58 +08:00
sound ASoC: tegra: Restore AC97 support 2023-04-19 16:57:00 +08:00
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.