[PATCH] x86/msr: Add a pointer to an URL which contains further details

From: Borislav Petkov
Date: Fri Dec 04 2020 - 19:29:15 EST


From: Borislav Petkov <bp@xxxxxxx>

After having collected the majority of reports about MSRs being written
by userspace tools and what tools those are, and all newer reports
mostly repeating, add an URL where detailed information is gathered and
kept up-to-date.

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
arch/x86/kernel/msr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index 95e6b97b7d8b..8a67d1fa8dc5 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -99,8 +99,9 @@ static int filter_write(u32 reg)
if (!__ratelimit(&fw_rs))
return 0;

- pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to x86@xxxxxxxxxx.\n",
+ pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d).\n",
reg, current->comm, current->pid);
+ pr_warn("See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details.\n");

return 0;
}
--
2.21.0