# CVE-2024-43839: bna: adjust 'name' buf size of bna\_tcb and bna\_ccb structures

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 22, 2026-11-30)
- **CWE:** CWE-787
- **Published:** 2024-08-17T09:21:55.085Z
- **Modified:** 2026-06-17T07:51:48.850Z

## Who should check

- Anyone running Linux \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< f121740f69eda4da2de9a20a6687a13593e72540; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c90b1cd7758fd4839909e838ae195d19f8065d76; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6ce46045f9b90d952602e2c0b8886cfadf860bf1; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< ab748dd10d8742561f2980fea08ffb4f0cacfdef; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< b0ff0cd0847b03c0a0abe20cfa900eabcfcb9e43; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< e0f48f51d55fb187400e9787192eda09fa200ff5; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c9741a03dc8e491e57b95fba0058ab46b7e506da
- Anyone running Linux 2.6.37

## 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.

## Affected and fixed versions

- Linux: \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< f121740f69eda4da2de9a20a6687a13593e72540; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c90b1cd7758fd4839909e838ae195d19f8065d76; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6ce46045f9b90d952602e2c0b8886cfadf860bf1; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< ab748dd10d8742561f2980fea08ffb4f0cacfdef; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< b0ff0cd0847b03c0a0abe20cfa900eabcfcb9e43; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< e0f48f51d55fb187400e9787192eda09fa200ff5; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c9741a03dc8e491e57b95fba0058ab46b7e506da (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43839. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43839.md
Affected: Linux >= 8b230ed8ec96c933047dd0625cf95f739e4939a6, < f121740f69eda4da2de9a20a6687a13593e72540; >= 8b230ed8ec96c933047dd0625cf95f739e4939a6, < c90b1cd7758fd4839909e838ae195d19f8065d76; >= 8b230ed8ec96c933047dd0625cf95f739e4939a6, < 6ce46045f9b90d952602e2c0b8886cfadf860bf1; >= 8b230ed8ec96c933047dd06…
Fixed in: Linux 6ce46045f9b90d952602e2c0b8886cfadf860bf1, Linux 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43839 being exploited?

There is no confirmed exploitation: CVE-2024-43839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2024-43839?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43839?

Linux \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< f121740f69eda4da2de9a20a6687a13593e72540; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c90b1cd7758fd4839909e838ae195d19f8065d76; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6ce46045f9b90d952602e2c0b8886cfadf860bf1; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< ab748dd10d8742561f2980fea08ffb4f0cacfdef; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< b0ff0cd0847b03c0a0abe20cfa900eabcfcb9e43; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< e0f48f51d55fb187400e9787192eda09fa200ff5; \>= 8b230ed8ec96c933047dd0625cf95f739e4939a6, \< c9741a03dc8e491e57b95fba0058ab46b7e506da; Linux 2.6.37.

### Is there a fix for CVE-2024-43839?

Yes. Fixed in Linux 6ce46045f9b90d952602e2c0b8886cfadf860bf1, Linux 6d20c4044ab4d0e6a99aa35853e66f0aed5589e3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-43839?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f121740f69eda4da2de9a20a6687a13593e72540>
- patch: <https://git.kernel.org/stable/c/c90b1cd7758fd4839909e838ae195d19f8065d76>
- patch: <https://git.kernel.org/stable/c/6ce46045f9b90d952602e2c0b8886cfadf860bf1>
- patch: <https://git.kernel.org/stable/c/6d20c4044ab4d0e6a99aa35853e66f0aed5589e3>
- patch: <https://git.kernel.org/stable/c/ab748dd10d8742561f2980fea08ffb4f0cacfdef>
- patch: <https://git.kernel.org/stable/c/b0ff0cd0847b03c0a0abe20cfa900eabcfcb9e43>
- patch: <https://git.kernel.org/stable/c/e0f48f51d55fb187400e9787192eda09fa200ff5>
- patch: <https://git.kernel.org/stable/c/c9741a03dc8e491e57b95fba0058ab46b7e506da>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43839>

HTML: <https://flawdb.com/CVE-2024-43839> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43839>
