What’s Vulnerable › Vulnerabilities
CVE-2022-49694: block: disable the elevator int del_gendisk
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: block: disable the elevator int del_gendisk The elevator is only used for file system requests, which are stopped in del_gendisk. Move disabling the elevator and freeing the scheduler tags to the end of del_gendisk instead of doing that work in disk_release and blk_cleanup_queue to avoid a use after free on q->tag_set from disk_release as the tag_set might not be alive at that point. Move the blk_qos_exit call as well, as it just depends on the elevator exit and would be the only reason to keep the not exactly cheap queue freeze in disk_release.
Affected products
- Linux kernel: from 5.16 before 5.18.8; 5.19-rc1, 5.19-rc2, 5.19-rc3 — fixed in 5.18.8
How to fix
Upgrade to a fixed version: Linux kernel 5.18.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/50e34d78815e474d410f342fbe783b18192ca518
- https://git.kernel.org/stable/c/f28699fafc047ec33299da01e928c3a0073c5cc6
Get alerted when CVE-2022-49694 or the next vulnerability affects your stack