CVE-2022-48778
mtd: rawnand: gpmi: don't leak PM reference in error path
Mitigation
- Upgrade Linux to 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0 or later.
- Upgrade Linux to 5.16.11 or later.
Who should check
- Anyone running Linux >= 29218853877a748a2ca41d9957a84b2d6a7f56a7, < 4cd3281a910a5adf73b2a0a82241dd67844d0b25; >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4; >= 0fe08bf9909f02eb487af2cc829f2853ea69bc96, < 4a7ec50298b1127c5024a750c969ea0794899545; >= c447696e2f825df7800b0630352bea2d45d09baa, < 58d3111eafce9e4398654b07f0b1dac27f26ee5b; >= f53d4c109a666bf1a4883b45d546fba079258717, < 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0
- Anyone running Linux >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11
Vulnerability facts
- Affected
- Linux >= 29218853877a748a2ca41d9957a84b2d6a7f56a7, < 4cd3281a910a5adf73b2a0a82241dd67844d0b25; >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4; >= 0fe08bf9909f02eb487af2cc829f2853ea69bc96, < 4a7ec50298b1127c5024a750c969ea0794899545; >= c447696e2f825df7800b0630352bea2d45d09baa, < 58d3111eafce9e4398654b07f0b1dac27f26ee5b; >= f53d4c109a666bf1a4883b45d546fba079258717, < 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0; Linux >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11
- Fixed in
- Linux 4cd3281a910a5adf73b2a0a82241dd67844d0b25, Linux 4a7ec50298b1127c5024a750c969ea0794899545, Linux 58d3111eafce9e4398654b07f0b1dac27f26ee5b, Linux 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 29218853877a748a2ca41d9957a84b2d6a7f56a7, < 4cd3281a910a5adf73b2a0a82241dd67844d0b25; >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4; >= 0fe08bf9909f02eb487af2cc829f2853ea69bc96, < 4a7ec50298b1127c5024a750c969ea0794899545; >= c447696e2f825df7800b0630352bea2d45d09baa, < 58d3111eafce9e4398654b07f0b1dac27f26ee5b; >= f53d4c109a666bf1a4883b45d546fba079258717, < 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0 | — | cvelist |
| Linux | >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48778. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48778.md Affected: Linux >= 29218853877a748a2ca41d9957a84b2d6a7f56a7, < 4cd3281a910a5adf73b2a0a82241dd67844d0b25; >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4; >= 0fe08bf9909f02eb487af2cc829f2853ea69bc96, < 4a7ec50298b1127c5024a750c969ea0794899545; >= c447696e2f825df7800b063… Fixed in: Linux 4cd3281a910a5adf73b2a0a82241dd67844d0b25, Linux 4a7ec50298b1127c5024a750c969ea0794899545, Linux 58d3111eafce9e4398654b07f0b1dac27f26ee5b, Linux 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4cd3281a910a5adf73b2a0a82241dd67844d0b25
- https://git.kernel.org/stable/c/a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4
- https://git.kernel.org/stable/c/4a7ec50298b1127c5024a750c969ea0794899545
- https://git.kernel.org/stable/c/58d3111eafce9e4398654b07f0b1dac27f26ee5b
- https://git.kernel.org/stable/c/9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0
FAQ
Is CVE-2022-48778 being exploited?
There is no confirmed exploitation: CVE-2022-48778 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48778?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48778?
Linux >= 29218853877a748a2ca41d9957a84b2d6a7f56a7, < 4cd3281a910a5adf73b2a0a82241dd67844d0b25; >= 538a5e208e7d29e8b3cb1d79bbb757e8c763b680, < a4eeeaca50199e3f19eb13ac3b7e0bbb93e22de4; >= 0fe08bf9909f02eb487af2cc829f2853ea69bc96, < 4a7ec50298b1127c5024a750c969ea0794899545; >= c447696e2f825df7800b0630352bea2d45d09baa, < 58d3111eafce9e4398654b07f0b1dac27f26ee5b; >= f53d4c109a666bf1a4883b45d546fba079258717, < 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0; Linux >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11.
Is there a fix for CVE-2022-48778?
Yes. Fixed in Linux 4cd3281a910a5adf73b2a0a82241dd67844d0b25, Linux 4a7ec50298b1127c5024a750c969ea0794899545, Linux 58d3111eafce9e4398654b07f0b1dac27f26ee5b, Linux 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11. Upgrade Linux to 9161f365c91614e5a3f5c6dcc44c3b1b33bc59c0 or later. Upgrade Linux to 5.16.11 or later.
How do I check if I'm affected by CVE-2022-48778?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.