# CVE-2024-50157: RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:34.355Z
- Modified: 2026-06-17T08:03:44.473Z
- Assigned by: Linux

## Description

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

RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop

Driver waits indefinitely for the fifo occupancy to go below a threshold
as soon as the pacing interrupt is received. This can cause soft lockup on
one of the processors, if the rate of DB is very high.

Add a loop count for FPGA and exit the __wait_for_fifo_occupancy_below_th
if the loop is taking more time. Pacing will be continuing until the
occupancy is below the threshold. This is ensured by the checks in
bnxt_re_pacing_timer_exp and further scheduling the work for pacing based
on the fifo occupancy.

(As written by CVE List.)

## Affected

- Linux Linux: from 2ad4e6303a6d7518632739eaf67821a3553db1bd before 7998e7efd1d557af118ac96f48ebc569b929b555; from 2ad4e6303a6d7518632739eaf67821a3553db1bd before 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41; from 2ad4e6303a6d7518632739eaf67821a3553db1bd before 8be3e5b0c96beeefe9d5486b96575d104d3e7d17; 6.6 (not affected: before 6.6; from 6.6.75 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.6 before 6.11.6; 6.12

## References

- <https://git.kernel.org/stable/c/7998e7efd1d557af118ac96f48ebc569b929b555>
- <https://git.kernel.org/stable/c/2fb6b2e82413e401b72dfeacd7a60416fcfc5b41> (patch)
- <https://git.kernel.org/stable/c/8be3e5b0c96beeefe9d5486b96575d104d3e7d17> (patch)

## Sources

- CVE List: [CVE-2024-50157](https://www.cve.org/CVERecord?id=CVE-2024-50157), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50157](https://nvd.nist.gov/vuln/detail/CVE-2024-50157), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50157 · Whole record: https://cve.day/CVE-2024-50157.json · Rebuilt by cve.day 2026-11-25T22:58:47.863Z
