CVE-2022-49212: mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
Vulnerability summary
CVE-2022-49212 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init The reference counting issue happens in several error handling paths on a refcounted object "nc->dmac". In these paths, the function simply returns the error code, forgetting to balance the reference count of "nc->dmac", increased earlier by dma_request_channel(), which may cause refcount leaks. Fix it by decrementing the refcount of specific object in those error paths.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu105 products
- linux< 4.15.0-189.200 | < 5.4.0-117.132 | < 5.15.0-37.39
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1137.148 | < 5.4.0-1078.84 | < 5.15.0-1011.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f88fc122cc34c2545dec9562eaab121494e401ef, < 0856bf27057561f42b37df111603cf5a0d040294 | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < 9843c9c98f26c6ad843260b19bfdaa2598f2ae1e | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < 9b08d211db4c447eb1a07df65e45e0aa772e0fa6 | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < a3587259ae553e41d1ce8c7435351a5d6b299a11 | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < fe0e2ce5c87e9c0b9485ff566362030aa55972cf | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < 8baea2b96fa90af8d0f937caf4cf2105ee094d93 | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < f1694169f3674cdf7553aed06864254635679878 | ≥ f88fc122cc34c2545dec9562eaab121494e401ef, < fecbd4a317c95d73c849648c406bcf1b6a0ec1cf | 4.12
- linux_kernel≥ 4.12, < 4.14.276 | ≥ 4.15, < 4.19.238 | ≥ 4.20, < 5.4.189 | ≥ 5.5, < 5.10.110 | ≥ 5.11, < 5.15.33 | ≥ 5.16, < 5.16.19 | ≥ 5.17, < 5.17.2
Debian1 product
- linux< 5.17.3-1
3 vendors · 108 products