cve/2024/CVE-2024-47751.md

20 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2025-09-29 21:09:30 +02:00
### [CVE-2024-47751](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47751)
![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=5.16%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=b22dbbb24571c052364f476381dbac110bdca4d5%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=blue)
### Description
In the Linux kernel, the following vulnerability has been resolved:PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port()Within kirin_pcie_parse_port(), the pcie->num_slots is compared topcie->gpio_id_reset size (MAX_PCI_SLOTS) which is correct and would leadto an overflow.Thus, fix condition to pcie->num_slots + 1 >= MAX_PCI_SLOTS and movepcie->num_slots increment below the if-statement to avoid out-of-boundsarray access.Found by Linux Verification Center (linuxtesting.org) with SVACE.[kwilczynski: commit log]
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds