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:29:40 +0000 (09:29 +0100)
commit66aba15a144a41162502d1fbe6ec4b4d006d9ad3
treed95d89f5541560593e7f18f1eaf35ada7b4e7cb8
parentb847ecff850719c46c95acd25a0d555dfd16e10d
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