No description
Find a file
Fedor Pchelkin ef65498c80 NFSv4: fix out path in __nfs4_get_acl_uncached
[ Upstream commit f4e89f1a6d ]

Another highly rare error case when a page allocating loop (inside
__nfs4_get_acl_uncached, this time) is not properly unwound on error.
Since pages array is allocated being uninitialized, need to free only
lower array indices. NULL checks were useful before commit 62a1573fcf
("NFSv4 fix acl retrieval over krb5i/krb5p mounts") when the array had
been initialized to zero on stack.

Found by Linux Verification Center (linuxtesting.org).

Fixes: 62a1573fcf ("NFSv4 fix acl retrieval over krb5i/krb5p mounts")
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-30 14:52:27 +02:00
arch arm64/ptrace: Ensure that the task sees ZT writes on first use 2023-08-23 17:32:53 +02:00
block blk-crypto: dynamically allocate fallback profile 2023-08-23 17:32:53 +02:00
certs
crypto
Documentation dt-bindings: pinctrl: qcom,sa8775p-tlmm: add gpio function constant 2023-08-23 17:32:53 +02:00
drivers drm/amdgpu: keep irq count in amdgpu_irq_disable_all 2023-08-23 17:32:55 +02:00
fs NFSv4: fix out path in __nfs4_get_acl_uncached 2023-08-30 14:52:27 +02:00
include Revert "drm/edid: Fix csync detailed mode parsing" 2023-08-23 17:32:54 +02:00
init
io_uring
ipc
kernel
lib
LICENSES
mm
net net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled 2023-08-23 17:32:56 +02:00
rust
samples
scripts
security
sound ASoC: SOF: intel: hda: Clean up link DMA for IPC3 during stop 2023-08-23 17:32:56 +02:00
tools Revert "perf report: Append inlines to non-DWARF callchains" 2023-08-23 17:32:56 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 6.4.12 2023-08-23 17:32:56 +02: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.