Linux · Linux Kernel · CVE-2022-49212
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A reference counting issue in the Linux kernel has been identified, specifically in the atmel nand controller init function. This issue occurs in several error handling paths where the function returns an error code without properly balancing the reference count of the `nc->dmac` object, which was previously increased by `dma request channel()`. This can lead to refcount leaks.
**Recommendations**
To resolve this issue, apply the fix that decrements the refcount of the specific object in the error paths.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.