º»¹®¿¡¼´Â Å×½ºÆ® ȯ°æ : Ubuntu 16.04 LTS
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
stepping : 1
microcode : 0xb00001b
cpu MHz : 1733.320
cache size : 20480 KB
physical id : 0
siblings : 16
core id : 0
cpu cores : 8
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 20
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts
bugs :
bogomips : 4199.99
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
..................................
..................................
¸í·É¾î·Î È®ÀÎ
# grep CONFIG_PAGE_TABLE_ISOLATION=y /boot/config-`uname -r` && echo "patched :)" || echo "unpatched :("unpatched :(
# grep cpu_insecure /proc/cpuinfo && echo "patched :)" || echo "unpatched :("
unpatched :(
# dmesg | grep "Kernel/User page tables isolation: enabled" && echo "patched :)" || echo "unpatched :("
unpatched :(
½ºÅ©¸³Æ®¸¦ µ¹·Á¼ È®ÀÎ
# cat /proc/cpuinfo
.....
# git clone https://github.com/speed47/spectre-meltdown-checker.git
or
# wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh
# cd spectre-meltdown-checker
# chmod +x spectre-meltdown-checker.sh
# ./spectre-meltdown-checker.sh
Debian / Ubuntu
$ sudo apt-get update && sudo apt-get dist-upgrade
Fedora
$ sudo dnf update
RHEL / CentOS
$ yum update
Arch Linux
$ sudo pacman -Syu
ÀÛ¾÷ÀÌÈÄ¿¡´Â ÇÊÈ÷ Rebooting Çؼ Àû¿ë!!!
ÇöÀç´Â ÆÐÄ¡°¡ ¿ÏÀüÄ¡ ¾ÊÀ¸´Ï ÁÖ±âÀûÀ¸·Î ¾÷µ¥ÀÌÆ®Çؼ ÆÐÄ¡¸¦ Àû¿ëÇØÁֽñ⠹ٶø´Ï´Ù.