CVE-2022-48686·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.19.9
- Published
- 2024-05-03
Affected versions
From: 5.16
Until: 5.19.9
Fixed in: 5.19.9
How to fix this CVE
Update your Linux kernel to version 5.19.9 or later to patch a use-after-free vulnerability in the NVMe-TCP driver that could lead to memory corruption when digest validation fails. Systems running kernel versions 5.16 through 5.19.8 should prioritize this update, as the flaw allows the TCP stream to remain in an inconsistent state during error conditions. After patching, reboot the system to load the fixed kernel.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if NVMe-TCP is in use: grep -r 'nvme_tcp' /sys/kernel/debug/nvme 2>/dev/null || echo 'Module check: lsmod | grep nvme_tcp'
- Search kernel logs for digest validation errors: sudo dmesg | grep -i 'nvme.*digest\|rd_enabled' or journalctl -u kernel | grep -i 'nvme.*error'
- Confirm the patched kernel is installed after update: uname -r (should show 5.19.9 or newer in the 5.19.x branch, or any kernel 5.20+)
FAQ
What is CVE-2022-48686?
This vulnerability is a use-after-free (UAF) flaw in the Linux kernel's NVMe-TCP implementation that occurs when digest validation errors are detected. The kernel fails to properly exit the I/O work loop when the TCP connection is corrupted, leading to potential memory corruption and system instability.
Is CVE-2022-48686 being actively exploited?
No, CVE-2022-48686 is not actively exploited in the wild and is not included in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the high CVSS score (7.8) and memory safety implications warrant prompt patching.
What versions of Kernel are affected by CVE-2022-48686?
Linux kernel versions 5.16 through 5.19.8 are affected. The vulnerability was fixed in 5.19.9 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2022-48686?
Run `uname -r` to display your kernel version. If it reports a version between 5.16 and 5.19.8 (inclusive) and you have NVMe-TCP devices in use (check with `lsmod | grep nvme_tcp`), your system is vulnerable.
Does Defensia detect CVE-2022-48686?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2022-48686 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/13c80a6c112467bab5e44d090767930555fc17a5
- https://git.kernel.org/stable/c/160f3549a907a50e51a8518678ba2dcf2541abea
- https://git.kernel.org/stable/c/19816a0214684f70b49b25075ff8c402fdd611d3
- https://git.kernel.org/stable/c/5914fa32ef1b7766fea933f9eed94ac5c00aa7ff
- https://git.kernel.org/stable/c/c3eb461aa56e6fa94fb80442ba2586bd223a8886
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48686. Free for 1 server.
Get started free