U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-49212 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://git.kernel.org/stable/c/0856bf27057561f42b37df111603cf5a0d040294 Patch 
https://git.kernel.org/stable/c/8baea2b96fa90af8d0f937caf4cf2105ee094d93 Patch 
https://git.kernel.org/stable/c/9843c9c98f26c6ad843260b19bfdaa2598f2ae1e Patch 
https://git.kernel.org/stable/c/9b08d211db4c447eb1a07df65e45e0aa772e0fa6 Patch 
https://git.kernel.org/stable/c/a3587259ae553e41d1ce8c7435351a5d6b299a11 Patch 
https://git.kernel.org/stable/c/f1694169f3674cdf7553aed06864254635679878 Patch 
https://git.kernel.org/stable/c/fe0e2ce5c87e9c0b9485ff566362030aa55972cf Patch 
https://git.kernel.org/stable/c/fecbd4a317c95d73c849648c406bcf1b6a0ec1cf Patch 

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

2 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-49212
NVD Published Date:
02/26/2025
NVD Last Modified:
03/18/2025
Source:
kernel.org