CVE-2023-52816: drm/amdkfd: Fix shift out-of-bounds issue
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Fix shift out-of-bounds issue
[ 567.613292] shift exponent 255 is too large for 64-bit type 'long unsigned int' [ 567.614498] CPU: 5 PID: 238 Comm: kworker/5:1 Tainted: G OE 6.2.0-34-generic #34~22.04.1-Ubuntu [ 567.614502] Hardware name: AMD Splinter/Splinter-RPL, BIOS WS43927N871 09/25/2023 [ 567.614504] Workqueue: events sendexceptionworkhandler [amdgpu] [ 567.614748] Call Trace: [ 567.614750] <TASK> [ 567.614753] dumpstacklvl+0x48/0x70 [ 567.614761] dumpstack+0x10/0x20 [ 567.614763] ubsanhandleshiftoutofbounds+0x156/0x310 [ 567.614769] ? srsoaliasreturnthunk+0x5/0x7f [ 567.614773] ? updatesdlbstats.constprop.0+0xf2/0x3c0 [ 567.614780] svmrangesplitbygranularity.cold+0x2b/0x34 [amdgpu] [ 567.615047] ? srsoaliasreturnthunk+0x5/0x7f [ 567.615052] svmmigratetoram+0x185/0x4d0 [amdgpu] [ 567.615286] doswappage+0x7b6/0xa30 [ 567.615291] ? srsoaliasreturnthunk+0x5/0x7f [ 567.615294] ? freepages+0x119/0x130 [ 567.615299] handleptefault+0x227/0x280 [ 567.615303] handlemmfault+0x3c0/0x720 [ 567.615311] handlemmfault+0x119/0x330 [ 567.615314] ? lockmmandfindvma+0x44/0x250 [ 567.615318] douseraddrfault+0x1a9/0x640 [ 567.615323] excpagefault+0x81/0x1b0 [ 567.615328] asmexcpagefault+0x27/0x30 [ 567.615332] RIP: 0010:getuser8+0x1c/0x30
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1056.61~20.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1058.66~20.04.2 - Upgrade
Upgrade
ubuntu/linux-gcp-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1053.61~20.04.1 - Upgrade
Upgrade
ubuntu/linux-gkeop-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1038.44~20.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-100.110~20.04.1 - Upgrade
Upgrade
ubuntu/linux-ibm-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1048.51~20.04.1 - Upgrade
Upgrade
ubuntu/linux-intel-iotg-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1050.56~20.04.1 - Upgrade
Upgrade
ubuntu/linux-lowlatency-hwe-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-100.110~20.04.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegra-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1025.25~20.04.1 - Upgrade
Upgrade
ubuntu/linux-oracle-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1053.59~20.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-5.15to a version that resolves this vulnerability.Fixed in 5.15.0-1051.55~20.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 5.15.0-100.110 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 5.15.0-1056.61 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 5.15.0-1058.66 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 5.15.0-1058.66.1 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 5.15.0-1053.61 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 5.15.0-1052.57 - Upgrade
Upgrade
ubuntu/linux-gkeopto a version that resolves this vulnerability.Fixed in 5.15.0-1038.44 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 5.15.0-1048.51 - Upgrade
Upgrade
ubuntu/linux-intel-iotgto a version that resolves this vulnerability.Fixed in 5.15.0-1050.56 - Upgrade
Upgrade
ubuntu/linux-kvmto a version that resolves this vulnerability.Fixed in 5.15.0-1052.57 - Upgrade
Upgrade
ubuntu/linux-lowlatencyto a version that resolves this vulnerability.Fixed in 5.15.0-100.110 - Upgrade
Upgrade
ubuntu/linux-nvidiato a version that resolves this vulnerability.Fixed in 5.15.0-1046.46 - Upgrade
Upgrade
ubuntu/linux-nvidia-6.5to a version that resolves this vulnerability.Fixed in 6.5.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 5.15.0-1025.25 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegra-igxto a version that resolves this vulnerability.Fixed in 5.15.0-1012.12 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 5.15.0-1053.59 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 5.15.0-1048.51 - Upgrade
Upgrade
ubuntu/linux-xilinx-zynqmpto a version that resolves this vulnerability.Fixed in 5.15.0-1030.34 - Upgrade
Upgrade
ubuntu/linux-bluefieldto a version that resolves this vulnerability.Fixed in 5.15.0-1037.39 - Upgrade
Upgrade
ubuntu/linux-intel-iot-realtimeto a version that resolves this vulnerability.Fixed in 5.15.0-1048.50 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 5.15.0-1056.63 - Upgrade
Upgrade
ubuntu/linux-aws-fipsto a version that resolves this vulnerability.Fixed in 5.15.0-1056.61+fips1 - Upgrade
Upgrade
ubuntu/linux-fipsto a version that resolves this vulnerability.Fixed in 5.15.0-100.110+fips1 - Upgrade
Upgrade
ubuntu/linux-gcp-fipsto a version that resolves this vulnerability.Fixed in 5.15.0-1055.63+fips2
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52816?
The severity of CVE-2023-52816 is categorized as high due to its potential impact on system stability.
How do I fix CVE-2023-52816?
To fix CVE-2023-52816, update to the latest version of the Linux kernel that includes the patch addressing this vulnerability.
What systems are affected by CVE-2023-52816?
CVE-2023-52816 affects the Linux kernel, particularly versions prior to the fix being applied.
What type of exploit does CVE-2023-52816 represent?
CVE-2023-52816 represents a shift out-of-bounds vulnerability that can lead to data corruption and system crashes.
Is there any immediate action needed for CVE-2023-52816?
Yes, it is recommended to apply the kernel update as soon as possible to mitigate the risks associated with CVE-2023-52816.