{"id":"CVE-2022-49406","published":"2025-02-26T02:12:31Z","modified":"2026-05-11T18:59:08Z","title":"block: Fix potential deadlock in blk_ia_range_sysfs_show()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: Fix potential deadlock in blk_ia_range_sysfs_show()\n\nWhen being read, a sysfs attribute is already protected against removal\nwith the kobject node active reference counter. As a result, in\nblk_ia_range_sysfs_show(), there is no need to take the queue sysfs\nlock when reading the value of a range attribute. Using the queue sysfs\nlock in this function creates a potential deadlock situation with the\ndisk removal, something that a lockdep signals with a splat when the\ndevice is removed:\n\n[  760.703551]  Possible unsafe locking scenario:\n[  760.703551]\n[  760.703554]        CPU0                    CPU1\n[  760.703556]        ----                    ----\n[  760.703558]   lock(&q->sysfs_lock);\n[  760.703565]                                lock(kn->active#385);\n[  760.703573]                                lock(&q->sysfs_lock);\n[  760.703579]   lock(kn->active#385);\n[  760.703587]\n[  760.703587]  *** DEADLOCK ***\n\nSolve this by removing the mutex_lock()/mutex_unlock() calls from\nblk_ia_range_sysfs_show().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00196,"percentile":0.09471,"provenance":"source"},"cwes":[{"id":"CWE-667","name":"Improper Locking"}],"references":[{"url":"https://git.kernel.org/stable/c/dc107c805cde709866b59867ef72b9390199205e","tags":[]},{"url":"https://git.kernel.org/stable/c/717b078bc745ba9a262abebed9806a17e8bbb77b","tags":[]},{"url":"https://git.kernel.org/stable/c/41e46b3c2aa24f755b2ae9ec4ce931ba5f0d8532","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":1.89},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a2247f19ee1c5ad75ef095cdfb909a3244b88aa8, < dc107c805cde709866b59867ef72b9390199205e",">= a2247f19ee1c5ad75ef095cdfb909a3244b88aa8, < 717b078bc745ba9a262abebed9806a17e8bbb77b",">= a2247f19ee1c5ad75ef095cdfb909a3244b88aa8, < 41e46b3c2aa24f755b2ae9ec4ce931ba5f0d8532"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:41:15.505282Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54823","exploited":false,"provenance":"source"}}