# CVE-2024-53215: svcrdma: fix miss destroy percpu\_counter in svc\_rdma\_proc\_init()

> 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, CNA) `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-28)
- **CWE:** CWE-401
- **Published:** 2024-12-27T13:50:00.688Z
- **Modified:** 2026-06-17T08:08:36.800Z

## Who should check

- Anyone running Linux \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< a12c897adf40b6e2b4a56e6912380c31bd7b2479; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 94d2d6d398706ab7218a26d61e12919c4b498e09; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 1c9a99c89e45b22eb556fd2f3f729f2683f247d5; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ebf47215d46992caea660ec01cd618005d9e687a; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 20322edcbad82a60321a8615a99ca73a9611115f; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ce89e742a4c12b20f09a43fec1b21db33f2166cd
- Anyone running Linux 5.12

## Description

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

svcrdma: fix miss destroy percpu\_counter in svc\_rdma\_proc\_init()

There's issue as follows:
RPC: Registered rdma transport module.
RPC: Registered rdma backchannel transport module.
RPC: Unregistered rdma transport module.
RPC: Unregistered rdma backchannel transport module.
BUG: unable to handle page fault for address: fffffbfff80c609a
PGD 123fee067 P4D 123fee067 PUD 123fea067 PMD 10c624067 PTE 0
Oops: Oops: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
RIP: 0010:percpu\_counter\_destroy\_many+0xf7/0x2a0
Call Trace:
 \<TASK\>
 \_\_die+0x1f/0x70
 page\_fault\_oops+0x2cd/0x860
 spurious\_kernel\_fault+0x36/0x450
 do\_kern\_addr\_fault+0xca/0x100
 exc\_page\_fault+0x128/0x150
 asm\_exc\_page\_fault+0x26/0x30
 percpu\_counter\_destroy\_many+0xf7/0x2a0
 mmdrop+0x209/0x350
 finish\_task\_switch.isra.0+0x481/0x840
 schedule\_tail+0xe/0xd0
 ret\_from\_fork+0x23/0x80
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

If register\_sysctl() return NULL, then svc\_rdma\_proc\_cleanup() will not
destroy the percpu counters which init in svc\_rdma\_proc\_init().
If CONFIG\_HOTPLUG\_CPU is enabled, residual nodes may be in the
'percpu\_counters' list. The above issue may occur once the module is
removed. If the CONFIG\_HOTPLUG\_CPU configuration is not enabled, memory
leakage occurs.
To solve above issue just destroy all percpu counters when
register\_sysctl() return NULL.

## Affected and fixed versions

- Linux: \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< a12c897adf40b6e2b4a56e6912380c31bd7b2479; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 94d2d6d398706ab7218a26d61e12919c4b498e09; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 1c9a99c89e45b22eb556fd2f3f729f2683f247d5; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ebf47215d46992caea660ec01cd618005d9e687a; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 20322edcbad82a60321a8615a99ca73a9611115f; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ce89e742a4c12b20f09a43fec1b21db33f2166cd (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53215.md
Affected: Linux >= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < a12c897adf40b6e2b4a56e6912380c31bd7b2479; >= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < 94d2d6d398706ab7218a26d61e12919c4b498e09; >= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < 1c9a99c89e45b22eb556fd2f3f729f2683f247d5; >= df971cd853c05778ae1175e…
Fixed in: Linux 94d2d6d398706ab7218a26d61e12919c4b498e09, Linux 1c9a99c89e45b22eb556fd2f3f729f2683f247d5, Linux 20322edcbad82a60321a8615a99ca73a9611115f

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-53215 being exploited?

There is no confirmed exploitation: CVE-2024-53215 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-28).

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

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

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

Linux \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< a12c897adf40b6e2b4a56e6912380c31bd7b2479; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 94d2d6d398706ab7218a26d61e12919c4b498e09; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 1c9a99c89e45b22eb556fd2f3f729f2683f247d5; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ebf47215d46992caea660ec01cd618005d9e687a; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< 20322edcbad82a60321a8615a99ca73a9611115f; \>= df971cd853c05778ae1175e8aeb80a04bb9d4be5, \< ce89e742a4c12b20f09a43fec1b21db33f2166cd; Linux 5.12.

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

Yes. Fixed in Linux 94d2d6d398706ab7218a26d61e12919c4b498e09, Linux 1c9a99c89e45b22eb556fd2f3f729f2683f247d5, Linux 20322edcbad82a60321a8615a99ca73a9611115f. No fix listed yet: follow the vendor advisory.

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

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/a12c897adf40b6e2b4a56e6912380c31bd7b2479>
- patch: <https://git.kernel.org/stable/c/94d2d6d398706ab7218a26d61e12919c4b498e09>
- patch: <https://git.kernel.org/stable/c/1c9a99c89e45b22eb556fd2f3f729f2683f247d5>
- patch: <https://git.kernel.org/stable/c/ebf47215d46992caea660ec01cd618005d9e687a>
- patch: <https://git.kernel.org/stable/c/20322edcbad82a60321a8615a99ca73a9611115f>
- patch: <https://git.kernel.org/stable/c/ce89e742a4c12b20f09a43fec1b21db33f2166cd>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

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

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