# CVE-2022-49531: loop: implement ->free_disk

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:51.542Z
- Modified: 2026-08-05T08:55:27.919Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

loop: implement ->free_disk

Ensure that the lo_device which is stored in the gendisk private
data is valid until the gendisk is freed.  Currently the loop driver
uses a lot of effort to make sure a device is not freed when it is
still in use, but to to fix a potential deadlock this will be relaxed
a bit soon.

(As written by CVE List.)

## Affected

- Linux Linux: from 73285082745045bcd64333c1fbaa88f8490f2626 before aadd1443aae7fe8956e3b11157827067f034406a; from 73285082745045bcd64333c1fbaa88f8490f2626 before d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9; 2.6.22 (not affected: before 2.6.22; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.18.3

## Every score

- Linux: 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`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/aadd1443aae7fe8956e3b11157827067f034406a> (patch)
- <https://git.kernel.org/stable/c/d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9> (patch)

## Sources

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

---

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