# CVE-2022-49694: block: disable the elevator int del_gendisk

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-02-26T02:24:16.910Z
- Modified: 2026-06-17T05:18:52.880Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e155b0c238b20f0a866f4334d292656665836c8a before f28699fafc047ec33299da01e928c3a0073c5cc6; from e155b0c238b20f0a866f4334d292656665836c8a before 50e34d78815e474d410f342fbe783b18192ca518; 5.16 (not affected: before 5.16; from 5.18.8 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.16 before 5.18.8; 5.19

## References

- <https://git.kernel.org/stable/c/f28699fafc047ec33299da01e928c3a0073c5cc6> (patch)
- <https://git.kernel.org/stable/c/50e34d78815e474d410f342fbe783b18192ca518> (patch)

## Sources

- CVE List: [CVE-2022-49694](https://www.cve.org/CVERecord?id=CVE-2022-49694), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49694](https://nvd.nist.gov/vuln/detail/CVE-2022-49694), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49694 · Whole record: https://cve.day/CVE-2022-49694.json · Rebuilt by cve.day 2026-11-25T22:58:20.807Z
