CVE-2024-53215
Vulnerability from cvelistv5
Published
2024-12-27 13:50
Modified
2024-12-27 13:50
Severity ?
EPSS score ?
Summary
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.
References
Impacted products
Vendor | Product | Version | |||||
---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 Version: 1e7e55731628c90d8c701c45f9c3a3b8718840d6 |
||||
|
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "net/sunrpc/xprtrdma/svc_rdma.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "a12c897adf40b6e2b4a56e6912380c31bd7b2479", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" }, { "lessThan": "94d2d6d398706ab7218a26d61e12919c4b498e09", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" }, { "lessThan": "1c9a99c89e45b22eb556fd2f3f729f2683f247d5", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" }, { "lessThan": "ebf47215d46992caea660ec01cd618005d9e687a", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" }, { "lessThan": "20322edcbad82a60321a8615a99ca73a9611115f", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" }, { "lessThan": "ce89e742a4c12b20f09a43fec1b21db33f2166cd", "status": "affected", "version": "1e7e55731628c90d8c701c45f9c3a3b8718840d6", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "net/sunrpc/xprtrdma/svc_rdma.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "5.12" }, { "lessThan": "5.12", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.174", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.120", "versionType": "semver" }, { "lessThanOrEqual": "6.6.*", "status": "unaffected", "version": "6.6.64", "versionType": "semver" }, { "lessThanOrEqual": "6.11.*", "status": "unaffected", "version": "6.11.11", "versionType": "semver" }, { "lessThanOrEqual": "6.12.*", "status": "unaffected", "version": "6.12.2", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.13-rc1", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()\n\nThere\u0027s 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 \u003cTASK\u003e\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 \u003c/TASK\u003e\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\u0027percpu_counters\u0027 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." } ], "providerMetadata": { "dateUpdated": "2024-12-27T13:50:00.688Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/a12c897adf40b6e2b4a56e6912380c31bd7b2479" }, { "url": "https://git.kernel.org/stable/c/94d2d6d398706ab7218a26d61e12919c4b498e09" }, { "url": "https://git.kernel.org/stable/c/1c9a99c89e45b22eb556fd2f3f729f2683f247d5" }, { "url": "https://git.kernel.org/stable/c/ebf47215d46992caea660ec01cd618005d9e687a" }, { "url": "https://git.kernel.org/stable/c/20322edcbad82a60321a8615a99ca73a9611115f" }, { "url": "https://git.kernel.org/stable/c/ce89e742a4c12b20f09a43fec1b21db33f2166cd" } ], "title": "svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()", "x_generator": { "engine": "bippy-5f407fcff5a0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2024-53215", "datePublished": "2024-12-27T13:50:00.688Z", "dateReserved": "2024-11-19T17:17:25.023Z", "dateUpdated": "2024-12-27T13:50:00.688Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-53215\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:29.467\",\"lastModified\":\"2024-12-27T14:15:29.467\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsvcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()\\n\\nThere\u0027s 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 \u003cTASK\u003e\\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 \u003c/TASK\u003e\\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\u0027percpu_counters\u0027 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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1c9a99c89e45b22eb556fd2f3f729f2683f247d5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/20322edcbad82a60321a8615a99ca73a9611115f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94d2d6d398706ab7218a26d61e12919c4b498e09\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a12c897adf40b6e2b4a56e6912380c31bd7b2479\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ce89e742a4c12b20f09a43fec1b21db33f2166cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ebf47215d46992caea660ec01cd618005d9e687a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.