CVE-2023-53010

Summary

In the Linux kernel, the following vulnerability has been resolved:

bnxt: Do not read past the end of test names

Test names were being concatenated based on a offset beyond the end of the first name, which tripped the buffer overflow detection logic:

detected buffer overflow in strnlen […] Call Trace: bnxt_ethtool_init.cold+0x18/0x18

Refactor struct hwrm_selftest_qlist_output to use an actual array, and adjust the concatenation to use snprintf() rather than a series of strncat() calls.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxeb51365846bc418687af4c4f41b68b6e84cdd449 < cefa85480ac99c0bef5a09daadb48d65fc28e279affected
LinuxLinuxeb51365846bc418687af4c4f41b68b6e84cdd449 < d3e599c090fc6977331150c5f0a69ab8ce87da21affected
LinuxLinux4.12affected
LinuxLinux0 < 4.12unaffected
LinuxLinux6.1.9 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References