Menu

Star on GitHub · 3.3k

CVE-2024-56640

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix LGR and link use-after-free issue We encountered a LGR/link use-after-free issue, which manifested as the LGR/link…

Published Dec 27, 2024CWE-416EPSS 0.62%

Overview

CVE-2024-56640 is a critical-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. 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: fix LGR and link use-after-free issue

We encountered a LGR/link use-after-free issue, which manifested as

the LGR/link refcnt reaching 0 early and entering the clear process,

making resource access unsafe.

refcount_t: addition on 0; use-after-free.

WARNING: CPU: 14 PID: 107447 at lib/refcount.c:25 refcount_warn_saturate+0x9c/0x140

Workqueue: events smc_lgr_terminate_work [smc]

Call trace:

refcount_warn_saturate+0x9c/0x140

__smc_lgr_terminate.part.45+0x2a8/0x370 [smc]

smc_lgr_terminate_work+0x28/0x30 [smc]

process_one_work+0x1b8/0x420

worker_thread+0x158/0x510

kthread+0x114/0x118

or

refcount_t: underflow; use-after-free.

WARNING: CPU: 6 PID: 93140 at lib/refcount.c:28 refcount_warn_saturate+0xf0/0x140

Workqueue: smc_hs_wq smc_listen_work [smc]

Call trace:

refcount_warn_saturate+0xf0/0x140

smcr_link_put+0x1cc/0x1d8 [smc]

smc_conn_free+0x110/0x1b0 [smc]

smc_conn_abort+0x50/0x60 [s

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-56640?

CVE-2024-56640 is a critical-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-56640?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. 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-56640?

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-56640?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56640 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 CRITICAL CVEs from 2024

View all
LiveWatch live →