No description
Find a file
Tetsuo Handa 93ee54c493 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
commit 43626dade3 upstream.

syzbot is hitting percpu_rwsem_assert_held(&cpu_hotplug_lock) warning at
cpuset_attach() [1], for commit 4f7e723643 ("cgroup: Fix
threadgroup_rwsem <-> cpus_read_lock() deadlock") missed that
cpuset_attach() is also called from cgroup_attach_task_all().
Add cpus_read_lock() like what cgroup_procs_write_start() does.

Link: https://syzkaller.appspot.com/bug?extid=29d3a3b4d86c8136ad9e [1]
Reported-by: syzbot <syzbot+29d3a3b4d86c8136ad9e@syzkaller.appspotmail.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fixes: 4f7e723643 ("cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock")
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-19 17:53:56 +08:00
arch KVM: SEV: add cache flush to solve SEV cache incoherency issues 2023-04-19 17:53:56 +08:00
block block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait 2023-04-19 17:53:54 +08:00
certs
crypto
Documentation Input: iforce - add support for Boeder Force Feedback Wheel 2023-04-19 17:53:52 +08:00
drivers video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write 2023-04-19 17:53:56 +08:00
fs afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked 2023-04-19 17:53:56 +08:00
include KVM: SEV: add cache flush to solve SEV cache incoherency issues 2023-04-19 17:53:56 +08:00
init
ipc
kernel cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all() 2023-04-19 17:53:56 +08:00
lib
LICENSES
mm mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region() 2023-04-19 17:53:53 +08:00
net net: Find dst with sk's xfrm policy not ctl_sk 2023-04-19 17:53:56 +08:00
samples
scripts mksysmap: Fix the mismatch of 'L0' symbols in System.map 2023-04-19 17:53:56 +08:00
security
sound ALSA: hda/tegra: Align BDL entry to 4KB boundary 2023-04-19 17:53:56 +08:00
tools tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa 2023-04-19 17:53:55 +08:00
usr
virt KVM: SEV: add cache flush to solve SEV cache incoherency issues 2023-04-19 17:53:56 +08:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.15.69 2023-04-19 17:53:53 +08: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.