CVE-2025-38092
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was identified in the Linux kernel's ksmbd component, tracked as CVE-2025-38092. The issue was discovered and disclosed on July 2, 2025, involving the improper use of the list_first_entry() macro in the opinfo_get_list() function (NVD).

Technical details

The vulnerability stems from the list_first_entry() macro implementation in the ksmbd component, which never returns NULL. When the list is empty, it returns an invalid pointer instead of properly handling the empty list condition. The correct implementation should use list_first_entry_or_null() to properly check if the list is empty (CVE).

Impact

The vulnerability affects multiple Linux distributions and their kernel packages, including Ubuntu's various releases (noble, jammy, focal) and their associated kernel variants (aws, azure, gcp). This impacts both standard and specialized kernel packages such as lowlatency, nvidia, and cloud provider-specific kernels (Ubuntu).

Mitigation and workarounds

The vulnerability has been resolved in several Linux distributions. Debian has fixed the issue in various releases: bullseye (5.10.223-1), trixie (6.12.35-1), and sid (6.12.37-1). However, some versions remain vulnerable, such as bookworm (6.1.137-1) (Debian).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

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