No description
Find a file
Mark O'Donovan 9e47a758b7 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
During NVMeTCP Authentication a controller can trigger a kernel
oops by specifying the 8192 bit Diffie Hellman group and passing
a correctly sized, but zeroed Diffie Hellamn value.
mpi_cmp_ui() was detecting this if the second parameter was 0,
but 1 is passed from dh_is_pubkey_valid(). This causes the null
pointer u->d to be dereferenced towards the end of mpi_cmp_ui()

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-08-11 19:19:52 +08:00
arch crypto: arm64/aes - remove Makefile hack 2023-08-11 19:19:27 +08:00
block
certs
crypto crypto: api - Use work queue in crypto_destroy_instance 2023-08-11 19:19:27 +08:00
Documentation dt-bindings: crypto: add new compatible for stm32-hash 2023-07-22 13:59:37 +12:00
drivers crypto: hisilicon/sec - Do not check for 0 return after calling platform_get_irq() 2023-08-11 19:19:27 +08:00
fs
include crypto: api - Use work queue in crypto_destroy_instance 2023-08-11 19:19:27 +08:00
init
io_uring
ipc
kernel
lib crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui() 2023-08-11 19:19:52 +08:00
LICENSES
mm
net
rust
samples
scripts
security
sound
tools crypto: ccp - Add unit tests for dynamic boost control 2023-07-20 22:15:12 +12:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS crypto: ccp - Add Mario to MAINTAINERS 2023-07-20 22:15:12 +12:00
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.