VOOZH about

URL: https://www.phoronix.com/news/Linux-616-Likely-Attack-Control

⇱ Continued Work On Attack Vector Controls Ahead Of Linux 6.16 - Phoronix


👁 Phoronix

Continued Work On Attack Vector Controls Ahead Of Linux 6.16

Written by Michael Larabel in Linux Security on 2 May 2025 at 12:35 PM EDT. Add A Comment
Going back to last year an AMD engineer has been pursuing "Attack Vecotr Controls" to rethink CPU security mitigation handling. Attack Vector Controls aims to make it easier to manage CPU security mitigation settings by focusing on the class/scope of vulnerabilities rather than managing the mitigations at an individual level. It's looking like the initial attack vectors control code will be ready for mainlining in the upcoming Linux 6.16 cycle but stopping short of the complete implementation.

With Linux 6.15 was some prep work for attack vector controls while this week numerous attack vector control patches were queued into tip/tip.git's x86/bugs branch. With the patches now in a TIP branch ahead of the upcoming Linux 6.16 merge window, it's looking like the patches could be ready for submitting the next merge window.

👁 Attack vector controls patches


These are the patches that are "part 1" of attack vector controls. AMD engineer David Kaplan explains of it:
"These patches restructure the existing mitigation selection logic to use a uniform set of functions. First, the "select" function is called for each mitigation to select an appropriate mitigation. Unless a mitigation is explicitly selected or disabled with a command line option, the default mitigation is AUTO and the "select" function will then choose the best mitigation. After the "select" function is called for each mitigation, some mitigations define an "update" function which can be used to update the selection, based on the choices made by other mitigations. Finally, the "apply" function is called which enables the chosen mitigation.

This structure simplifies the mitigation control logic, especially when there are dependencies between multiple vulnerabilities."

Now to get the rest of the Attack Vector Controls support across the finish line...

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.