Go to file
Kuniyuki Iwashima 0aa3be7b3e af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.
While dumping AF_UNIX sockets via UNIX_DIAG, sk->sk_state is read
locklessly.

Let's use READ_ONCE() there.

Note that the result could be inconsistent if the socket is dumped
during the state change.  This is common for other SOCK_DIAG and
similar interfaces.

Fixes: c9da99e647 ("unix_diag: Fixup RQLEN extension report")
Fixes: 2aac7a2cb0 ("unix_diag: Pending connections IDs NLA")
Fixes: 45a96b9be6 ("unix_diag: Dumping all sockets core")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-06-06 12:57:15 +02:00
arch Including fixes from bpf and netfilter. 2024-05-30 08:33:04 -07:00
block
certs
crypto
Documentation Revert "xsk: Document ability to redirect to any socket bound to the same umem" 2024-06-05 09:43:05 +02:00
drivers net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-06 10:15:14 +02:00
fs Revert "vfs: Delete the associated dentry when deleting a file" 2024-05-29 09:39:34 -07:00
include rtnetlink: make the "split" NLM_DONE handling generic 2024-06-05 12:34:54 +01:00
init
io_uring
ipc
kernel bpf: Fix a potential use-after-free in bpf_link_free() 2024-06-03 18:16:19 +02:00
lib lib/test_rhashtable: add missing MODULE_DESCRIPTION() macro 2024-06-03 18:51:18 -07:00
LICENSES
mm
net af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG. 2024-06-06 12:57:15 +02:00
rust
samples
scripts
security
sound
tools bpf-for-netdev 2024-06-05 19:03:08 -07:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: remove Peter Geis 2024-06-01 15:10:35 -07:00
Makefile Linux 6.10-rc1 2024-05-26 15:20:12 -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.