CVE-2022-50057
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-50057) was identified in the Linux kernel's NTFS3 filesystem implementation. The issue involves a NULL pointer dereference in the ntfsupdatemftmirr function when ntfsfillsuper() wasn't called, leading to sbi->sb being NULL. This vulnerability was discovered when Syzbot encountered the issue while passing incorrect mount parameters (NVD, Wiz).

Technical details

The vulnerability occurs in the fs/ntfs3 filesystem code of the Linux kernel. When an incorrect mount parameter is passed ('iochvrset' in the test case), it triggers a NULL pointer dereference at address 0xdffffc0000000003, resulting in a general protection fault. The issue specifically manifests when the code attempts to dereference sbi->sb without first checking if the pointer is NULL (NVD, Wiz).

Impact

When exploited, this vulnerability can cause a kernel crash through a NULL pointer dereference, potentially leading to a denial of service condition on affected systems (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that adds proper NULL pointer checking before dereferencing sbi->sb in the ntfsupdatemftmirr function (Wiz).

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