{"id":"CVE-2023-53010","state":"PUBLISHED","title":"bnxt: Do not read past the end of test names","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt: Do not read past the end of test names\n\nTest names were being concatenated based on a offset beyond the end of\nthe first name, which tripped the buffer overflow detection logic:\n\n detected buffer overflow in strnlen\n [...]\n Call Trace:\n bnxt_ethtool_init.cold+0x18/0x18\n\nRefactor struct hwrm_selftest_qlist_output to use an actual array,\nand adjust the concatenation to use snprintf() rather than a series of\nstrncat() calls.","publishedAt":"2025-03-27T16:43:40.228Z","updatedAt":"2026-05-11T19:36:51.216Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb51365846bc418687af4c4f41b68b6e84cdd449","status":"affected","lessThan":"cefa85480ac99c0bef5a09daadb48d65fc28e279","versionType":"git"},{"version":"eb51365846bc418687af4c4f41b68b6e84cdd449","status":"affected","lessThan":"d3e599c090fc6977331150c5f0a69ab8ce87da21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c","drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"6.1.9","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c","drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h"]}],"references":["https://git.kernel.org/stable/c/cefa85480ac99c0bef5a09daadb48d65fc28e279","https://git.kernel.org/stable/c/d3e599c090fc6977331150c5f0a69ab8ce87da21"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53010.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53010","state":"PUBLISHED","datePublished":"2025-03-27T16:43:40.228Z","dateUpdated":"2026-05-11T19:36:51.216Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-03-27T16:40:15.748Z"},"containers":{"cna":{"title":"bnxt: Do not read past the end of test names","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt: Do not read past the end of test names\n\nTest names were being concatenated based on a offset beyond the end of\nthe first name, which tripped the buffer overflow detection logic:\n\n detected buffer overflow in strnlen\n [...]\n Call Trace:\n bnxt_ethtool_init.cold+0x18/0x18\n\nRefactor struct hwrm_selftest_qlist_output to use an actual array,\nand adjust the concatenation to use snprintf() rather than a series of\nstrncat() calls."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb51365846bc418687af4c4f41b68b6e84cdd449","status":"affected","lessThan":"cefa85480ac99c0bef5a09daadb48d65fc28e279","versionType":"git"},{"version":"eb51365846bc418687af4c4f41b68b6e84cdd449","status":"affected","lessThan":"d3e599c090fc6977331150c5f0a69ab8ce87da21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c","drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"6.1.9","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c","drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/cefa85480ac99c0bef5a09daadb48d65fc28e279"},{"url":"https://git.kernel.org/stable/c/d3e599c090fc6977331150c5f0a69ab8ce87da21"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:36:51.216Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.1.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}