NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-50280
Summary

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.

Publication Date Nov. 19, 2024, 11:16 a.m.
Registration Date Nov. 19, 2024, 4 p.m.
Last Update Nov. 19, 2024, 11:16 a.m.
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Linux の Linux Kernel における解放済みメモリの使用に関する脆弱性
Title Linux の Linux Kernel における解放済みメモリの使用に関する脆弱性
Summary

Linux の Linux Kernel には、解放済みメモリの使用に関する脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 4, 2024, midnight
Registration Date March 25, 2025, 5:49 p.m.
Last Update March 25, 2025, 5:49 p.m.
Affected System
Linux
Linux Kernel 4.14.303 以上 4.15 未満
Linux Kernel 4.19.270 以上 4.20 未満
Linux Kernel 4.9.337 以上 4.10 未満
Linux Kernel 5.10.163 以上 5.11 未満
Linux Kernel 5.15.87 以上 5.16 未満
Linux Kernel 5.4.229 以上 5.5 未満
Linux Kernel 6.0.18 以上 6.1 未満
Linux Kernel 6.1.4 以上 6.1.117 未満
Linux Kernel 6.12
Linux Kernel 6.2 以上 6.6.61 未満
Linux Kernel 6.7 以上 6.11.8 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2025年03月25日]   掲載 March 25, 2025, 3:06 p.m.