Newer kernels report this in /proc/cpuinfo, and also /sys/devices/system/cpu/vulnerabilities.
When I run the UEK 5.4 kernel, I can see the following:
$ grep 'model name' /proc/cpuinfo | uniq model name : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz $ grep bugs /proc/cpuinfo | uniq bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit $ dmesg | grep DMI: [ 0.000000] DMI: HP ProLiant DL380p Gen8, BIOS P70 05/24/2019
This is Oracle/RedHat 7.9 Maipo, and lscpu doesn't report the bugs under either kernel.
Newer kernels report this in /proc/cpuinfo, and also /sys/devices/system/cpu/vulnerabilities.
When I run the UEK 5.4 kernel, I can see the following:
When I run the RedHat-Compatible 3.10 Kernel, it doesn't report the bugs.This is Oracle/RedHat 7.9 Maipo, and lscpu doesn't report the bugs under either kernel.