Linux Patch Queued To Report Outdated Intel CPU Microcode As A Vulnerability
- Reference: 0001541876
- News link: https://www.phoronix.com/news/Intel-Old-Microcode-Vulnerable
- Source link:
Since that original patch proposal was made last year, there's been perfect examples with [2]new CPU microcode in November for two security advisories and in February were [3]CPU microcode updates for five new security issues . That's just the past few months and if you've been a longtime reader, you're well aware of the CPU security issues that have come about for all vendors in recent years and are commonly seeing mitigations applied via microcode updates.
Queued this afternoon into the [4]tip/tip.git's x86/microcode branch is the patch for reporting outdated Intel CPU microcode versions to users.
Due to the likelihood that updated microcode contains security fixes and/or functionality issues resolved, when a CPU is detected as running outdated microcode it will be reported via /sys/devices/system/cpu/vulnerabilities/old_microcode . This is in the same sysfs directory where other CPU security vulnerabilities are reported and thus easy for collection. Ensuring you are on the latest CPU microcode is also important when debugging Linux kernel issues.
Besides reporting the old microcode issue via sysfs, recognizing outdated CPU microcode will also taint the running Linux kernel via the "TAINT_CPU_OUT_OF_SPEC" flag.
[5]
This recognizing of outdated Intel CPU microcode versions isn't trivial and relies on a static list of different CPU microcode versions for each CPU family / model / steppings. Thus with time this list will need to be updated and maintained by Intel engineers to properly reflect the latest microcode versions released.
Now that [6]this patch is queued via a tip/tip.git x86 branch, this will more than likely be submitted for the Linux 6.16 merge window in just over one month, barring any last minute objections from being raised with this reporting.
[1] https://www.phoronix.com/news/Linux-Intel-Old-Microcode-Vuln
[2] https://www.phoronix.com/news/Intel-November-2024-CPU-Micro
[3] https://www.phoronix.com/news/Intel-Microcode-20250211
[4] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=x86/microcode
[5] https://www.phoronix.com/image-viewer.php?id=2025&image=intel_cpus_lrg
[6] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/microcode&id=377781ebaa7c35ab3e91af29074d5f39100372f2
phoronix