| Summary: | retpoline Flag is gone | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dieter Schütze <dieter> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | marja11, tmb |
| Version: | 6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kernel-4.14.18-1.mga6 | CVE: | |
| Status comment: | |||
|
Description
Dieter Schütze
2018-02-12 08:09:36 CET
iirc its intended... you can check the status with: dmesg |grep -i retpoline or on all vulns: grep . /sys/devices/system/cpu/vulnerabilities/* CC:
(none) =>
tmb (In reply to Thomas Backlund from comment #1) > iirc its intended... > There's a lot of "retpoline" in https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.18 which I fail to understand There is this thread: https://patchwork.kernel.org/patch/10194215/ > Patchwork [RFC] x86/vdso: Remove retpoline flags But I do not understand what vdso is, can't see the thread reached agreement, etc. Assignee:
bugsquad =>
kernel on the server of teh first post dmesg |grep -i retpoline [ 0.072316] Spectre V2 : Mitigation: Full generic retpoline grep . /sys/devices/system/cpu/vulnerabilities/* /sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI /sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization /sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline but on another server: uname -a Linux ........ 4.14.18-server-1.mga6 #1 SMP Thu Feb 8 00:24:26 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz stepping : 5 microcode : 0x19 cpu MHz : 2038.813 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 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 rdtscp lm constant_tsc arch_perfmo n pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm pti tpr_shadow vnmi flexpri ority ept vpid dtherm ida bugs : cpu_meltdown spectre_v1 spectre_v2 bogomips : 4533.49 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ...... same for all other cores dmesg |grep -i retpoline empty ( why ? ) grep . /sys/devices/system/cpu/vulnerabilities/* /sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI /sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization /sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline (In reply to Marja van Waes from comment #2) > (In reply to Thomas Backlund from comment #1) > > iirc its intended... > > > There's a lot of "retpoline" in > https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.18 which I fail > to understand Yeah, sorry, I wasn't clear enough... there is ongoing cleanups for /proc/cpuinfo to not flood cpu flags with various mitigation names as that would soon make it huge and useless... hence the new line: bugs : cpu_meltdown spectre_v1 spectre_v2 and: /sys/devices/system/cpu/vulnerabilities/* to store the info about the issues and their possible fixes (In reply to Dieter Schütze from comment #3) > > but on another server: > uname -a > Linux ........ 4.14.18-server-1.mga6 #1 SMP Thu Feb 8 00:24:26 UTC 2018 > x86_64 x86_64 x86_64 GNU/Linux [...] > > dmesg |grep -i retpoline > empty ( why ? ) Interesting... possibly the dmesg buffer has been filled up so not all info is there anymore (its a FIFO buffer) but this is the valid way to confirm what mitigations are in place: > grep . /sys/devices/system/cpu/vulnerabilities/* > /sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI > /sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user > pointer sanitization > /sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic > retpoline So you are all good... :) Ok, thank you for the explanation You can close this Regards Dieter Closing then. Status:
NEW =>
RESOLVED |