LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50344: ext4: fix null-ptr-deref in ext4_write_info

In the Linux kernel, the following vulnerability has been resolved: ext4: fix null-ptr-deref in ext4_write_info I caught a null-ptr-deref bug as follows: ================================================================== KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 1 PID: 1589 Comm: umount Not tainted 5.10.0-02219-dirty #339 RIP: 0010:ext4_write_info+0x53/0x1b0 [...] Call Trace: dquot_writeback_dquots+0x341/0x9a0 ext4_sync_fs+0x19e/0x800 __sync_filesystem+0x83/0x100 sync_filesystem+0x89/0xf0 generic_shutdown_super+0x79/0x3e0 kill_block_super+0xa1/0x110 deactivate_locked_super+0xac/0x130 deactivate_super+0xb6/0xd0 cleanup_mnt+0x289/0x400 __cleanup_mnt+0x16/0x20 task_work_run+0x11c/0x1c0 exit_to_user_mode_prepare+0x203/0x210 syscall_exit_to_user_mode+0x5b/0x3a0 do_syscall_64+0x59/0x70 entry_SYSCALL_64_after_hwframe+0x44/0xa9 ================================================================== Above issue may happen as follows: ------------------------------------- exit_to_user_mode_prepare task_work_run __cleanup_mnt cleanup_mnt deactivate_super deactivate_locked_super kill_block_super generic_shutdown_super shrink_dcache_for_umount dentry = sb->s_root sb->s_root = NULL <--- Here set NULL sync_filesystem __sync_filesystem sb->s_op->sync_fs > ext4_sync_fs dquot_writeback_dquots sb->dq_op->write_info > ext4_write_info ext4_journal_start(d_inode(sb->s_root), EXT4_HT_QUOTA, 2) d_inode(sb->s_root) s_root->d_inode <--- Null pointer dereference To solve this problem, we use ext4_journal_start_sb directly to avoid s_root being used.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50344 is a Linux kernel ext4 flaw that can crash a system during filesystem unmount or shutdown-style cleanup. The business impact is availability, not data theft. The source indicates local privileges are required, so prioritize shared Linux hosts, multi-user systems, and systems where untrusted local users or workloads can trigger filesystem operations.

Executive priority

Treat as a routine-to-important availability patch, not an emergency remote compromise. Prioritize environments where local users, containers, or workloads may trigger filesystem unmount paths. Patch through normal kernel maintenance windows unless business-critical hosts show matching crash indicators.

Technical view

The issue is a CWE-476 null pointer dereference in ext4_write_info. During unmount cleanup, sb->s_root can be set to NULL before ext4 quota writeback calls d_inode(sb->s_root), causing a kernel crash. The fix uses ext4_journal_start_sb directly to avoid dereferencing s_root.

Likely exposure

Exposure is limited to Linux systems using ext4 with affected kernel code. The CVSS vector is local, low complexity, low privileges, no user interaction, with high availability impact. Distribution kernel backports may differ from upstream version labels, so verify by vendor package status and kernel changelog.

Exploitation context

The supplied sources do not show active exploitation, and the KEV flag is false. Practical risk is local denial of service through kernel crash conditions around ext4 unmount and quota writeback behavior. No confidentiality or integrity impact is identified in the provided CVSS vector.

Researcher notes

Evidence supports a local availability bug in ext4 quota writeback during unmount cleanup. The source bundle names upstream stable commits but does not provide exploit reports or distribution-specific package fixes. Avoid assuming remote reachability or broader product impact without vendor confirmation.

Mitigation direction

  • Apply Linux kernel updates from the operating system or distribution vendor.
  • Confirm the ext4 stable fix is included in deployed kernel packages.
  • Prioritize multi-user hosts and systems running untrusted local workloads.
  • Use vendor advisories for supported backported kernel package mapping.

Validation and detection

  • Inventory Linux hosts using ext4 filesystems and affected kernel families.
  • Check running kernel versions against vendor security advisories and package changelogs.
  • Review kernel crash logs for ext4_write_info or dquot_writeback_dquots traces.
  • Confirm patched kernels are running after maintenance reboots.
Prepared
Confidence
high
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50344 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2022-50344Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxa1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7, a1177825719ccef3f76ef39bbfd5ebb6087d53c7unaffected
LinuxLinux3.6, 0, 4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.