{"id":"CVE-2024-53215","published":"2024-12-27T13:50:00Z","modified":"2026-05-11T20:53:04Z","title":"svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()\n\nThere's issue as follows:\nRPC: Registered rdma transport module.\nRPC: Registered rdma backchannel transport module.\nRPC: Unregistered rdma transport module.\nRPC: Unregistered rdma backchannel transport module.\nBUG: unable to handle page fault for address: fffffbfff80c609a\nPGD 123fee067 P4D 123fee067 PUD 123fea067 PMD 10c624067 PTE 0\nOops: Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI\nRIP: 0010:percpu_counter_destroy_many+0xf7/0x2a0\nCall Trace:\n <TASK>\n __die+0x1f/0x70\n page_fault_oops+0x2cd/0x860\n spurious_kernel_fault+0x36/0x450\n do_kern_addr_fault+0xca/0x100\n exc_page_fault+0x128/0x150\n asm_exc_page_fault+0x26/0x30\n percpu_counter_destroy_many+0xf7/0x2a0\n mmdrop+0x209/0x350\n finish_task_switch.isra.0+0x481/0x840\n schedule_tail+0xe/0xd0\n ret_from_fork+0x23/0x80\n ret_from_fork_asm+0x1a/0x30\n </TASK>\n\nIf register_sysctl() return NULL, then svc_rdma_proc_cleanup() will not\ndestroy the percpu counters which init in svc_rdma_proc_init().\nIf CONFIG_HOTPLUG_CPU is enabled, residual nodes may be in the\n'percpu_counters' list. The above issue may occur once the module is\nremoved. If the CONFIG_HOTPLUG_CPU configuration is not enabled, memory\nleakage occurs.\nTo solve above issue just destroy all percpu counters when\nregister_sysctl() return NULL.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00301,"percentile":0.15245,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/a12c897adf40b6e2b4a56e6912380c31bd7b2479","tags":[]},{"url":"https://git.kernel.org/stable/c/94d2d6d398706ab7218a26d61e12919c4b498e09","tags":[]},{"url":"https://git.kernel.org/stable/c/1c9a99c89e45b22eb556fd2f3f729f2683f247d5","tags":[]},{"url":"https://git.kernel.org/stable/c/ebf47215d46992caea660ec01cd618005d9e687a","tags":[]},{"url":"https://git.kernel.org/stable/c/20322edcbad82a60321a8615a99ca73a9611115f","tags":[]},{"url":"https://git.kernel.org/stable/c/ce89e742a4c12b20f09a43fec1b21db33f2166cd","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.05},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < a12c897adf40b6e2b4a56e6912380c31bd7b2479",">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < 94d2d6d398706ab7218a26d61e12919c4b498e09",">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < 1c9a99c89e45b22eb556fd2f3f729f2683f247d5",">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < ebf47215d46992caea660ec01cd618005d9e687a",">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < 20322edcbad82a60321a8615a99ca73a9611115f",">= df971cd853c05778ae1175e8aeb80a04bb9d4be5, < ce89e742a4c12b20f09a43fec1b21db33f2166cd"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:03:29.887526Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51887","exploited":false,"provenance":"source"}}