CVE-2022-48686 nvme-tcp: fix UAF when detecting digest errors
A use-after-free vulnerability in the Linux kernel's NVMe-TCP driver allows attackers to cause denial of service or execute code via corrupted TCP streams.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48686?
CVE-2022-48686 is a critical use after free vulnerability in Linux kernel, published on 3 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
nvme-tcp: fix UAF when detecting digest errors
We should also bail from the io_work loop when we set rd_enabled to true, so we don't attempt to read data from the socket when the TCP stream is already out-of-sync or corrupted.
Weakness: CWE-416
Which versions are affected by CVE-2022-48686?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48686?
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-48686 being exploited?
There is no known exploitation of CVE-2022-48686 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48686, GHSA-9wjv-frj6-hjv9, UBUNTU-CVE-2022-48686.