CVE-2024-47751
PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port()
Reported by linux · Published October 21, 2024
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 to pcie->gpio_id_reset size (MAX_PCI_SLOTS) which is correct and would lead to an overflow. Thus, fix condition to pcie->num_slots + 1 >= MAX_PCI_SLOTS and move pcie->num_slots increment below the if-statement to avoid out-of-bounds array access. Found by Linux Verification Center (linuxtesting.org) with SVACE. [kwilczynski: commit log]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.11.2, 6.10.13, 6.6.54, 6.1.113 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b22dbbb24571c052364f476381dbac110bdca4d5, b22dbbb24571c052364f476381dbac110bdca4d5, b22dbbb24571c052364f476381dbac110bdca4d5 |
| Linux | Linux | 5.16, 0, 6.1.113 |
| linux | linux_kernel | 5.16, 5.16, 5.16 |
| Linux | Linux | *, *, * |
Timeline
- Oct 21, 2024 Coalition ESS Score (7 in total, the first dated here)
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 3, 2026 Security Advisory (434 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (367 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47751
vulnetix vdb fixes CVE-2024-47751
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47751/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart