rcu: Mark accesses to rcu_state.n_force_qs
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 13:16:27 +0000 (06:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:30:59 +0000 (09:30 +0100)
commit70692b06208c09c3cc2a0de2aaef63f4f139970a
tree9ec996045d63e55b7aac7d30cfff1f6aeb14a4c5
parenta9078e791426c2cbbdf28a320c3670f6e0a611e6
rcu: Mark accesses to rcu_state.n_force_qs

commit 2431774f04d1050292054c763070021bade7b151 upstream.

This commit marks accesses to the rcu_state.n_force_qs.  These data
races are hard to make happen, but syzkaller was equal to the task.

Reported-by: syzbot+e08a83a1940ec3846cd5@syzkaller.appspotmail.com
Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/rcu/tree.c