PT-2024-30700 · Linux+6 · Linux Kernel+6
Published
2024-07-12
·
Updated
2025-09-29
·
CVE-2024-43839
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.10.2
Description
The issue is related to a buffer overflow vulnerability in the Linux kernel, specifically in the bna driver. The vulnerability occurs due to insufficient space in the 'name' buffer of the bna tcb and bna ccb structures to write all possible sprintf() arguments. The 'name' size is currently 16, but the first '%s' specifier may already need at least 16 characters, since 'bnad->netdev->name' is used. For '%d' specifiers, it is assumed that they require 1 char for 'tx id + tx info->tcb[i]->id' sum and 2 chars for 'rx id + rx info->rx ctrl[i].ccb->id'. The vulnerability is resolved by replacing sprintf with snprintf.
Recommendations
To resolve the issue, upgrade the Linux kernel to version 6.10.2 or later. As a temporary workaround, consider restricting access to the bna driver until a patch is available.
Exploit
Fix
Memory Corruption
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu