2084AI Security Observatory

CVE

CVE-2024-43839

CVE-2024-43839HIGH 7.8EPSS 17%

CNA 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 versions

All Linux kernel vulnerabilities →

  • ≥ 6.7, < 6.10.3Fixed in 6.10.3
  • ≥ 6.2, < 6.6.44Fixed in 6.6.44
  • ≥ 5.16, < 6.1.103Fixed in 6.1.103
  • ≥ 5.11, < 5.15.165Fixed in 5.15.165
  • ≥ 5.5, < 5.10.224Fixed in 5.10.224
  • ≥ 4.20, < 5.4.282Fixed in 5.4.282
  • ≥ 2.6.37, < 4.19.320Fixed in 4.19.320

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.