CVE-2022-48856
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48856 is a vulnerability in the Linux kernel's gianfar ethernet driver, specifically in the gfargetts_info function. The vulnerability was discovered and disclosed in July 2024, affecting Linux kernel versions from 4.18 up to versions before 4.19.235, 5.4.185, 5.10.106, 5.15.29, and 5.16.15. The issue involves a reference count leak in the ethtool functionality of the gianfar driver (Kernel Git).

Technical details

The vulnerability stems from a missing reference count release in the gfargettsinfo function. The offindcompatiblenode() function returns a node pointer with an incremented reference count, but the code failed to call ofnodeput() to release this reference when done. This oversight was introduced in commit 7349a74ea75c ("net: ethernet: gianfar_ethtool: get phc index through drvdata"). The vulnerability has been assigned a CVSS v3.1 score of 5.5 (Medium), with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The reference count leak could potentially lead to resource exhaustion in the Linux kernel over time, as memory references are not properly released. This primarily affects system stability and availability, rather than confidentiality or integrity of the system (Debian Security).

Mitigation and workarounds

The vulnerability has been fixed by adding the missing ofnodeput() call to release the reference count. The fix has been backported to multiple stable kernel versions. Various Linux distributions have released patched versions, including Ubuntu 20.04 LTS (5.4.0-117.132), Debian Bullseye (5.10.226-1), and Bookworm (6.1.128-1) (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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