CVE-2024-49856
Last modified
CVE-2024-49856 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: x86/sgx: Fix deadlock in SGX NUMA node search When the current node doesn't have an EPC section configured by firmware and all other EPC sections are used up, CPU can get stuck inside the while loop that looks for an available EPC page from remote nodes indefinitely, leading to a soft lockup. Note how nid_of_current will never be equal to nid in that while loop because nid_of_current is not set in sgx_numa_mask. Also worth mentioning is that it's perfectly fine for the firmware not to setup an EPC section on a node. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: x86/sgx: Fix deadlock in SGX NUMA node search When the current node doesn't have an EPC section configured by firmware and all other EPC sections are used up, CPU can get stuck inside the while loop that looks for an available EPC page from remote nodes indefinitely, leading to a soft lockup. Note how nid_of_current will never be equal to nid in that while loop because nid_of_current is not set in sgx_numa_mask. Also worth mentioning is that it's perfectly fine for the firmware not to setup an EPC section on a node. While setting up an EPC section on each node can enhance performance, it is not a requirement for functionality. Rework the loop to start and end on *a* node that has SGX memory. This avoids the deadlock looking for the current SGX-lacking node to show up in the loop when it never will.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.13, < 5.15.168 |
| Linux | Linux Kernel | >= 5.16, < 6.1.113 |
| Linux | Linux Kernel | >= 6.2, < 6.6.54 |
| Linux | Linux Kernel | >= 6.7, < 6.10.13 |
| Linux | Linux Kernel | >= 6.11, < 6.11.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-49856?
How severe is CVE-2024-49856?
How do I fix CVE-2024-49856?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-49850In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49851In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49852In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49853In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49854In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49855In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-49857In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49858In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49859In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-49860In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-49861In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-49862In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2024-49856?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
