Go to file
Christian Göttsche 68784a5d01 selinux: avoid dereference of garbage after mount failure
commit 37801a36b4 upstream.

In case kern_mount() fails and returns an error pointer return in the
error branch instead of continuing and dereferencing the error pointer.

While on it drop the never read static variable selinuxfs_mount.

Cc: stable@vger.kernel.org
Fixes: 0619f0f5e3 ("selinux: wrap selinuxfs state")
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-10 16:38:01 +02:00
Documentation x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT 2024-04-03 15:32:32 +02:00
LICENSES
arch KVM: arm64: Fix out-of-IPA space translation fault handling 2024-04-10 16:38:01 +02:00
block block: Do not force full zone append completion in req_bio_endio() 2024-04-03 15:32:40 +02:00
certs
crypto Revert "crypto: pkcs7 - remove sha1 support" 2024-04-03 15:32:31 +02:00
drivers gpio: cdev: sanitize the label before requesting the interrupt 2024-04-10 16:38:00 +02:00
fs kbuild: make -Woverride-init warnings more consistent 2024-04-10 16:38:00 +02:00
include KVM: arm64: Fix host-programmed guest events in nVHE 2024-04-10 16:38:01 +02:00
init init: open /initrd.image with O_LARGEFILE 2024-04-03 15:32:37 +02:00
io_uring io_uring/waitid: always remove waitid entry for cancel all 2024-04-03 15:32:24 +02:00
ipc
kernel kbuild: make -Woverride-init warnings more consistent 2024-04-10 16:38:00 +02:00
lib pci_iounmap(): Fix MMIO mapping leak 2024-04-03 15:32:02 +02:00
mm kbuild: make -Woverride-init warnings more consistent 2024-04-10 16:38:00 +02:00
net inet: inet_defrag: prevent sk release while still in use 2024-04-10 16:37:59 +02:00
rust
samples
scripts kbuild: make -Woverride-init warnings more consistent 2024-04-10 16:38:00 +02:00
security selinux: avoid dereference of garbage after mount failure 2024-04-10 16:38:01 +02:00
sound ALSA: hda: cs35l56: Set the init_done flag before component_add() 2024-04-10 16:37:55 +02:00
tools selftests: vxlan_mdb: Fix failures with old libnet 2024-04-10 16:37:57 +02:00
usr
virt KVM: Always flush async #PF workqueue when vCPU is being destroyed 2024-04-03 15:32:03 +02:00
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 6.8.4 2024-04-04 20:25:06 +02:00
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.