Alexander Duyck <alexander.h.duyck@linux.intel.com>
Wed, 20 Nov 2019 22:25:53 +0000 (14:25 -0800)
committer
Borislav Petkov <bp@suse.de>
Wed, 20 Nov 2019 22:40:05 +0000 (23:40 +0100)
The commit
111e7b15cf10 ("x86/ioperm: Extend IOPL config to control ioperm() as well")
replaced X86_IOPL_EMULATION with X86_IOPL_IOPERM. However it appears
that there was at least one spot missed as tss_update_io_bitmap() still
had a reference to it contained in the code.
The result of this is that it exposed a NULL pointer dereference as seen
below with a linux-next next-20191120 kernel: