CVE-2022-40307 Use after free in n/a
A race condition in the Linux kernel EFI capsule loader leads to a use-after-free, potentially allowing local attackers to execute code or escalate privileges.
- 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-40307?
CVE-2022-40307 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 9 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the Linux kernel through 5.19.8. drivers/firmware/efi/capsule-loader.c has a race condition with a resultant use-after-free.
Weakness: CWE-362
Which versions are affected by CVE-2022-40307?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2022-40307?
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-40307 being exploited?
There is no known exploitation of CVE-2022-40307 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-10904, DEBIAN-CVE-2022-40307, GHSA-mvx7-hp9w-v6mv, UBUNTU-CVE-2022-40307.