LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-08-2022, 05:40 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
CPU Bug Warning - Serious?


Code:
MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
That's in dmesg with kernel 5.15.19. My assessment is that's not really a serious bug requiring action for the ordinary luser. Or should I go searching for a microdode update?

The CPU is an i3-3110m from 2012. The data it's handling is boring.
 
Old 02-08-2022, 10:52 AM   #2
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,003

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Your assessment is right. This kind of data leak is a potential problem only for servers that run untrusted code, and then exploiting the vulnerability is a difficult and slow process.
Ed
 
Old 02-08-2022, 08:49 PM   #3
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
I'm not sure if there's an MCU for MDS for 3rd gen (and with 5.15.19 I'd expect it would've grabbed it if possible; spectre-meltdown-checker would confirm if you're using the latest if you're really curious) - even if you have the update it will still throw the warn on SMT (if you were to also disable HyperThreading it quiets down) for basically the reasons EdGr points out (it can be an issue with VMs + SMT iirc as well).
 
Old 02-09-2022, 12:15 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Assuming this is some sort of Spectre/Meltdown vulnaribility:
The mitigation can be enabled in the kernel, but it brings a hefty performance penalty.
Most desktop distros choose not to do that.

AFAIU, and simplified to a point that some will groan, the vulnerability is what makes them faster.
 
Old 02-09-2022, 05:11 PM   #5
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Assuming this is some sort of Spectre/Meltdown vulnaribility:
The mitigation can be enabled in the kernel, but it brings a hefty performance penalty.
Most desktop distros choose not to do that.

AFAIU, and simplified to a point that some will groan, the vulnerability is what makes them faster.
This is not Spectre - its part of the MDS bug/vulnerability related to SMT ('Hyperthreading' for Intel marketing). You can read more about it here: https://en.wikipedia.org/wiki/Microa..._Data_Sampling

On one hand it probably is something to consider if you're hosting a bunch of VMs and hoping the hypervisor is effectively airgapping them across SMT (which it probably isn't), but if you've got the patches for whichever 'version' ('MDS' corresponds to like half a dozen CVEs that themselves correspond to various SKUs) of this can leak data in a browser (which AFAIU is browser-side patches), the 'low-to-medium' severity isn't insane guidance AFAICT. If you're really paranoid, turn SMT off. I think what the 'error' here is trying to relay is that SMT is enabled and there's no MCU patch, but there should still be software patches if you're using such an up-to-date kernel (which I'm assuming is part of an up-to-date distro with similarly up-to-date packages); if you want more clarity run spectre-meltdown-checker, which in recent versions has been expanded to check MCU version and summarize MDS as well - it too will warn about SMT being enabled.
 
Old 02-10-2022, 05:06 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Let's make one thing clear: I don't consider my cpu as 'fast'

Thanks for all the replies, I've obviously raised a topic of interest, and it's good to have the state of play laid out in this thread for others. I really have my answer. The sky won't fall in if I do nothing, so that's what I'll do.

The kernel blurb os going a bit OTT for me. The first time I booted Slackware-15.0, I got a few KB of onscreen messages 'warning' me that the sdcard in the SDCard reader could operate at a lower voltage than I was actually applying.
 
Old 02-10-2022, 10:38 AM   #7
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Let's make one thing clear: I don't consider my cpu as 'fast'

Thanks for all the replies, I've obviously raised a topic of interest, and it's good to have the state of play laid out in this thread for others. I really have my answer. The sky won't fall in if I do nothing, so that's what I'll do.

The kernel blurb os going a bit OTT for me. The first time I booted Slackware-15.0, I got a few KB of onscreen messages 'warning' me that the sdcard in the SDCard reader could operate at a lower voltage than I was actually applying.
If this is in 15.0, it very likely even is applying patches, but the notes from kernel.org (https://www.kernel.org/doc/html/latest/x86/mds.html) indicate at least some of the 'fix' requires a microcode update for the CPU. From doing a bit of searching, your CPU *should* have a compatible MCU (https://www.techpowerup.com/255545/i...thed-on-may-14), so now I'm curious why that isn't being loaded. Might be something to look into...
 
Old 02-10-2022, 11:28 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Quote:
Originally Posted by obobskivich View Post
If this is in 15.0, it very likely even is applying patches, but the notes from kernel.org (https://www.kernel.org/doc/html/latest/x86/mds.html) indicate at least some of the 'fix' requires a microcode update for the CPU. From doing a bit of searching, your CPU *should* have a compatible MCU (https://www.techpowerup.com/255545/i...thed-on-may-14), so now I'm curious why that isn't being loaded. Might be something to look into...
That brings us to a very sore point.

I got this box in early 2013, when EFI was brand new. Samsung's Bios were straight out of the M$ play book, and I eventually got linux going by formatting a hd with fdisk/mbr, because if I used GPT it defaulted to UEFI regardless of settings. So I don't get updates, because I don't have UEFI. I would have replaced this laptop last year, except graphics cards were basically unavailable for any new box.

I don't have the cpu cores or the ram to run VMs. I might get one crawling, but I don't need it at the moment, as any windows-only stuff is well handled by wine. So MDS is other people's problem. I did get a microcode update after the Meltdown/Spectre thing broke.

I'll have to get serious when I buy. Right now, I can't be bothered.
 
Old 02-10-2022, 12:00 PM   #9
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
That brings us to a very sore point.

I got this box in early 2013, when EFI was brand new. Samsung's Bios were straight out of the M$ play book, and I eventually got linux going by formatting a hd with fdisk/mbr, because if I used GPT it defaulted to UEFI regardless of settings. So I don't get updates, because I don't have UEFI. I would have replaced this laptop last year, except graphics cards were basically unavailable for any new box.

I don't have the cpu cores or the ram to run VMs. I might get one crawling, but I don't need it at the moment, as any windows-only stuff is well handled by wine. So MDS is other people's problem. I did get a microcode update after the Meltdown/Spectre thing broke.

I'll have to get serious when I buy. Right now, I can't be bothered.
I don't mean 'firmware' on the device, I mean MCU in the OS - linux can apply the microcode at start-up (which is how most machines get microcode patches these days - Windows too). Slackbuilds has a build for 14.2 (https://slackbuilds.org/repository/1...tel-microcode/), not sure about 15.0 yet, but I can't imagine it is impossible. Probably I would just let the MCU update run for peace of mind, but I'm also guessing as everyone has said: this probably isn't a huge deal for client systems (likely unless there's some nasty browser-based exploit that I'm not aware of).
 
  


Reply

Tags
mds



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Serious Sam HD & Serious Sam HD: The Second Encounter Will Come To Linux LXer Syndicated Linux News 0 04-05-2014 09:25 PM
LXer: Do you want a serious—I mean serious—developer laptop? Then Dell and Ubuntu have the system fo LXer Syndicated Linux News 0 11-29-2012 03:30 PM
CPU Overheat Warning when opening terminal (CPU is not overheating) Virtuality Linux - Newbie 4 05-30-2007 04:10 AM
BUG: soft lockup detected on CPU#0 and BUG: spinlock recursion on CPU#0 ... BloodyCat Linux - Hardware 3 11-07-2006 01:14 PM
Perl has serious bug !! AZIMBD03 Red Hat 2 04-18-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration