LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50519: nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure

In the Linux kernel, the following vulnerability has been resolved: nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure If creation or finalization of a checkpoint fails due to anomalies in the checkpoint metadata on disk, a kernel warning is generated. This patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted with panic_on_warn, does not panic. A nilfs_error is appropriate here to handle the abnormal filesystem condition. This also replaces the detected error codes with an I/O error so that neither of the internal error codes is returned to callers.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

A Linux kernel issue in the nilfs2 filesystem could crash machines that boot with the panic-on-warn setting when checkpoint metadata on disk is corrupted. The kernel previously raised a warning that, on hardened systems, escalated into a full panic. The fix turns the warning into a controlled filesystem error, keeping the system running instead of going down.

Executive priority

Low priority. Treat as routine kernel hygiene, bundled into the next scheduled patch cycle. No evidence of active exploitation, no remote attack path, and impact is limited to availability on a narrow population of hardened systems using the nilfs2 filesystem.

Technical view

In fs/nilfs2, checkpoint creation or finalization failures triggered WARN_ON macros. On kernels built with panic_on_warn, that warning becomes a kernel panic. The patch substitutes nilfs_error for the WARN_ONs and normalizes internal error codes to -EIO, treating the situation as an abnormal filesystem condition rather than a programming bug. Affected stable trees include 4.9.x prior to 4.9.331, 4.14 prior to 4.14.296, 4.19 prior to 4.19.262, 5.4 prior to 5.4.218, 5.10 prior to 5.10.148, 5.15 prior to 5.15.74, 5.19 prior to 5.19.16, and 6.0 prior to 6.0.2; fixed in 6.1.

Likely exposure

Limited to Linux systems that mount nilfs2 volumes and run with panic_on_warn enabled (common in hardened, server, or kiosk builds). General-purpose distributions rarely enable panic_on_warn by default, and nilfs2 is an uncommon filesystem outside of log-structured storage and embedded use cases. No network attack surface is described.

Exploitation context

Not listed in CISA KEV. No public exploit, PoC, or active exploitation is cited. The condition requires anomalous on-disk checkpoint metadata in a mounted nilfs2 filesystem combined with panic_on_warn, producing a denial-of-service panic rather than code execution or privilege escalation.

Researcher notes

Robustness fix replacing WARN_ON with nilfs_error in checkpoint acquisition paths and converting internal error codes to -EIO. Fault originates in fs/nilfs2 checkpoint create/finalize routines. Bug was introduced in 2.6.30. Nine stable backports are referenced via git.kernel.org commits. No CVSS, CWE, or KEV entry is supplied; severity classification rests on the DoS-on-corrupt-metadata profile.

Mitigation direction

  • Upgrade to a stable Linux kernel containing the fix (6.1, 6.0.2, 5.19.16, 5.15.74, 5.10.148, 5.4.218, 4.19.262, 4.14.296, or 4.9.331).
  • Apply your distribution vendor's kernel update referencing CVE-2022-50519.
  • If patching is delayed, avoid mounting untrusted nilfs2 images on hosts configured with panic_on_warn.
  • Review whether panic_on_warn is required on systems that mount nilfs2 volumes.

Validation and detection

  • Run uname -r and compare against the fixed stable versions listed in the CVE record.
  • Confirm your distribution's changelog or security tracker references CVE-2022-50519 as fixed.
  • Inventory hosts that mount nilfs2 (check /proc/filesystems and /etc/fstab) to scope exposure.
  • Check sysctl kernel.panic_on_warn setting on affected hosts to gauge real-world impact.
Prepared
Confidence
medium
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.

cve · low confidence lookup

CVE-2022-50519 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

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

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453unaffected
LinuxLinux2.6.30, 0, 4.9.331, 4.14.296, 4.19.262, 5.4.218, 5.10.148, 5.15.74, 5.19.16, 6.0.2, 6.1affected
Weakness

CWE details

No CWE listed

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