CVE-2024-43839

bna: adjust 'name' buf size of bna_tcb and bna_ccb structures

No CVSS score yet EPSS 0.25%

Published 17 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-43839

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-43839 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before f121740f69eda4da2de9a20a6687a13593e72540
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before c90b1cd7758fd4839909e838ae195d19f8065d76
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before 6ce46045f9b90d952602e2c0b8886cfadf860bf1
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before ab748dd10d8742561f2980fea08ffb4f0cacfdef
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before b0ff0cd0847b03c0a0abe20cfa900eabcfcb9e43
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before e0f48f51d55fb187400e9787192eda09fa200ff5
affected from 8b230ed8ec96c933047dd0625cf95f739e4939a6, before c9741a03dc8e491e57b95fba0058ab46b7e506da
Other versions: unaffected
Linux
affected 2.6.37
unaffected before 2.6.37
unaffected from 4.19.320 up to and including 4.19.*
unaffected from 5.4.282 up to and including 5.4.*
unaffected from 5.10.224 up to and including 5.10.*
unaffected from 5.15.165 up to and including 5.15.*
unaffected from 6.1.103 up to and including 6.1.*
unaffected from 6.6.44 up to and including 6.6.*
unaffected from 6.10.3 up to and including 6.10.*
unaffected 6.11 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-43839 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-43839

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-43839
trivy image --scanners vuln IMAGE | grep CVE-2024-43839

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-43839 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.