summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-05-05 23:48:17 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-07 06:06:21 -0400
commit594b27e677b35f9734b1969d175ebc6146741109 (patch)
treef0b0ad44c7862f370926d9ddfa8358ca8c3f6873 /sound
parent03ca4589fabcc66b27e4cb8f8e95d64cf43badd0 (diff)
KVM: x86: Cancel pvclock_gtod_work on module removal
Nothing prevents the following: pvclock_gtod_notify() queue_work(system_long_wq, &pvclock_gtod_work); ... remove_module(kvm); ... work_queue_run() pvclock_gtod_work() <- UAF Ditto for any other operation on that workqueue list head which touches pvclock_gtod_work after module removal. Cancel the work in kvm_arch_exit() to prevent that. Fixes: 16e8d74d2da9 ("KVM: x86: notifier for clocksource changes") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Message-Id: <87czu4onry.ffs@nanos.tec.linutronix.de> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions