RDMA/counter: Fix num_counters leak on bind_qp failure in alloc_and_bind()
CVE-2026-97477 is fixed in 35 products on 1 platform, first by DEBIAN-CVE-2026-97477, released September 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| bpftool6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| dtb-aarch64 · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-64kb · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-azure · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-azure · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-azure · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-default · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-default · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24197-1 | Nov 7, 2026 |
| kernel-default-base · opensuse-leap 16.0 | 6.12.0-160000.39.1.160000.2.25 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.84.1.150700.17.47.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.39.1.160000.2.26 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-docs · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-docs · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-kvmsmall · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-livepatch-6.18.54-121.166 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel-livepatch-SLE15-SP7-RT_Update_21 · sles 15.7 | 1-150700.1.3.1 | SUSE-SU-2026:4640-1 | Nov 7, 2026 |
| kernel-livepatch-SLE15-SP7_Update_22 · sles 15.7 | 1-150700.15.3.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-obs-build · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-obs-qa · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-rt · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-source · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-source · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-syms · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-syms · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-zfcpdump · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.84.1 | SUSE-SU-2026:4706-1 | Nov 7, 2026 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-aarch64 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-x86_64 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-devel · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-headers · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-modules-extra · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-modules-extra-common · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools-devel · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.115-2 | DEBIAN-CVE-2026-97477 | Sep 24, 2026 |
| linux · Debian 14 | 7.2.6-1 | DEBIAN-CVE-2026-97477 | Sep 24, 2026 |
| microvm-kernel6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| perf6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| perf6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| python3-perf6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| python3-perf6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.