CVE-2024-47751

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47751
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47751.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47751
Downstream
Related
Published
2024-10-21T13:15:05Z
Modified
2025-08-09T19:01:28Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

PCI: kirin: Fix buffer overflow in kirinpcieparse_port()

Within kirinpcieparseport(), the pcie->numslots is compared to pcie->gpioidreset size (MAXPCISLOTS) which is correct and would lead to an overflow.

Thus, fix condition to pcie->numslots + 1 >= MAXPCISLOTS and move pcie->numslots increment below the if-statement to avoid out-of-bounds array access.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

[kwilczynski: commit log]

References

Affected packages