CVE-2023-0122
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-0122 is a NULL pointer dereference vulnerability discovered in the Linux kernel NVMe functionality, specifically in the nvmet_setup_auth() function. The vulnerability was present in Linux kernel versions v6.0-rc1 to v6.0-rc3 and was fixed in v6.0-rc4. This security flaw affects the authentication feature of the NVMe target subsystem (Ubuntu, NVD).

Technical details

The vulnerability stems from a missing goto statement in the nvmet_setup_auth() function within drivers/nvme/target/auth.c. When nvme_auth_extract_key() fails, it leads to a NULL pointer dereference, causing a kernel oops. The issue has been assigned a CVSS 3.1 score of 7.5 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Security, Kernel Commit).

Impact

When successfully exploited, this vulnerability allows an attacker to perform a Pre-Auth Denial of Service (DoS) attack on a remote machine. Since the vulnerability occurs in the authentication feature, it can be triggered by an unauthorized client during the pre-authentication stage (Ubuntu).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version v6.0-rc4 through the addition of a missing goto statement in the nvmet_setup_auth() function. The fix was implemented through a patch that adds the necessary goto out_free_hash statement when the ctrl_key extraction fails (Kernel Commit).

Community reactions

The vulnerability generated discussion within the security community, particularly regarding the practice of assigning CVEs to issues found and fixed in development kernel releases. Red Hat was identified as the CVE assigner for this vulnerability (Openwall).

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-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
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