CVE-2022-49531 loop: implement ->free_disk
A race condition in the Linux kernel loop driver could lead to a use-after-free or deadlock, potentially causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49531?
CVE-2022-49531 is a high-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2022-49531?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49531?
Apply the vendor's patch.
Is CVE-2022-49531 being exploited?
There is no known exploitation of CVE-2022-49531 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-58732, DEBIAN-CVE-2022-49531, GHSA-ghrp-fhch-vvr7, ROOT-OS-DEBIAN-11-CVE-2022-49531, ROOT-OS-UBUNTU-2204-CVE-2022-49531, UBUNTU-CVE-2022-49531.