cve.bz

CVE-2024-56641 linux linux kernel

5.5 mediumEPSS 0.5%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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). __smc_lgr_terminate | smc_connect_{rdma|ism} ------------------------------------------------------------- | smc_conn_create | \- smc_lgr_register_conn for conn in lgr->conns_all | \- smc_conn_kill | \- smc_close_active_abort | \- smc_close_cancel_work | \- cancel_work_sync | \- __flush_work | (close_work) | | smc_close_init | \- INIT_WORK(&close_work) So fix this by initializing close_work before establishing the connection.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-56641 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-56641?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-56641?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-56641 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-56641

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-56641](https://cve.bz/cve/badge/CVE-2024-56641.svg)](https://cve.bz/cve/CVE-2024-56641)

HTML:

<a href="https://cve.bz/cve/CVE-2024-56641"><img src="https://cve.bz/cve/badge/CVE-2024-56641.svg" alt="CVE-2024-56641"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.12 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.191
Linux6.66.6.66
Linux6.126.12.5
Linuxlater releases6.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.192-1DEBIAN-CVE-2024-56641
Debian13, 14linux6.12.5-1DEBIAN-CVE-2024-56641
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-56641
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-56641
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-56641
Ubuntu22.04:LTSlinux, linux-aws, linux-gcp and 47 moreno fix listedUBUNTU-CVE-2024-56641
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1027.29~22.04.1UBUNTU-CVE-2024-56641 USN-7451-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1027.32~22.04.1UBUNTU-CVE-2024-56641 USN-7449-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1028.30~22.04.1UBUNTU-CVE-2024-56641 USN-7452-1
Ubuntu22.04:LTSlinux-hwe-6.86.8.0-58.60~22.04.1UBUNTU-CVE-2024-56641 USN-7449-2
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1024.24~22.04.1UBUNTU-CVE-2024-56641
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1026.29~22.04.1UBUNTU-CVE-2024-56641 USN-7449-1
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1024.25~22.04.1UBUNTU-CVE-2024-56641 USN-7449-1
Ubuntu22.04:LTSlinux-riscv-6.8, linux-lowlatency-hwe-6.86.8.0-58.60.1~22.04.1UBUNTU-CVE-2024-56641 USN-7449-1
34 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.38.1SUSE-SU-2025:0499-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.247.1SUSE-SU-2025:0565-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.258.1SUSE-SU-2025:01600-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_651-8.3.1SUSE-SU-2025:0565-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_681-8.3.1SUSE-SU-2025:01600-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_111-150600.1.3.2SUSE-SU-2025:01964-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_81-150600.1.3.1SUSE-SU-2025:0557-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_111-150600.13.3.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_81-150600.13.3.2SUSE-SU-2025:0499-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_11-150700.1.3.1SUSE-SU-2025:01972-1
40 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.38.1SUSE-SU-2025:0499-1
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.26.1SUSE-SU-2025:0428-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.37.1SUSE-SU-2025:01707-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.38.1.150600.12.16.2SUSE-SU-2025:0499-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.50.1.150600.12.22.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.26.1SUSE-SU-2025:0557-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.39.1SUSE-SU-2025:01964-1
Azure Linux2kernelno fix listedAZL-68220
Alpaquita23linux-lts6.1.191-r0BELL-CVE-2024-56641
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2024-56641
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2024-56641

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Enterprise Linux 9 is affected by a low-severity flaw in the Linux kernel's SMC (Shared Memory Communications over RDMA) implementation. When an SMC link group is terminated while a connection is still being established -- for example, when the RDMA driver module is removed (rmmod) and the link group is terminated -- smc_close_cancel_work can call cancel_work_sync on a connection's close_work work item before smc_close_init has initialized it, causing the workqueue subsystem's __flush_work to trigger WARN_ON(!work->func) and emit a kernel WARNING. The verified consequence is limited to this kernel warning; there is no evidence of memory corruption or of any impact on confidentiality or integrity, so Red Hat rates this flaw Low severity (CVSS 3.3, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L). This is lower than the upstream CVE record's rating, which uses a network attack vector that the upstream fix analysis does not support: triggering the issue requires local actions such as unloading the RDMA driver, and the result is only a warning. In Red Hat Enterprise Linux 9, the kernel and kernel-rt components are affected and the fix is deferred because the issue is warning-only with no security-relevant consequence beyond a WARNING message in the kernel log; the residual risk of the deferred fix is that this warning may appear on affected systems during SMC link-group termination. Red Hat Enterprise Linux 6 and 7 are currently marked not affected for this flaw, while RHEL 8 and Hosted OpenShift streams are currently untriaged.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-56641.

References

Check your stackJSON