CVE-2024-43839
Last modified
CVE-2024-43839 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bna: adjust 'name' buf size of bna_tcb and bna_ccb structures To have enough space to write all possible sprintf() args. Currently 'name' size is 16, but the first '%s' specifier may already need at least 16 characters, since 'bnad->netdev->name' is used there. For '%d' specifiers, assume that they require: * 1 char for 'tx_id + tx_info->tcb[i]->id' sum, BNAD_MAX_TXQ_PER_TX is 8 * 2 chars for 'rx_id + rx_info->rx_ctrl[i].ccb->id', BNAD_MAX_RXP_PER_RX is 16 And replace sprintf with snprintf. Detected using the static analysis tool - Svace.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bna: adjust 'name' buf size of bna_tcb and bna_ccb structures To have enough space to write all possible sprintf() args. Currently 'name' size is 16, but the first '%s' specifier may already need at least 16 characters, since 'bnad->netdev->name' is used there. For '%d' specifiers, assume that they require: * 1 char for 'tx_id + tx_info->tcb[i]->id' sum, BNAD_MAX_TXQ_PER_TX is 8 * 2 chars for 'rx_id + rx_info->rx_ctrl[i].ccb->id', BNAD_MAX_RXP_PER_RX is 16 And replace sprintf with snprintf. Detected using the static analysis tool - Svace.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Linux | Linux Kernel | >= 2.6.37, < 4.19.320 |
| Linux | Linux Kernel | >= 4.20, < 5.4.282 |
| Linux | Linux Kernel | >= 5.5, < 5.10.224 |
| Linux | Linux Kernel | >= 5.11, < 5.15.165 |
| Linux | Linux Kernel | >= 5.16, < 6.1.103 |
| Linux | Linux Kernel | >= 6.2, < 6.6.44 |
| Linux | Linux Kernel | >= 6.7, < 6.10.3 |
References
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-43839?
How severe is CVE-2024-43839?
How do I fix CVE-2024-43839?
Are you affected by CVE-2024-43839?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
