Skip to main content
Mallory
HighVulnerability

CVE-2022-50367: Linux kernel NILFS uninitialized-pointer free in nilfs_mdt_destroy

Published Sep 17, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.25%10th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2022-50367CWE-824

CVE-2022-50367 is a memory-safety vulnerability in Linux kernel inode initialization and NILFS cleanup. During alloc_inode(), inode_init_always() can return -ENOMEM when security_inode_alloc() fails, leaving inode->i_private uninitialized. Subsequently, nilfs_is_metadata_file_inode() can incorrectly identify the inode as a metadata-file inode, causing nilfs_free_inode() to invoke nilfs_mdt_destroy(). This cleanup attempts to free the uninitialized pointer and can cause kernel crashes, including use-after-free conditions and general protection faults.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The invalid cleanup can cause kernel memory corruption and crashes, resulting in denial of service for the affected system. Arbitrary code execution, privilege escalation, and information disclosure are not established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until the kernel is patched, restrict untrusted access to systems using NILFS and consider disabling NILFS support if it is not required. Monitor for abnormal kernel crashes. These measures do not replace the kernel update.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update addressing CVE-2022-50367 and reboot into the updated kernel. The upstream fix moves security_inode_alloc() to immediately before this_cpu_inc(nr_inodes), ensuring initialization occurs before the security allocation failure can trigger cleanup. Fixed vendor releases include RHEL 8 kernel 4.18.0-553.83.1.el8_10, RHEL 9.4 kernel 5.14.0-427.97.1.el9_4, and RHEL 7 ELS kernel 3.10.0-1160.144.1.el7; use the update appropriate to the deployed product and support stream.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2022-50367 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2022-50367 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-50367?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2022-50367.
Is there a patch for CVE-2022-50367?
Install a vendor-supported kernel update addressing CVE-2022-50367 and reboot into the updated kernel. The upstream fix moves security_inode_alloc() to immediately before this_cpu_inc(nr_inodes), ensuring initialization occurs before the security allocation failure can trigger cleanup.
What products are affected by CVE-2022-50367?
Linux Kernel.
How severe is CVE-2022-50367?
CVE-2022-50367 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.25% (10th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.