cve.bz

CVE-2024-50280 linux linux kernel: Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: dm cache: fix flushing uninitialized delayed_work on cache_ctr error An unexpected WARN_ON from flush_work() may occur when cache creation fails, caused by destroying the uninitialized delayed_work waker in the error path of cache_create(). For example, the warning appears on the superblock checksum error. Reproduce steps: dmsetup create cmeta --table "0 8192 linear /dev/sdc 0" dmsetup create cdata --table "0 65536 linear /dev/sdc 8192" dmsetup create corig --table "0 524288 linear /dev/sdc 262144" dd if=/dev/urandom of=/dev/mapper/cmeta bs=4k count=1 oflag=direct dmsetup create cache --table "0 524288 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0" Kernel logs: (snip) WARNING: CPU: 0 PID: 84 at kernel/workqueue.c:4178 __flush_work+0x5d4/0x890 Fix by pulling out the cancel_delayed_work_sync() from the constructor's error path. This patch doesn't affect the use-after-free fix for concurrent dm_resume and dm_destroy (commit 6a459d8edbdb ("dm cache: Fix UAF in destroy()")) as cache_dtr is not changed.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-12-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
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-50280 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-50280?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-50280?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-50280 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.10.163 before 5.10.237
Linuxfrom 5.15.87 before 5.15.181
Linuxfrom 6.1.4 before 6.1.117
Linuxfrom 4.9.337 before 4.10
Linuxfrom 4.14.303 before 4.15
Linuxfrom 4.19.270 before 4.20
Linuxfrom 5.4.229 before 5.5
Linuxfrom 6.0.18 before 6.1
Linux6.2 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.237
Linux5.155.15.181
Linux6.16.1.117
Linux6.66.6.61
Linux6.116.11.8
Linuxlater releases6.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.237-1DLA-4178-1
Debian11linux-6.16.1.119-1~deb11u1DLA-4008-1
Debian12linux6.1.119-1DEBIAN-CVE-2024-50280 DSA-5818-1
Debian13, 14linux6.11.9-1DEBIAN-CVE-2024-50280
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-50280
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2024-50280
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-50280
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-144.157UBUNTU-CVE-2024-50280 USN-7654-1
Ubuntu22.04:LTSlinux-aws5.15.0-1088.95UBUNTU-CVE-2024-50280 USN-7654-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1027.29~22.04.1UBUNTU-CVE-2024-50280 USN-7451-1
Ubuntu22.04:LTSlinux-azure5.15.0-1094.103UBUNTU-CVE-2024-50280 USN-7711-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1027.32~22.04.1UBUNTU-CVE-2024-50280 USN-7449-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1094.103.1UBUNTU-CVE-2024-50280
Ubuntu22.04:LTSlinux-gcp5.15.0-1087.96UBUNTU-CVE-2024-50280 USN-7654-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1028.30~22.04.1UBUNTU-CVE-2024-50280 USN-7452-1
Ubuntu22.04:LTSlinux-gke, linux-oracle5.15.0-1085.91UBUNTU-CVE-2024-50280 USN-7654-1
61 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.33.1SUSE-SU-2025:0154-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.91.1SUSE-SU-2025:0201-1 SUSE-SU-2025:0201-2
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.91.1.150500.6.41.1SUSE-SU-2025:0201-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morekernel-default-base5.14.21-150500.55.91.1.150500.6.41.1SUSE-SU-2025:0201-2
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.244.1SUSE-SU-2025:0236-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_641-8.5.1SUSE-SU-2025:0236-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_221-150500.11.3.1SUSE-SU-2025:0201-1
SUSELinux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5kernel-default5.14.21-150500.55.91.1SUSE-SU-2025:0201-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_71-150600.1.3.1SUSE-SU-2025:0153-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_71-150600.13.3.1SUSE-SU-2025:0154-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.82.1SUSE-SU-2025:0229-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.33.1SUSE-SU-2025:0154-1
18 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.33.1SUSE-SU-2025:0154-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.23.1SUSE-SU-2025:0117-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.33.1.150600.12.14.1SUSE-SU-2025:0154-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.23.1SUSE-SU-2025:0153-1
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-50280

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; 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
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-50280.

References

Check your stackJSON