cbcvebase.
CVE-2024-49856
published 2024-10-21

CVE-2024-49856: 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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
10.9th percentile
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.

Affected

28 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
debianlinux-6.1< linux 6.1.115-1 (bookworm)linux 6.1.115-1 (bookworm)
linuxlinux
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < 40fb64257dab507d86b5f1f2a62f3669ef0c91a840fb64257dab507d86b5f1f2a62f3669ef0c91a8
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < 20c96d0aaabfe361fc2a11c173968dc67feadbbf20c96d0aaabfe361fc2a11c173968dc67feadbbf
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < fb2d057539eda67ec7cfc369bf587e6518a9b99dfb2d057539eda67ec7cfc369bf587e6518a9b99d
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < 0f89fb4042c08fd143bfc28af08bf6c8a0197eea0f89fb4042c08fd143bfc28af08bf6c8a0197eea
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < 8132510c915815e6b537ab937d94ed66893bc7b88132510c915815e6b537ab937d94ed66893bc7b8
linuxlinux>= 901ddbb9ecf5425183ea0c09d10c2fd7868dce54 < 9c936844010466535bd46ea4ce4656ef176536449c936844010466535bd46ea4ce4656ef17653644
linuxlinux_kernel>= 0 < 6.1.115-16.1.115-1
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 6.11.2-16.11.2-1
linuxlinux_kernel>= 0 < 5.15.0-127.1375.15.0-127.137
linuxlinux_kernel>= 0 < 6.8.0-54.566.8.0-54.56
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 5.13 < 5.15.1685.15.168
linuxlinux_kernel>= 5.16 < 6.1.1136.1.113
linuxlinux_kernel>= 6.11 < 6.11.26.11.2
linuxlinux_kernel>= 6.2 < 6.6.546.6.54
linuxlinux_kernel>= 6.7 < 6.10.136.10.13
msrcazl3_kernel_6.6.51.1-5_on_azure_linux_3.0
msrcazl3_kernel_6.6.56.1-5_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_kernel_5.15.167.1-2_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.