cbcvebase.
CVE-2025-37927
published 2025-05-20

CVE-2025-37927: In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid There is a string parsing…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid There is a string parsing logic error which can lead to an overflow of hid or uid buffers. Comparing ACPIID_LEN against a total string length doesn't take into account the lengths of individual hid and uid buffers so the check is insufficient in some cases. For example if the length of hid string is 4 and the length of the uid string is 260, the length of str will be equal to ACPIID_LEN + 1 but uid string will overflow uid buffer which size is 256. The same applies to the hid string with length 13 and uid string with length 250. Check the length of hid and uid strings separately to prevent buffer overflow. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected

38 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.140-1 (bookworm)linux 6.1.140-1 (bookworm)
debianlinux-6.1< linux 6.1.140-1 (bookworm)linux 6.1.140-1 (bookworm)
linuxlinux
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < 2b65060c84ee4d8dc64fae6d2728b528e9e832e12b65060c84ee4d8dc64fae6d2728b528e9e832e1
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < a65ebfed65fa62797ec1f5f1dcf7adb157a2de1ea65ebfed65fa62797ec1f5f1dcf7adb157a2de1e
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < 466d9da267079a8d3b69fa72dfa3a732e1f6dbb5466d9da267079a8d3b69fa72dfa3a732e1f6dbb5
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < c3f37faa71f5d26dd2144b3f2b14525ec8f5e41fc3f37faa71f5d26dd2144b3f2b14525ec8f5e41f
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < 13d67528e1ae4486e9ab24b70122fab104c73c2913d67528e1ae4486e9ab24b70122fab104c73c29
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < 10d901a95f8e766e5aa0bb9a983fb41271f6471810d901a95f8e766e5aa0bb9a983fb41271f64718
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < c8bdfc0297965bb13fa439d36ca9c4f7c8447f0fc8bdfc0297965bb13fa439d36ca9c4f7c8447f0f
linuxlinux>= ca3bf5d47cec8b7614bcb2e9132c40081d6d81db < 8dee308e4c01dea48fc104d37f92d5b58c50b96c8dee308e4c01dea48fc104d37f92d5b58c50b96c
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.140-16.1.140-1
linuxlinux_kernel>= 0 < 6.12.29-16.12.29-1
linuxlinux_kernel>= 0 < 6.12.29-16.12.29-1
linuxlinux_kernel>= 0 < 5.15.0-144.1575.15.0-144.157
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 0 < 6.14.0-24.246.14.0-24.24
linuxlinux_kernel>= 4.7 < 5.4.2945.4.294
linuxlinux_kernel>= 5.11 < 5.15.1825.15.182
linuxlinux_kernel>= 5.16 < 6.1.1386.1.138
linuxlinux_kernel>= 5.5 < 5.10.2385.10.238
linuxlinux_kernel>= 6.13 < 6.14.66.14.6

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH