First published: Mon Oct 21 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux kernel | >=5.13<5.15.168 | |
Linux kernel | >=5.16<6.1.113 | |
Linux kernel | >=6.2<6.6.54 | |
Linux kernel | >=6.7<6.10.13 | |
Linux kernel | >=6.11<6.11.2 | |
Linux Kernel | >=5.13<5.15.168 | |
Linux Kernel | >=5.16<6.1.113 | |
Linux Kernel | >=6.2<6.6.54 | |
Linux Kernel | >=6.7<6.10.13 | |
Linux Kernel | >=6.11<6.11.2 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.128-1 6.12.19-1 6.12.20-1 | |
debian/linux-6.1 | 6.1.128-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-49856 is classified as a medium severity vulnerability affecting the Linux kernel.
To fix CVE-2024-49856, update to a patched version of the Linux kernel such as 5.10.223-1, 6.1.123-1, or later.
CVE-2024-49856 affects Linux kernel versions between 5.13 and 6.11.2.
CVE-2024-49856 involves a deadlock issue in the SGX NUMA node search functionality of the Linux kernel.
CVE-2024-49856 specifically affects the Linux kernel across various distributions.