Go to file
Herbert Xu a7f580cdb4 crypto: s390/aes - Fix buffer overread in CTR mode
commit d07f951903 upstream.

When processing the last block, the s390 ctr code will always read
a whole block, even if there isn't a whole block of data left.  Fix
this by using the actual length left and copy it into a buffer first
for processing.

Fixes: 0200f3ecc1 ("crypto: s390 - add System z hardware support for CTR mode")
Cc: <stable@vger.kernel.org>
Reported-by: Guangwu Zhang <guazhang@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewd-by: Harald Freudenberger <freude@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:54:24 +01:00
Documentation
LICENSES
arch crypto: s390/aes - Fix buffer overread in CTR mode 2024-02-23 08:54:24 +01:00
block block: Remove special-casing of compound pages 2024-01-25 14:52:55 -08:00
certs
crypto crypto: api - Disallow identical driver names 2024-02-23 08:54:23 +01:00
drivers hwrng: core - Fix page fault dead lock on mmap-ed hwrng 2024-02-23 08:54:24 +01:00
fs btrfs: sysfs: validate scrub_speed_max value 2024-02-23 08:54:23 +01:00
include
init
io_uring
ipc
kernel PM: hibernate: Enforce ordering during image compression/decompression 2024-02-23 08:54:23 +01:00
lib
mm
net netfilter: nft_quota: copy content when cloning expression 2024-01-25 14:52:56 -08:00
samples
scripts
security
sound
tools selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes 2024-01-25 14:52:55 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.15.148 2024-01-25 14:52:56 -08: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.