CVE-2022-48778·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: gpmi: don't leak PM reference in error path If gpmi_nfc_apply_timings() fails, the PM runtime usage counter must be dropped.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.11
- Published
- 2024-07-16
Affected versions
From: 5.16.3
Until: 5.16.11
Fixed in: 5.16.11
How to fix this CVE
Update your Linux kernel to version 5.16.11 or later to resolve a power management reference leak in the GPMI NAND flash controller driver. This vulnerability can cause kernel resource exhaustion when the driver encounters timing configuration failures. Systems running kernel versions 5.16.3 through 5.16.10 should prioritize this update to prevent potential denial of service conditions.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to display your current kernel version and verify if it falls within the vulnerable range (5.16.3 to 5.16.10)
- Check for GPMI NAND controller presence by running 'lspci | grep -i nand' or 'dmesg | grep -i gpmi' to confirm the vulnerable driver is loaded
- Search kernel logs for timing-related errors using 'dmesg | grep -i "gpmi.*timing"' or 'journalctl -k | grep gpmi' to identify if the driver has encountered configuration failures
- After patching, verify the kernel version with 'uname -r' confirms it is 5.16.11 or later, and reboot if necessary to load the updated kernel
FAQ
What is CVE-2022-48778?
CVE-2022-48778 is a resource management vulnerability in the Linux kernel's GPMI NAND flash controller driver where a failed timing configuration operation fails to properly release power management references, potentially leading to resource exhaustion and system instability.
Is CVE-2022-48778 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, local attackers with elevated privileges could trigger the condition through driver configuration failures.
What versions of Kernel are affected by CVE-2022-48778?
Linux kernel versions 5.16.3 through 5.16.10 are vulnerable. The issue is resolved in kernel 5.16.11 and later stable releases.
How do I check if my server is vulnerable to CVE-2022-48778?
Run 'uname -r' and compare your kernel version against the vulnerable range (5.16.3-5.16.10). If your version falls within this range and you have GPMI NAND hardware, your system is vulnerable. Confirm hardware presence with 'dmesg | grep gpmi'.
Does Defensia detect CVE-2022-48778?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-48778 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/4a7ec50298b1127c5024a750c969ea0794899545
- https://git.kernel.org/stable/c/4cd3281a910a5adf73b2a0a82241dd67844d0b25
- https://git.kernel.org/stable/c/58d3111eafce9e4398654b07f0b1dac27f26ee5b
- https://git.kernel.org/stable/c/9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0
- https://git.kernel.org/stable/c/a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48778. Free for 1 server.
Get started free