CVE-2022-49282
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2022-49282 affects the Linux kernel's F2FS (Flash-Friendly File System) quota functionality. The vulnerability was discovered in the f2fs_quota_sync() function where an incorrect parameter was being passed to sb_has_quota_active(), potentially leading to a NULL pointer dereference. This issue was particularly problematic when the type parameter was set to -1, as the compiler could optimize away the quota active check entirely (Kernel Git).

Technical details

The vulnerability stems from a logic error in the f2fs_quota_sync() function where 'type' was incorrectly passed to sb_has_quota_active() instead of 'cnt'. When type is -1, compiler optimization could remove the sb_has_quota_active() check completely, leading to a NULL pointer dereference when attempting to call inode_lock(dqopt->files[cnt]). This results in a kernel panic with the error message "Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a0" (Kernel Git).

Impact

When exploited, this vulnerability causes a kernel panic, leading to a system crash. This results in a denial of service condition as the system becomes unresponsive and requires a restart. The issue affects systems using the F2FS filesystem with quota functionality enabled (NVD).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that corrects the parameter passed to sb_has_quota_active(). The fix involves changing the function to use 'cnt' instead of 'type' in the check and properly handling the return value. System administrators should update to a patched kernel version that includes this fix (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • tar
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23643MEDIUM5.4
  • CakePHPCakePHP
  • cakephp
NoYesJan 16, 2026
CVE-2025-61873LOW2.6
  • Linux DebianLinux Debian
  • request-tracker4
NoYesJan 16, 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