CVE-2024-43839
bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
Reported by linux · Published August 17, 2024
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.
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.10.3, 6.6.44, 6.1.103, 5.15.165, 5.10.224, 5.4.282, 4.19.320 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8b230ed8ec96c933047dd0625cf95f739e4939a6, 8b230ed8ec96c933047dd0625cf95f739e4939a6, 8b230ed8ec96c933047dd0625cf95f739e4939a6 |
| Linux | Linux | 2.6.37, 0, 4.19.320 |
| linux | linux_kernel | 2.6.37, 2.6.37, 2.6.37 |
| Linux | Linux | 8b230ed8ec96c933047dd0625cf95f739e4939a6, 8b230ed8ec96c933047dd0625cf95f739e4939a6, 8b230ed8ec96c933047dd0625cf95f739e4939a6 |
Timeline
- Aug 17, 2024 CVE Published
- Aug 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 5, 2026 Security Advisory (141 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (127 in total, the first dated here)
- May 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-43839
vulnetix vdb fixes CVE-2024-43839
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-43839/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart