We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37927

iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid



Description

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.

Reserved 2025-04-16 | Published 2025-05-20 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before 466d9da267079a8d3b69fa72dfa3a732e1f6dbb5
affected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before c3f37faa71f5d26dd2144b3f2b14525ec8f5e41f
affected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before 13d67528e1ae4486e9ab24b70122fab104c73c29
affected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before 10d901a95f8e766e5aa0bb9a983fb41271f64718
affected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before c8bdfc0297965bb13fa439d36ca9c4f7c8447f0f
affected

ca3bf5d47cec8b7614bcb2e9132c40081d6d81db before 8dee308e4c01dea48fc104d37f92d5b58c50b96c
affected

Default status
affected

4.7
affected

Any version before 4.7
unaffected

5.15.182
unaffected

6.1.138
unaffected

6.6.90
unaffected

6.12.28
unaffected

6.14.6
unaffected

6.15
unaffected

References

git.kernel.org/...c/466d9da267079a8d3b69fa72dfa3a732e1f6dbb5

git.kernel.org/...c/c3f37faa71f5d26dd2144b3f2b14525ec8f5e41f

git.kernel.org/...c/13d67528e1ae4486e9ab24b70122fab104c73c29

git.kernel.org/...c/10d901a95f8e766e5aa0bb9a983fb41271f64718

git.kernel.org/...c/c8bdfc0297965bb13fa439d36ca9c4f7c8447f0f

git.kernel.org/...c/8dee308e4c01dea48fc104d37f92d5b58c50b96c

cve.org (CVE-2025-37927)

nvd.nist.gov (CVE-2025-37927)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37927

Support options

Helpdesk Chat, Email, Knowledgebase