CVE-2022-49354
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49354 is a vulnerability discovered in the Linux kernel's PATA Octeon CF driver. The issue involves a reference count leak in the octeoncfprobe function where offinddevicebynode() takes a reference but fails to properly release it using put_device() when no longer needed (NVD). The vulnerability was publicly disclosed on February 26, 2025.

Technical details

The vulnerability stems from a missing putdevice() call in the pataocteoncf driver's probe function. When offinddevicebynode() is called, it takes a reference count that should be released using putdevice() when no longer needed. The fix involves adding the missing putdevice() calls at appropriate error handling paths and cleanup sections to prevent the reference count leak (Kernel Commit). The issue was introduced in commit 43f01da0f279 which converted pataocteon_cf.c to use device tree.

Impact

The vulnerability results in a reference count leak in the Linux kernel's PATA Octeon CF driver. While the immediate impact is a resource leak, this could potentially lead to resource exhaustion over time if the affected code path is repeatedly triggered (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed by adding the missing put_device() calls in the affected code paths. The fix has been backported to various stable kernel versions. Users should update their Linux kernel to a patched version that includes the fix (Ubuntu).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management