Menu

Star on GitHub · 3.3k

CVE-2024-56641

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net/smc: initialize close_work early to avoid warning We encountered a warning that close_work was canceled before initialization.

Published Dec 27, 2024EPSS 0.52%

Overview

CVE-2024-56641 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

net/smc: initialize close_work early to avoid warning

We encountered a warning that close_work was canceled before

initialization.

WARNING: CPU: 7 PID: 111103 at kernel/workqueue.c:3047 __flush_work+0x19e/0x1b0

Workqueue: events smc_lgr_terminate_work [smc]

RIP: 0010:__flush_work+0x19e/0x1b0

Call Trace:

? __wake_up_common+0x7a/0x190

? work_busy+0x80/0x80

__cancel_work_timer+0xe3/0x160

smc_close_cancel_work+0x1a/0x70 [smc]

smc_close_active_abort+0x207/0x360 [smc]

__smc_lgr_terminate.part.38+0xc8/0x180 [smc]

process_one_work+0x19e/0x340

worker_thread+0x30/0x370

? process_one_work+0x340/0x340

kthread+0x117/0x130

? __kthread_cancel_work+0x50/0x50

ret_from_fork+0x22/0x30

This is because when smc_close_cancel_work is triggered, e.g. the RDMA

driver is rmmod and the LGR is terminated, the conn->close_work is

flushed before initialization, resulting in WARN_ON(!work->func).

__sm

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-56641?

CVE-2024-56641 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-56641?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-56641?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56641?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56641 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →