No I think it's because kernel lockdown:
commit 708822cdbcd3faab40e83a79b71617e1812a1b06
Author: Matthew Garrett <[email protected]>
Date: Mon Feb 18 12:44:59 2019 +0000
UBUNTU: SAUCE: (efi-lockdown) x86/msr: Restrict MSR access when the kernel
is locked down
Writing to MSRs should not be allowed if the kernel is locked down, since
it could lead to execution of arbitrary code in kernel mode. Based on a
patch by Kees Cook.
MSR accesses are logged for the purposes of building up a whitelist as per
Alan Cox's suggestion.
Signed-off-by: Matthew Garrett <[email protected]>
Signed-off-by: David Howells <[email protected]>
Acked-by: Kees Cook <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
cc: [email protected]
Signed-off-by: Matthew Garrett <[email protected]>
(cherry picked from commit 323bd1cb92e03558ae3f3a11dd683dcbb23eeaea
git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git)
Signed-off-by: Seth Forshee <[email protected]>
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to thermald in Ubuntu.
https://bugs.launchpad.net/bugs/1840454
Title:
kernel 5.2 disallows thermald's direct MSR writes
Status in linux package in Ubuntu:
New
Status in thermald package in Ubuntu:
New
Bug description:
thermald/kernel are spamming dmesg now because MSR write is
disallowed.
jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l
8688
jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail
Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed
/dev/cpu/0/msr
Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2
Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed
/dev/cpu/0/msr
Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2
Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed
/dev/cpu/0/msr
Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2
Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed
/dev/cpu/0/msr
Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2
Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2
Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed
/dev/cpu/0/msr
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp