Skip to main content
Network Thinking Solutions Logo

CVE-2025-37927

Linux kernel: iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid

All CVEs
CVE-2025-37927Published 5/20/2025

Linux kernel: iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/20/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.7, < 5.4.294

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.238

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.182

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.138

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.90

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.28

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.14.6

Verify advisory

Source
linux kernel
linux
6.15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < 2b65060c84ee4d8dc64fae6d2728b528e9e832e1

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < a65ebfed65fa62797ec1f5f1dcf7adb157a2de1e

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < 466d9da267079a8d3b69fa72dfa3a732e1f6dbb5

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < c3f37faa71f5d26dd2144b3f2b14525ec8f5e41f

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < 13d67528e1ae4486e9ab24b70122fab104c73c29

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < 10d901a95f8e766e5aa0bb9a983fb41271f64718

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < c8bdfc0297965bb13fa439d36ca9c4f7c8447f0f

Verify advisory

Source
Linux
Linux
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db, < 8dee308e4c01dea48fc104d37f92d5b58c50b96c

Verify advisory

Source
Linux
Linux
4.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.