CVE-2023-2019
Linux Kernel vulnerability analysis and mitigation

Overview

A flaw was discovered in the Linux kernel's netdevsim device driver within the scheduling of events, tracked as CVE-2023-2019. The vulnerability stems from improper management of a reference count in the FIB offload simulation functionality. This issue was discovered by Lucas Leong of Trend Micro Zero Day Initiative and was publicly disclosed on April 13th, 2023 (ZDI Advisory).

Technical details

The vulnerability exists in the netdevsim device driver's FIB (Forwarding Information Base) offload simulation functionality. When processing route deletion requests, netdevsim stores IPv4 and IPv6 routes and holds a reference on FIB info structures that in turn hold a reference on associated nexthop device(s). In cases where memory allocation fails during route deletion processing, the driver fails to release the reference from the associated FIB info structure, preventing the associated nexthop device(s) from being removed (GitHub Commit). The vulnerability has been assigned a CVSS score of 5.3 (AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:H) (ZDI Advisory).

Impact

This vulnerability allows an attacker to create a denial of service condition on the affected system. The flaw prevents the proper cleanup of system resources, specifically preventing the removal of nexthop devices, which could lead to resource exhaustion (ZDI Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.0-rc1. The fix involves scheduling a work item that will flush netdevsim's FIB table upon route deletion failure, ensuring proper release of references from all FIB info structures in the table (GitHub Commit). Users should update their Linux kernel to a version containing this fix.

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