CVE-2022-1998 Use after free in Kernel
A local attacker can exploit a use-after-free in the Linux kernel's file system notify functionality to crash the system 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-1998?
CVE-2022-1998 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 9 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A use after free in the Linux kernel File System notify functionality was found in the way user triggers copy_info_records_to_user() call to fail in copy_event_to_user(). A local user could use this flaw to crash the system or potentially escalate their privileges on the system.
Weakness: CWE-416
Which versions are affected by CVE-2022-1998?
It affects 8 products.
Products include Fedoraproject Fedora, Linux kernel, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware and 2 more.
How do I fix CVE-2022-1998?
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-1998 being exploited?
There is no known exploitation of CVE-2022-1998 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-9917, DEBIAN-CVE-2022-1998, GHSA-2789-cv5q-pwgx, UBUNTU-CVE-2022-1998.