No description
Find a file
Bui Quang Minh 666854ea9c ice: ensure the copied buf is NUL terminated
Currently, we allocate a count-sized kernel buffer and copy count bytes
from userspace to that buffer. Later, we use sscanf on this buffer but we
don't ensure that the string is terminated inside the buffer, this can lead
to OOB read when using sscanf. Fix this issue by using memdup_user_nul
instead of memdup_user.

Fixes: 96a9a9341c ("ice: configure FW logging")
Fixes: 73671c3162 ("ice: enable FW logging")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Link: https://lore.kernel.org/r/20240424-fix-oob-read-v2-1-f1f1b53a10f4@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-25 19:23:11 -07:00
arch - Add a missing memory barrier in the concurrency ID mm switching 2024-04-21 09:39:36 -07:00
block block-6.9-20240420 2024-04-20 11:28:02 -07:00
certs
crypto
Documentation A set of updates from Thorsten to his (new) guide to verifying bugs and 2024-04-22 09:41:03 -07:00
drivers ice: ensure the copied buf is NUL terminated 2024-04-25 19:23:11 -07:00
fs nfsd-6.9 fixes: 2024-04-25 09:31:06 -07:00
include Including fixes from netfilter, wireless and bluetooth. 2024-04-25 11:19:38 -07:00
init
io_uring
ipc
kernel - Add a missing memory barrier in the concurrency ID mm switching 2024-04-21 09:39:36 -07:00
lib hardening fixes for v6.9-rc5 2024-04-19 14:10:11 -07:00
LICENSES
mm
net Including fixes from netfilter, wireless and bluetooth. 2024-04-25 11:19:38 -07:00
rust
samples
scripts
security
sound ALSA: seq: ump: Fix conversion from MIDI2 to MIDI1 UMP messages 2024-04-19 12:07:14 +02:00
tools Including fixes from netfilter, wireless and bluetooth. 2024-04-25 11:19:38 -07:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Including fixes from netfilter, wireless and bluetooth. 2024-04-25 11:19:38 -07:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Including fixes from netfilter, wireless and bluetooth. 2024-04-25 11:19:38 -07:00
Makefile Linux 6.9-rc5 2024-04-21 12:35:54 -07: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 reStructuredText 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.