CVE-2022-49212

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.

Score
CVSS 3.1 5.5 Medium
Status
Modified - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-02-26
Last modified
2026-05-11

Affected products

References