Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Stay Ahead With Linux Security News

Filter Icon Refine news
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":545,"type":"x","order":1,"pct":78.42,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.32,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.89,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.37,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security news

We found 7 articles for you...
78

Qualcomm: Spectre Vulnerability Mitigation Efforts in Linux

We Linux security admins have a new challenge on our hands: it was recently discovered that Qualcomm Snapdragon X Plus and Elite processors - found in laptops, tablets, cellphones, and other embedded devices - are still vulnerable to Spectre-related attacks . Despite its prominence in the industry, this vulnerability arises because Qualcomm has not upstreamed the necessary patches for appropriately treating these affected CPU cores in the mainline Linux kernel. . Spectre vulnerabilities exploit the speculative execution feature of most modern CPUs, allowing attackers to access sensitive data across various processes. Given how critical a role security plays in maintaining system integrity, addressing this oversight on Qualcomm’s part is essential. While Linux distro support for these processors is very limited , if Qualcomm CPUs in your Linux system are exploited due to these Spectre vulnerabilities, it could mean unauthorized access to sensitive data, like personal files or passwords, by malicious users. This kind of breach could lead to identity theft or even financial loss, making it crucial to address these security issues promptly. To help you understand this risk and secure your systems against it, I'll explain the recently discovered issue, the patch series proposed to address it, and offer practical recommendations for fellow security-conscious Linux admins. Understanding Efforts to Mitigate this Issue Douglas Anderson, a diligent Google engineer, has taken the initiative to address these vulnerabilities by initiating a patch series . He aims to ensure that these Qualcomm CPU cores are aptly managed with the necessary Spectre security measures, mainly focusing on Spectre-BHB (Branch History Buffer) . Anderson’s patches strive to insulate these CPUs from potential exploits by mitigating the identified vectors through which Spectre could abuse speculative execution. It's pretty remarkable that fixing a hardware problem requires a software patch, as opposed to fixing theCPU directly or simply buying another one. Nonetheless, Anderson's task isn’t straightforward. Qualcomm’s CPUs are derivatives of ARM cores, yet they come with unique MIDR (Main ID Register) values, making it challenging to pinpoint appropriate patches. These cores' variety and custom nature necessitate a deep understanding and a precise approach to patching. Some of his initial patches are speculative and might not compile successfully, highlighting the indispensable need for Qualcomm’s direct involvement. Their expertise and detailed knowledge of their processor architectures are crucial to refining and ensuring the effectiveness of these mitigations. Challenges in Mitigation Efforts One of the primary challenges in addressing these vulnerabilities is identifying which patches are appropriate for the myriad Qualcomm CPUs affected. With CPUs being derivatives of ARM cores, the unique MIDR values introduce complexity. Implementing a one-size-fits-all patch seems unattainable without comprehensive information on each core type and its specific vulnerabilities. This dilemma has necessitated an element of trial and error in Anderson's patches. Thus, Qualcomm's active participation isn't just beneficial; it’s essential. Their input can help validate patches, ensuring they compile correctly and deliver the desired level of protection. Community Proposals for a Proactive Security Approach The broader Linux community, including key contributors like ARM Linux engineer Will Deacon, has suggested more proactive approaches to handling these vulnerabilities. Deacon has proposed a significant paradigm shift: rather than assuming CPUs are safe unless proven otherwise, the new approach would treat all unknown CPUs as vulnerable by default. This would invert the current model, necessitating CPU vendors to step forward to explicitly declare their CPUs unaffected if that is true. This proposed shift aims to push CPU vendors, like Qualcomm, to be more proactive about acknowledging and addressingproduct vulnerabilities. By assuming a default state of vulnerability, the burden of proof shifts to the vendors, encouraging them to engage more actively with the kernel community and ensure that mitigations are properly applied to their CPUs. Hoping for Qualcomm's Intervention The Linux community is eagerly awaiting Qualcomm’s intervention. The ideal scenario would be for Qualcomm to deeply involve itself in the patching process, recognizing the severity of the vulnerabilities and the importance of securing its processors. Without their active participation, the risk remains high that some CPUs might remain unpatched or inadequately patched, leaving security gaps for potential attackers to exploit. Practical Recommendations for Linux Admins Given this evolving situation, Linux security admins should take several steps to protect their systems effectively. Firstly, monitor updates closely. It's crucial to stay informed about the latest mainline kernel updates , especially those related to security patches for Qualcomm CPUs. The community’s efforts are ongoing, and new patches will likely emerge as more information becomes available and Qualcomm potentially steps up its involvement. Vendor coordination is another key area. By pushing for expedited mitigation processes and ensuring the newest security patches are applied, administrators can significantly enhance the security posture of their systems. Clear communication channels with the vendor can facilitate a faster, more effective response to vulnerabilities. Admins should also evaluate their assumptions. The proposed changes in how vulnerabilities are presumed and handled in the kernel could impact both performance and security measures. Awareness of these changes and their implications will help us make informed decisions about system configuration and maintenance. Finally, testing and validation are critical. Before deploying new patches in a production environment, they should be thoroughly tested in a safe, controlled setting.This will help ensure they compile correctly and do not introduce additional issues. Testing can identify potential conflicts or performance impacts that might arise, allowing administrators to address these problems preemptively. Our Final Thoughts on Addressing Security Threats in Qualcomm Processors on Linux The road to securing Qualcomm processors in the Linux ecosystem is paved with challenges, but the collective efforts of the community and engineers like Douglas Anderson signal hope. By addressing these vulnerabilities head-on and fostering greater cooperation with Qualcomm, the Linux community can continue to ensure robust, secure systems. For Linux security admins, staying informed and proactive will be key to navigating and mitigating these emerging threats effectively. . Meltdown affects Intel processors on macOS; discover potential hazards and preventive measures to safeguard confidential information.. Qualcomm CPU Security, Spectre Threat, Linux Kernel Updates, CPU Patch Management, Security Admin Best Practices. . Brittany Day

Calendar 2 Dec 18, 2024 User Avatar Brittany Day Vendors/Products
79

AMD Zen 5 ERAPS: Enhancing Security and Performance in Linux Configurations

AMD's Zen 5 architecture has earned wide praise for its robust performance capabilities since introducing the Ryzen 9000 series and EPYC 9005 "Turin" processors. A recent addition is Enhanced Return Address Prediction Security (ERAPS) . Although not explicitly covered during initial launch events or official documentation from AMD, posts to Linux kernel mailing lists have begun shedding light on ERAPS' significance. . ERAPS was developed to mitigate some lingering performance impacts caused by security mitigations necessitated by speculative execution vulnerabilities like those in the Spectre class, specifically Return Stack Buffer poisoning attacks. It targets and counteracts specific classes of these attacks. In this article, I'll explore the security implications of ERAPS, its positive performance impact on Zen 5 systems, and how you can patch your Linux kernel to benefit from this feature. Understanding the Security Implications of ERAPS As part of understanding the vulnerabilities caused by speculative execution, various mitigations were implemented that inadvertently reduced CPU performance. ERAPS seeks to restore some of this lost performance through hardware-based RSB flushing during context switches and VMEXITs. AMD's ERAPS is an innovative defense mechanism to mitigate speculative attacks. By marking host and guest return addresses and eliminating explicit RSB flushing requirements, this hardware update reduces software mitigations while safeguarding against speculation outside RSBs through BTC_NO feature RET predictions from outside RSBs. These updates decrease the security burden while improving security and performance on Zen 5 systems. Examining Positive Performance Consequences for Zen 5 Systems Preliminary benchmarks demonstrate that ERAPS can benefit significantly in situations with frequent kernel interaction and context-switching workloads. Performance tests using patches rebased on Linux 6.12 have shown improvement across various applications. Databaseapplications like RocksDB , which feature manipulative I/O operations and frequent context switching, showed significant performance gains when running with ERAPS-enabled kernels. Virtualization contexts also saw improvements since explicit RET stuffing/filling operations during VMEXIT operations no longer had to be performed explicitly. Servers equipped with Zen 5 processors, particularly EPYC 9655s, showed positive performance modifications when enabled, signaling their viability in data-center environments. While minor, these performance gains remained consistent over time and indicated opportunities for further optimization as ERAPS evolved. How to Patch Your Kernel to Benefit from ERAPS Source: Phoronix Administrators who want to reap the performance advantages of ERAPS can prepare by applying patches to their Linux kernels. These patches have been tested with Linux 6.12, showing compatibility and potential integration into future releases such as 6.14. To patch your kernel, first, observe updates to the Linux kernel mailing list containing x86/CPU branch updates before testing any ERAPS patches in a non-production environment to assess their impact on specific workloads. Once satisfied with your patches, obtain and apply the latest kernel source code with ERAPS-specific patches, then compile and compile again, ensuring all dependencies and configurations suit your hardware. When deploying this compiled kernel into production environments, be cautious: conduct performance tests first to ensure it provides the expected benefits without creating new issues. As with any modification, it should not cause system instability or lead to further problems. Admins should track performance variations across workloads to identify areas where ERAPS offers significant benefits. Furthermore, they should consult security professionals to ensure ERAPS complies with their security policies. Please get in touch with us on X @lnxsec - we are happy to help! Our Final Thoughts on AMD ERAPSPerformance & Security Implications With the launch of ERAPS, AMD has provided an attractive boost to performance and security in their Zen 5 processors. While official documentation and integration within mainstream Linux distributions are yet to be available, administrators can begin preparing and experimenting with this feature, which delivers optimal security and efficiency benefits while keeping their systems safe from attacks. As AMD develops this feature and aligns it with future Linux kernel releases, more people should benefit from this nuanced advancement in processor technology. . Explore how ERAPS has enhanced AMD's Zen 5 architecture, focusing on its role in mitigating the risks linked to speculative execution vulnerabilities and improving performance. AMD Zen 5, ERAPS feature, performance security, speculative execution, Linux enhancements. . Brittany Day

Calendar 2 Nov 19, 2024 User Avatar Brittany Day Security Projects
79

Linux Kernel: Performance Boost and Security Upgrade from Torvalds' Patch

Linus Torvalds, the revered leader of the open-source movement, has shown that even minute changes can make a significant difference. A relatively small recent code modification made by the Linux kernel developer has significantly improved Linux's performance. . The change is known as x86/uaccess" and it avoids barrier_nospec() when copying 64-bit () . This minor change, initially submitted by Red Hat developer Josh Poimboeuf and revised by Torvalds, addresses critical security issues while improving performance. I'll examine the essence of this patch, the types of attacks it protects against, its security and performance impacts, and the broader implications of this patch for us Linux users. Understanding The Essence of This Patch This recent patch aims to improve Linux's performance by changing how the kernel handles copying operations from the user space. It mitigates the usage of the barrier_nospec(). This API was designed to thwart speculative execution attacks such as Meltdown and Spectre, which were first made public in 2018. Modern CPUs use speculative execution to increase efficiency. However, it can also expose security vulnerabilities. Torvalds' patch replaces barrier_nospec() with pointer masking. This method returns all 1s when the copy_from_user() attempts to access an invalid address. This approach offers a measurable performance boost while maintaining security. Addressing Meltdown and Spectre Attacks Meltdown and Spectre attacks are side-channel attacks that exploit the CPU’s speculative processing to gain access to sensitive data. These vulnerabilities shocked the IT community, leading to a widespread effort to patch and defend themselves against these threats. These security measures often result in significant overhead and a noticeable performance degradation. This trade-off is controversial, especially in environments where performance matters most. The Register reports, "Defending these attacks is a necessary evil. Running web servers and thelike is a primary usage of Linux, and such boxes must be locked down against every conceivable attack - even at the cost of disabling performance-enhancing features." Performance Improvements This patch is essential because it combines security and performance. The patch, which avoids the barrier_nospec() and uses pointer masking to improve the per_thread_ops, achieves a 2.6% increase in the benchmark. The kernel testing robot verified this. This is not a mere statistical anomaly but a vital improvement for systems that run high-thread workloads such as web servers or data processing applications. Torvalds acknowledged that the code change positively impacted performance, stating, "The kernel testing robot reports a 2.6% improvement in the per_thread_ops benchmark," which shows the real-world effect of the seemingly minor change. Security and Performance Trade-Offs Balancing performance and security is one of the most persistent challenges for operating system developers, particularly when it comes to a platform as popular as Linux. In response to Meltdown, Spectre, and other vulnerabilities, mitigations were implemented to prioritize performance at the expense of security. Torvalds has been known to be critical of performance-killing methods. It is important to note that the new patch does not force administrators to choose between performance and security. The patch reduces the risk of speculative execution by making a small but strategic change to how invalid addresses are treated in copy_from_user(). This is done without the usual overhead associated with security patches. Broader Implications for The Linux Community This patch demonstrates Torvalds' deep understanding of low-level x86 architecture and his ability to make decisions that benefit the broader Linux community. The Register reports, "Very few people have his level of technical knowledge, particularly of the x86 Architecture—and most of those who work for large chip vendors." They are under NDA and cannottalk about it. Torvalds’ background at chip vendor Transmeta, where he was employed for his low-level expertise in building Crusoe chips, illustrates his extensive knowledge in this area. His contributions will ensure that Linux is a safe and performant platform for users and businesses worldwide. Our Final Thoughts on Torvalds' New Patch Linus Torvalds' small but significant patch is a testament to modern operating systems' delicate balance between performance and security. The patch addresses critical vulnerabilities and improves performance. It is a practical solution to one of the most pressing problems in the tech world. This recent patch boosts performance for administrators and developers and emphasizes the need to remain vigilant and innovative in the face of evolving security threats. Linus Torvalds, the creator of Linux, continues to shape its future with this patch. It ensures that Linux remains secure , robust, and efficient in a technologically changing landscape. . The latest update from Torvalds boosts Linux efficiency while fortifying security measures to counteract risks posed by Spectre and Meltdown vulnerabilities.. Linux Kernel, Speculative Execution, Performance Improvement, Security Enhancement. . Brittany Day

Calendar 2 Nov 11, 2024 User Avatar Brittany Day Security Projects
209

Linus Torvalds' Critique: CPU Attacks and Hardware Design Challenges

Linus Torvalds, the creator of Linux, recently expressed his frustration about using barrier_nospec() within the copy_from_user() functionality. His main concern is the slowness of the copy_from_user() function and the overkill these barriers are perceived as being. His remarks also highlight an increasing impatience towards buggy hardware and theoretical CPU attacks, which impact the security and efficiency of the Linux operating system. . To help you understand Torvalds' recent commentary and its significance for admins like you and me, I'll explain Torvalds' criticisms in more depth, examine the relevance of these issues for admins and Linux users, and offer practical solutions for overcoming these challenges. Understanding Linus' Criticisms of barrier_nospec() Linus Torvalds described the use of barrier_nospec() as "overkill" in a recent mailing list response . He also called it "painfully slow." Performance can be affected by the introduction of Speculative Execution Barriers to mitigate Spectre-style vulnerabilities . These barriers were designed to stop speculative attacks, but they can cause latency and reduce the efficiency of kernel operations. This can result in slower system response times and lower performance for end users, especially when using high-compute environments. Torvalds appears to be particularly upset by applying mitigations without understanding their need in specific cases. Security is essential, but solutions must be proportionate to risk. This may not always apply to speculative-execution barriers. Barrier_nospec() could be applied universally to protect against some attacks, but it would come at a performance cost. Broader Frustration with Buggy Hardware & Theoretical CPU Attacks Torvalds recent outburst is not an isolated incident but rather part of a longstanding criticism of the security community and hardware manufacturers' approach to CPU vulnerabilities. Linux kernel developers often have to clean up after hardware designers. This is acritical issue. Software-layer mitigations are usually cumbersome and inefficient for silicon-level bugs. Torvalds believes this is a fundamental issue, and hardware manufacturers must take greater responsibility to ensure robust security built into their designs. Concerns include theoretical attacks, which may not always translate to real-world threats in practice but still require mitigations because of their potential impact. The Linux kernel must maintain a delicate balance between robust security and performance. Inefficient measures can cause systems to be vulnerable, and overly conservative approaches can result in significant inefficiencies. Examining the Significance of These Issues for Linux Admins These discussions are essential for Linux administrators for several reasons. The introduction of performance-degrading security measures directly impacts the end-user experience and the feasibility of running resource-intensive applications. Understanding the tradeoffs within the kernel allows admins to make informed decisions about kernel configurations and versions appropriate for specific use cases. To maintain a high level of security, admins should also be aware of the most recent kernel security discussions. Understanding the reasoning behind particular mitigations allows for a better risk assessment. This helps prioritize updates and configurations by an organization's tolerance of risk. Instability can also be caused by frequent kernel changes required to fix hardware vulnerabilities. Admins must be alert to updates and thoroughly test them in staging environments before deploying them to production systems. Practical Solutions for Overcoming These Challenges Security and performance are constantly at odds within the Linux kernel. This tension requires immediate and long-term fixes. The first approach is to apply speculative barriers selectively rather than universally. This would only be for processes handling sensitive data or systems with a higher attackrisk. Administrators can adjust kernel parameters to balance performance and security based on operational requirements. A better collaboration between the kernel development community and hardware manufacturers can result in more efficient silicon, reducing the need for mitigation software. Open-source projects that are more transparent and cooperative with manufacturers can result in more tailored and efficient mitigations. Developers can also optimize the performance impact of patches and refine speculative execution barriers to minimize overhead while maintaining their protective benefits. In this process, benchmarking and performance tests are essential. Using more sophisticated threat modeling that evaluates both theoretical attacks' feasibility and exploitability can help inform a more balanced mitigation strategy. Developers can better weigh the risks in the real world and prioritize the efforts that will provide the most significant security benefit with the most negligible performance impact. By implementing more dynamic kernel configurations, systems can adjust their security posture in real time depending on the current threat environment. This allows for stronger protections when the threat landscape is high and a relaxation of those protections when the threat level drops. Various perspectives can be gained by encouraging a more significant level of participation in kernel development discussions. This community-driven method can create effective and efficient mitigations by drawing on various areas of expertise. Our Final Thoughts on Hardware Bugs & CPU Attack Mitigations Linus Torvalds' frustrations reveal deeper systemic problems within hardware design and mitigation strategies for security. These discussions highlight the balance that must be struck between performance and security, requiring a deeper understanding of kernel configurations and updates. The Linux community can overcome these challenges by fostering better hardware and software collaboration andadopting more refined mitigation techniques. This will ensure robust security without sacrificing performance. . Linus Torvalds, creator of Linux, expresses concern over CPU vulnerabilities that threaten system integrity, forcing complex changes impacting performance and security.. Hardware Bugs, CPU Attacks, Linux Kernel, Security Measures, Performance Tuning. . Anthony Pell

Calendar 2 Oct 21, 2024 User Avatar Anthony Pell Security Trends
210

Intel & AMD: Spectre Bypass Critical Threat on Linux Systems

A new Spectre bypass exploit has exposed vulnerabilities in recent Intel processors and older AMD microarchitectures running Linux, with severe ramifications for ongoing efforts to combat speculative execution attacks. . To help you understand and prepare for this emerging threat, I'll discuss how this exploit works, the processors at risk, and how it was discovered. I'll also provide practical advice users can follow to reduce risk. Let's begin by understanding speculative execution and common risks associated with this feature. Understanding Speculative Execution Modern CPUs employ speculative execution as a performance optimization, anticipating future tasks and executing instructions early. This mechanism speeds up processing by making educated guesses about the next set of instructions based on past performance. When these predictions prove correct, executed instructions improve overall performance; however, when they don't match up properly with expectations, they may be disregarded altogether and called transient instructions instead. Though speculative execution provides performance benefits, it also creates security threats—mainly through side-channel attacks such as Spectre . Such attacks involve manipulating the speculative execution process to access sensitive data stored in CPU cache memory. Even after terminating speculative instructions, the data accessed could still be retrieved, leading to potentially serious security breaches. Examining The Newly Disclosed Spectre Bypass Johannes Wikner and Kaveh Razavi from ETH Zurich recently unveiled newly discovered variants of Spectre-like attacks that bypass existing mitigations. Their contribution includes two attacks that bypass the indirect branch predictor barrier (IBPB), showing how resilient speculative execution vulnerabilities remain despite ongoing mitigation efforts. Intel CPUs are vulnerable to cross-process attacks due to an issue in their microcode where IBPB doesn't completely invalidate return predictionsafter context switches, enabling attackers to manipulate speculative execution of return instructions, which in turn leak sensitive information (for instance, leaking the hash of the root password from an SUID process). For AMD processors, however, this issue arises from improper application of IBPB-on-entry in the Linux kernel, allowing return predictors to retain outdated predictions even after IBPB has been applied. Attackers could then hijack return predictors to gain kernel memory access. What Processes Are at Risk? A wide variety of processors from Intel and AMD is at risk of this new exploit: Intel: Their latest consumer generations include the 12th, 13th, and 14th series and 5th and 6th generation Xeon server processors. AMD: AMD products utilize older microarchitectures such as Zen 1, Zen 1+, and Zen 2. However, AMD's advisory included Zen 3 products despite not being listed in the ETH Zurich paper . How Was This Vulnerability Discovered? Researchers from ETH Zurich discovered these vulnerabilities as part of a more extensive investigation into speculative execution attacks, informing both Intel and AMD in June 2024 of their discoveries. Intel had already recognized it internally under the CVE-2023-38575 identifier. In March of that same year, they issued a microcode update, which affected most operating systems, including Ubuntu. However, some updates still haven't yet reached all operating systems, such as MacOSX. AMD had already identified this flaw under CVE-2022-23824 ; however, because they perceived it as a software bug rather than a hardware flaw, they opted not to issue a corrective microcode. Practical Mitigation Advice for Impacted Users Users impacted by these vulnerabilities should take immediate, concrete steps to minimize risks: Firmware Updates: Make sure that your firmware is always up-to-date and contact their hardware providers to get any available firmware updates. Operating System Updates: Maintain regular OS updates.Linux kernel maintainers are constantly developing patches to address AMD processor issues. Keeping an eye out for official kernel updates and applying them as quickly as possible is essential for optimal system performance. Restrict Privileges: Where possible, try to minimize the number of processes requiring elevated permissions, as this reduces the attack surface for exploits targeting high-privilege operations. Enable Security Features: Where supported, use available security features and software updates that provide additional protection against speculative execution attacks, such as Indirect Branch Restricted Speculation (IBRS) or Single Thread Indirect Branch Predictors (STIBP) . Utilize Secure Configurations: Set up your systems using the most secure settings possible, disabling features susceptible to exploitation in environments where security precedes performance. Our Final Thoughts on This Emerging Threat This recently revealed Spectre bypass underscores a persistent challenge in protecting modern CPUs. While speculative execution offers performance benefits, it also comes with significant risks. Despite multi-year efforts to mitigate vulnerabilities related to it, new variants continue to arise and necessitate constant vigilance and prompt responses. Intel and AMD's responses to these new findings indicate that while progress has been made, gaps exist between applied fixes and their reach and implementation. Staying up-to-date with firmware and operating system updates, implementing restrictive privilege controls, and taking advantage of available security features can significantly mitigate risks presented by speculative execution vulnerabilities. As time progresses, ongoing collaboration among hardware manufacturers, software developers, and security researchers will be crucial in effectively meeting and mitigating such complex challenges. . Learn about the Spectre bypass exploit affecting Intel and AMD CPUs on Linux, its risks, and effective mitigationstrategies to ensure system security. Spectre Exploit, Intel Security, AMD Vulnerability, Microarchitecture Threat, Linux Mitigation. . Brittany Day

Calendar 2 Oct 18, 2024 User Avatar Brittany Day Security Vulnerabilities
210

Exploring GhostRace Attack: Critical Threats Affecting Major CPUs

A new data leakage attack called GhostRace ( CVE-2024-2193 ) was recently discovered. It affects major CPU manufacturers and widely used software. This critical analysis will investigate the implications of this attack and discuss its significance for Linux admins, infosec professionals, and Internet security enthusiasts. . What Is the GhostRace Attack? IBM and VU Amsterdam University researchers have identified a new type of attack called GhostRace. This attack exploits speculative race conditions (SRCs) to leak sensitive information from a system's memory. Speculative execution, a technique commonly employed in CPU attacks, is combined with race conditions to bypass synchronization primitives implemented in operating systems, enabling the leakage of critical information. Race conditions exist when there is insufficient synchronization with a shared resource, allowing multiple threads to access it simultaneously. The GhostRace attack presents a significant threat to security practitioners and organizations relying on major CPU manufacturers. This attack highlights the vulnerability of software utilizing conditional branches without any serializing instructions. The fact that all major hardware vendors, including Intel, AMD, Arm, and IBM, are impacted indicates the breadth of the issue. Researchers have used the term "Speculative Concurrent Use-After-Free (SCUAF)" attack to describe the GhostRace attack technique. This points to the creative ways attackers exploit vulnerabilities, emphasizing the need for vigilant security practices and continuous monitoring. The GhostRace attack also uses Inter-Process Interrupt (IPI) Storming, a new technique researchers employ to interrupt the victim process and perform the SCUAF attack. This raises questions about the effectiveness of current measures to prevent such interruptions and highlights the importance of implementing robust defense mechanisms at the hardware and software levels. The extensive research conducted by the IBM and VU Amsterdamteams includes identifying potentially exploitable gadgets in the Linux kernel . This information is invaluable for Linux admins and developers when assessing their systems' vulnerability. However, the lack of immediate action by Linux developers due to performance concerns may concern security practitioners. What Are the Implications and Long-Term Consequences of This Threat? The GhostRace attack severely impacts security practitioners and organizations relying on CPU manufacturers and software vendors. It exposes the vulnerabilities in synchronization primitives and speculative execution techniques, which may have long-term consequences for designing and implementing future CPUs and operating systems. Security professionals must be proactive in their approach to mitigating this threat. They should actively monitor for any advisories or updates from CPU and software vendors, such as AMD and Xen, to address the GhostRace vulnerability. Also, Linux admins should consider implementing the IPI rate-limiting feature to enhance their security. Our Final Thoughts on the GhostRace Attack The GhostRace attack unveils a new type of data leakage attack that compromises the security of major CPU manufacturers and widely used software. We emphasize the importance of staying informed about emerging vulnerabilities and taking proactive measures to secure systems against such threats. By addressing the issues raised by GhostRace, it is possible to fortify security practices and protect critical data from malicious actors. . Spectral Chase vulnerability affects top providers. Examine its consequences for Unix administrators and cybersecurity experts.. GhostRace Attack, CPU Security Threats, Data Leakage Techniques, Speculative Execution. . Brittany Day

Calendar 2 Mar 15, 2024 User Avatar Brittany Day Security Vulnerabilities
78

Intel Core CPUs Face Up To 40% Slowdown From Downfall Update

Downfall is the latest speculative execution vulnerability discovered in Intel’s x86 CPU architecture. As custom dictates, the chipmaker has released a microcode update and Linux kernel patches to mitigate the flaw. Like most security fixes, these updates degrade performance as they essentially block speculative execution in certain scenarios. . Phoronix has compiled some benchmarks showing the impact of the security update on Intel’s Core CPUs: Downfall primarily affects Skylake, Ice Lake, and Tiger Lake, and we see performance drops as large as 40% after the update. OpenVKL is 10-12% slower following the patch, while the OSPRay ray-tracing benchmark sees a much larger decline. Ambient Occlusion is a whopping ~40% slower with the new kernel and microcode, while path tracing sees a 20% reduction in real-time performance. . Test findings indicate pronounced declines in performance for Intel’s Core processors following the security patch addressing the Downfall vulnerability.. Intel CPU Security, Microcode Update Impact, Downfall Vulnerability Benchmarks. . LinuxSecurity.com Team

Calendar 2 Aug 14, 2023 User Avatar LinuxSecurity.com Team Vendors/Products
209

Understanding AMD Zen 4 Security Mitigations For Enhanced Performance

While some Linux enthusiasts eagerly recommend users boot their systems with the " mitigations=off " kernel parameter for run-time disabling of various relevant CPU security mitigations for Spectre, Meltdown, L1TF, TAA, Retbleed, and friends, with the new AMD Ryzen 7000 "Zen 4" processors while still needing some software mitigations, it's surprisingly faster for the most part leaving the relevant mitigations enabled. . With AMD Zen 4 processors and the currently public security disclosures, Linux 6.0 on the Ryzen 7000 series CPUs has Speculative Store Bypass disabled via prctl for the SSBD / Spectre V4 mitigation and Spectre V1 mitigations of usercopy/SWAPGS barriers and __user pointer sanitization. Then for Spectre V2 there are Retpolines, conditional Indirect Branch Predictor Barriers (IBPB), IBRS firmware, always-on Single Threaded Indirect Branch Predictors (STIBP), and return stack buffer (RSB) filling. Those are the only software security mitigations involved with Zen 4 at this time with the new CPUs not being vulnerable to the assortment of other known vulnerabilities affecting different CPUs. The link for this article located at Phoronix is no longer available. . Maintaining CPU security mitigations on AMD Zen 4 architecture provides significant performance advantages while protecting against vulnerabilities related to speculative execution.. AMD Zen 4 Performance, Linux Security Mitigations, CPU Speculation Protections. . Brittany Day

Calendar 2 Oct 05, 2022 User Avatar Brittany Day Security Trends
News Add Esm H340

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":545,"type":"x","order":1,"pct":78.42,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.32,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.89,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.37,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Your message here