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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2024-11-07T09:31:34.355Z
- **Modified:** 2026-06-17T08:03:44.473Z

## Who should check

- Anyone running Linux \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 7998e7efd1d557af118ac96f48ebc569b929b555; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 8be3e5b0c96beeefe9d5486b96575d104d3e7d17
- Anyone running Linux 6.6

## 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.

## Affected and fixed versions

- Linux: \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 7998e7efd1d557af118ac96f48ebc569b929b555; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 8be3e5b0c96beeefe9d5486b96575d104d3e7d17 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 8be3e5b0c96beeefe9d5486b96575d104d3e7d17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50157.md
Affected: Linux >= 2ad4e6303a6d7518632739eaf67821a3553db1bd, < 7998e7efd1d557af118ac96f48ebc569b929b555; >= 2ad4e6303a6d7518632739eaf67821a3553db1bd, < 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41; >= 2ad4e6303a6d7518632739eaf67821a3553db1bd, < 8be3e5b0c96beeefe9d5486b96575d104d3e7d17; Linux 6.6
Fixed in: Linux 7998e7efd1d557af118ac96f48ebc569b929b555, Linux 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41, Linux 8be3e5b0c96beeefe9d5486b96575d104d3e7d17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50157 being exploited?

There is no confirmed exploitation: CVE-2024-50157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50157?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50157?

Linux \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 7998e7efd1d557af118ac96f48ebc569b929b555; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41; \>= 2ad4e6303a6d7518632739eaf67821a3553db1bd, \< 8be3e5b0c96beeefe9d5486b96575d104d3e7d17; Linux 6.6.

### Is there a fix for CVE-2024-50157?

Yes. Fixed in Linux 7998e7efd1d557af118ac96f48ebc569b929b555, Linux 2fb6b2e82413e401b72dfeacd7a60416fcfc5b41, Linux 8be3e5b0c96beeefe9d5486b96575d104d3e7d17. Upgrade Linux to 8be3e5b0c96beeefe9d5486b96575d104d3e7d17 or later.

### How do I check if I'm affected by CVE-2024-50157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50157>

HTML: <https://flawdb.com/CVE-2024-50157> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50157>
