LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50367: fs: fix UAF/GPF bug in nilfs_mdt_destroy

In the Linux kernel, the following vulnerability has been resolved: fs: fix UAF/GPF bug in nilfs_mdt_destroy In alloc_inode, inode_init_always() could return -ENOMEM if security_inode_alloc() fails, which causes inode->i_private uninitialized. Then nilfs_is_metadata_file_inode() returns true and nilfs_free_inode() wrongly calls nilfs_mdt_destroy(), which frees the uninitialized inode->i_private and leads to crashes(e.g., UAF/GPF). Fix this by moving security_inode_alloc just prior to this_cpu_inc(nr_inodes)

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-50367 is a high-severity Linux kernel memory-safety flaw in NILFS metadata inode cleanup. A local user could trigger kernel memory corruption conditions; the description specifically notes crashes such as use-after-free or general protection faults. This is not listed as known exploited in KEV based on the provided data.

Executive priority

Treat as a high-priority routine kernel patching item, especially for multi-user and workload-dense Linux systems. There is no cited evidence of active exploitation, so emergency response is not indicated from the provided sources alone.

Technical view

The flaw occurs when inode_init_always() fails after security_inode_alloc(), leaving inode->i_private uninitialized. NILFS metadata inode detection can then cause nilfs_free_inode() to call nilfs_mdt_destroy() on that uninitialized pointer, causing UAF/GPF. CVSS 3.1 is 7.8 with local attack vector, low complexity, low privileges, and no user interaction.

Likely exposure

Exposure is limited to Linux systems running affected kernel versions or vendor kernels without the referenced stable fixes. Risk is higher on systems where untrusted local users, workloads, or containers can exercise kernel filesystem paths. Distribution backports may change version-based conclusions, so package-level vendor status matters.

Exploitation context

The provided sources do not show active exploitation, and KEV status is false. Exploitation requires local privileges according to the CVSS vector. Public details describe the bug and fixes, but do not establish a weaponized exploit or remote attack path.

Researcher notes

The record maps to CWE-416 and Linux kernel stable commits. The affected-version data is broad and commit-based, so exact exposure should be confirmed through vendor kernel trees and backport metadata. Avoid assuming upstream version numbers alone reflect distro risk.

Mitigation direction

  • Apply a Linux vendor kernel update that includes the upstream stable fix commits.
  • Check distribution advisories for CVE-2022-50367 package status and backport notes.
  • Prioritize shared servers, developer workstations, and container hosts with untrusted local workloads.
  • Reboot systems after kernel updates to ensure the fixed kernel is running.

Validation and detection

  • Inventory running kernel versions across Linux assets.
  • Compare installed kernel packages against vendor advisories for CVE-2022-50367.
  • Verify whether applied kernels include the referenced upstream stable commits or vendor backports.
  • Confirm hosts rebooted into the updated kernel after patching.
  • Review vulnerability scanner findings for distro backport awareness before accepting version-only results.
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-416: 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-50367 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
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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
3Timeline events
1ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

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
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2022-50367Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2unaffected
LinuxLinux2.6.12, 0, 4.9.331, 4.14.296, 4.19.262, 5.4.218, 5.10.148, 5.15.73, 5.19.15, 6.0.1, 6.1affected
Weakness

CWE details

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

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.