Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-97477

UNSCOREDEPSS 6%

RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind()

Mitigation

  • Upgrade Linux to 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd or later.

Who should check

  • Anyone running Linux >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4517686789b404827591c52f79e9a57822371ca0; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 1bcdeddddffadff9993657f6b0e5535d66ebd10f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < da95cb016812c0e012ea839f191926e35ca8f57f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd
  • Anyone running Linux 5.11

Vulnerability facts

Affected
Linux >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4517686789b404827591c52f79e9a57822371ca0; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 1bcdeddddffadff9993657f6b0e5535d66ebd10f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < da95cb016812c0e012ea839f191926e35ca8f57f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd; Linux 5.11
Fixed in
Linux 4517686789b404827591c52f79e9a57822371ca0, Linux 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a, Linux 1bcdeddddffadff9993657f6b0e5535d66ebd10f, Linux 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind() When __rdma_counter_bind_qp() fails in alloc_and_bind(), the error path jumps to err_mode which frees the counter without decrementing port_counter->num_counters. The only place that decrements is rdma_counter_free(), which is unreachable since the counter was never successfully bound. This leak accumulates across repeated failures, permanently preventing the port from switching to AUTO mode (-EBUSY in __counter_set_mode()) and blocking the MANUAL→NONE auto-revert in rdma_counter_free(). When the mode was NONE before the call, the MANUAL mode set by __counter_set_mode() also leaks since the revert logic is never reached. Add an err_bind label between the num_counters increment and the existing err_mode label. It decrements num_counters and mirrors the MANUAL→NONE revert from rdma_counter_free(), ensuring the port state is fully restored on bind failure.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4517686789b404827591c52f79e9a57822371ca0; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 1bcdeddddffadff9993657f6b0e5535d66ebd10f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < da95cb016812c0e012ea839f191926e35ca8f57f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd—cvelist
Linux5.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-97477. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97477.md
Affected: Linux >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4517686789b404827591c52f79e9a57822371ca0; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 1bcdeddddffadff9993657f6b0e5535d66ebd10f; >= 8bc205eff3056a9ed385093…
Fixed in: Linux 4517686789b404827591c52f79e9a57822371ca0, Linux 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a, Linux 1bcdeddddffadff9993657f6b0e5535d66ebd10f, Linux 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd

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.

References

FAQ

Is CVE-2026-97477 being exploited?

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

How serious is CVE-2026-97477?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-97477?

Linux >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4517686789b404827591c52f79e9a57822371ca0; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 1bcdeddddffadff9993657f6b0e5535d66ebd10f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < da95cb016812c0e012ea839f191926e35ca8f57f; >= 8bc205eff3056a9ed3850937cdd2192f05e6d3cb, < 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd; Linux 5.11.

Is there a fix for CVE-2026-97477?

Yes. Fixed in Linux 4517686789b404827591c52f79e9a57822371ca0, Linux 7c9fee40fc8d8d928f44e99bc6e6adf93f9f2c2a, Linux 1bcdeddddffadff9993657f6b0e5535d66ebd10f, Linux 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd. Upgrade Linux to 4fbc8230009f5b1bcd13cc74c5a6a43ddba141fd or later.

How do I check if I'm affected by CVE-2026-97477?

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.

Sponsors