First published: Sat Aug 17 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
debian/linux | <=5.10.223-1 | 5.10.226-1 6.1.123-1 6.1.119-1 6.12.10-1 6.12.11-1 |
debian/linux-6.1 | 6.1.119-1~deb11u1 | |
Linux Kernel | >=2.6.37<6.1.103 | |
Linux Kernel | >=6.2<6.6.44 | |
Linux Kernel | >=6.7<6.10.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-43839 is considered a high-severity vulnerability due to potential buffer overflow risks in the Linux kernel.
To fix CVE-2024-43839, update your Linux kernel to version 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.
CVE-2024-43839 affects Linux kernel versions prior to 5.10.226-1, 6.1.123-1, and others specified in the remediation list.
CVE-2024-43839 is a buffer overflow vulnerability that can occur due to insufficient buffer size in certain kernel structures.
CVE-2024-43839 may be remotely exploitable depending on how the affected Linux kernel is deployed and configured.