SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Linus Torvalds Rejects "Beyond Stupid" Intel Security Patch From Amazon Web Services
Date    Friday June 05 2020, @08:40AM
Author    martyb
Topic   
from the help-less,-please dept.
https://soylentnews.org/article.pl?sid=20/06/04/2236240

takyon writes:

Linus Torvalds rejects 'beyond stupid' AWS-made Linux patch for Intel CPU Snoop attack

Linux kernel head Linus Torvalds has trashed a patch from Amazon Web Services (AWS) engineers that was aimed at mitigating the Snoop attack on Intel CPUs discovered by an AWS engineer earlier this year. [...] AWS engineer Pawel Wieczorkiewicz discovered a way to leak data from an Intel CPU's memory via its L1D cache, which sits in CPU cores, through 'bus snooping' – the cache updating operation that happens when data is modified in L1D.

In the wake of the disclosure, AWS engineer Balbir Singh proposed a patch for the Linux kernel for applications to be able to opt in to flush the L1D cache when a task is switched out. [...] The feature would allow applications on an opt-in basis to call prctl(2) to flush the L1D cache for a task once it leaves the CPU, assuming the hardware supports it.

But, as spotted by Phoronix, Torvalds believes the patch will allow applications that opt in to the patch to degrade CPU performance for other applications.

"Because it looks to me like this basically exports cache flushing instructions to user space, and gives processes a way to just say 'slow down anybody else I schedule with too'," wrote Torvalds yesterday. "In other words, from what I can tell, this takes the crazy 'Intel ships buggy CPU's and it causes problems for virtualization' code (which I didn't much care about), and turns it into 'anybody can opt in to this disease, and now it affects even people and CPU's that don't need it and configurations where it's completely pointless'."


Original Submission

Links

  1. "takyon" - https://soylentnews.org/~takyon/
  2. "Linus Torvalds rejects 'beyond stupid' AWS-made Linux patch for Intel CPU Snoop attack" - https://www.zdnet.com/article/linus-torvalds-rejects-stupid-aws-made-linux-patch-for-intel-cpu-snoop-attack/
  3. "AWS engineer Pawel Wieczorkiewicz discovered a way" - https://www.zdnet.com/article/intel-cpus-vulnerable-to-new-snoop-attack/
  4. "as spotted by Phoronix" - https://www.phoronix.com/scan.php?page=news_item&px=Linux-Blasts-L1d-Flushing
  5. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=41399

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, Linus Torvalds Rejects "Beyond Stupid" Intel Security Patch From Amazon Web Services on 2024-04-25 13:29:03