{"id":"CVE-2024-50157","state":"PUBLISHED","title":"RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop\n\nDriver waits indefinitely for the fifo occupancy to go below a threshold\nas soon as the pacing interrupt is received. This can cause soft lockup on\none of the processors, if the rate of DB is very high.\n\nAdd a loop count for FPGA and exit the __wait_for_fifo_occupancy_below_th\nif the loop is taking more time. Pacing will be continuing until the\noccupancy is below the threshold. This is ensured by the checks in\nbnxt_re_pacing_timer_exp and further scheduling the work for pacing based\non the fifo occupancy.","publishedAt":"2024-11-07T09:31:34.355Z","updatedAt":"2026-05-11T20:46:32.752Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"7998e7efd1d557af118ac96f48ebc569b929b555","versionType":"git"},{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"2fb6b2e82413e401b72dfeacd7a60416fcfc5b41","versionType":"git"},{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"8be3e5b0c96beeefe9d5486b96575d104d3e7d17","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.75","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/main.c"]}],"references":["https://git.kernel.org/stable/c/7998e7efd1d557af118ac96f48ebc569b929b555","https://git.kernel.org/stable/c/2fb6b2e82413e401b72dfeacd7a60416fcfc5b41","https://git.kernel.org/stable/c/8be3e5b0c96beeefe9d5486b96575d104d3e7d17"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50157","state":"PUBLISHED","datePublished":"2024-11-07T09:31:34.355Z","dateUpdated":"2026-05-11T20:46:32.752Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.960Z"},"containers":{"cna":{"title":"RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop\n\nDriver waits indefinitely for the fifo occupancy to go below a threshold\nas soon as the pacing interrupt is received. This can cause soft lockup on\none of the processors, if the rate of DB is very high.\n\nAdd a loop count for FPGA and exit the __wait_for_fifo_occupancy_below_th\nif the loop is taking more time. Pacing will be continuing until the\noccupancy is below the threshold. This is ensured by the checks in\nbnxt_re_pacing_timer_exp and further scheduling the work for pacing based\non the fifo occupancy."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"7998e7efd1d557af118ac96f48ebc569b929b555","versionType":"git"},{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"2fb6b2e82413e401b72dfeacd7a60416fcfc5b41","versionType":"git"},{"version":"2ad4e6303a6d7518632739eaf67821a3553db1bd","status":"affected","lessThan":"8be3e5b0c96beeefe9d5486b96575d104d3e7d17","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.75","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/bnxt_re/main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7998e7efd1d557af118ac96f48ebc569b929b555"},{"url":"https://git.kernel.org/stable/c/2fb6b2e82413e401b72dfeacd7a60416fcfc5b41"},{"url":"https://git.kernel.org/stable/c/8be3e5b0c96beeefe9d5486b96575d104d3e7d17"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:46:32.752Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.11.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}