aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2017-11-10 07:19:35 +0000
committerJ. Bruce Fields <[email protected]>2017-11-27 21:45:11 +0000
commit2317dc557a3b6d5b73b697034611d658eb2cbde9 (patch)
tree9854e4dff8bb6981a73aca72427187d3afea4d52 /drivers/acpi/cppc_acpi.c
parentrace of lockd inetaddr notifiers vs nlmsvc_rqst change (diff)
downloadkernel-2317dc557a3b6d5b73b697034611d658eb2cbde9.tar.gz
kernel-2317dc557a3b6d5b73b697034611d658eb2cbde9.zip
race of nfsd inetaddr notifiers vs nn->nfsd_serv change
nfsd_inet[6]addr_event uses nn->nfsd_serv without taking nfsd_mutex, which can be changed during execution of notifiers and crash the host. Moreover if notifiers were enabled in one net namespace they are enabled in all other net namespaces, from creation until destruction. This patch allows notifiers to access nn->nfsd_serv only after the pointer is correctly initialized and delays cleanup until notifiers are no longer in use. Signed-off-by: Vasily Averin <[email protected]> Tested-by: Scott Mayhew <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions