CVE-2022-49724 tty: goldfish: Fix free_irq() on remove
A use-after-free vulnerability in the Linux kernel goldfish TTY driver allows local attackers to cause a system crash by triggering an invalid IRQ free operation.
- 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-49724?
CVE-2022-49724 is a high-severity use after free 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:
tty: goldfish: Fix free_irq() on remove
Pass the correct dev_id to free_irq() to fix this splat when the driver is unbound:
WARNING: CPU: 0 PID: 30 at kernel/irq/manage.c:1895 free_irq Trying to free already-free IRQ 65 Call Trace: warn_slowpath_fmt free_irq goldfish_tty_remove platform_remove device_remove device_release_driver_internal device_driver_detach unbind_store drv_attr_store ...
Weakness: CWE-416
Which versions are affected by CVE-2022-49724?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49724?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-49724 being exploited?
There is no known exploitation of CVE-2022-49724 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49724, GHSA-26pq-gvcv-rc9v, UBUNTU-CVE-2022-49724.