CVE-2022-49212

MEDIUM

Linux Kernel 4.12-5.17 Refcount Leak in atmel_nand_controller_init

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0026
EPSS Percentile 18.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (26)
linux/Kernel 4.12.0 - 4.14.276linux
linux/Kernel 4.15.0 - 4.19.238linux
linux/Kernel 4.20.0 - 5.4.189linux
linux/Kernel 5.11.0 - 5.15.33linux
linux/Kernel 5.16.0 - 5.16.19linux
linux/Kernel 5.17.0 - 5.17.2linux
linux/Kernel 5.5.0 - 5.10.110linux
Linux/Linux < 4.12
Linux/Linux 4.12
Linux/Linux 4.14.276 - 4.14.*
... and 16 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026