CVE-2024-43839: bna: adjust 'name' buf size of bna_tcb and bna_ccb structures

Published Aug 17, 2024
·
Updated

bna: adjust 'name' buf size of bnatcb and bnaccb structures

Affected Software

14 affected componentsFixes available
Linux Linux kernel>=2.6.37<6.1.103
Linux Linux kernel>=6.2<6.6.44
Linux Linux kernel>=6.7<6.10.3
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Debian Debian Linux=11.0
Linux Linux kernel>=2.6.37<4.19.320
Linux Linux kernel>=4.20<5.4.282
Linux Linux kernel>=5.5<5.10.224
Linux Linux kernel>=5.11<5.15.165
Linux Linux kernel>=5.16<6.1.103
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft cbl2 kernel 5.15.180.1-1<5.15.167.1-1
5.15.167.1-1
Microsoft cbl2 kernel 5.15.167.1-1<5.15.167.1-1
5.15.167.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.167.1-1
  4. Configuration

    Replace sprintf() with snprintf() when writing into the 'name' buffers of the bna_tcb and bna_ccb structures, and ensure the buffers are sized (in bna_tcb and bna_ccb) to accommodate all possible sprintf() arguments so the first '%s' using bnad->netdev->name cannot exceed the buffer capacity (Svace static analysis finding).

    bna (Linux kernel driver) replace sprintf with snprintf for name formatting = snprintf
  5. Configuration

    Adjust the 'name' buffer size in the bna_tcb and bna_ccb structures so there is enough space to write all possible sprintf() arguments; the issue notes the current 'name' size is 16, but the first '%s' specifier may already need at least 16 characters (bnad->netdev->name), plus additional characters required for other sprintf() arguments.

    bna (Linux kernel driver) adjust 'name' buffer size of bna_tcb and bna_ccb = increase from 16

Event History

Aug 17, 2024
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 1, 2025
Data Sourced
via Ubuntu·12:34 AM
RemedyDescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·04:49 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·04:49 AM
Affected Software
Updated
via Microsoft·04:49 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-43839?

CVE-2024-43839 is considered a high-severity vulnerability due to potential buffer overflow risks in the Linux kernel.

2

How do I fix CVE-2024-43839?

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.

3

Which versions of the Linux kernel are affected by CVE-2024-43839?

CVE-2024-43839 affects Linux kernel versions prior to 5.10.226-1, 6.1.123-1, and others specified in the remediation list.

4

What kind of vulnerability is CVE-2024-43839?

CVE-2024-43839 is a buffer overflow vulnerability that can occur due to insufficient buffer size in certain kernel structures.

5

Is CVE-2024-43839 remotely exploitable?

CVE-2024-43839 may be remotely exploitable depending on how the affected Linux kernel is deployed and configured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203