CVE-2022-50519

nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before b63026b5e13040cd5afa11769dd0d9e1504b031aAffected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before ae16440c44ae2acda6d72aff9d74eccf8967dae5Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before bf98be80cbe3b4e6c86c36ed00457389aca3eb15Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before 259c0f68168ac6a598db3486597b10e74d625db0Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before 8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before c0c3d3d3ea41cb5228ee90568bb953f9a56c3227Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before 090fcfb6edeb9367a915b2749e2bd1f8b48d8898Affected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before 5c0776b5bc31de7cd28afb558fae37a20f33602eAffected
  • 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 to before 723ac751208f6d6540191689cfbf6c77135a7a1bAffected
LinuxLinux
  • 2.6.30Affected
  • before 2.6.30Not affected
  • 4.9.331 through 4.9.*Not affected
  • 4.14.296 through 4.14.*Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.218 through 5.4.*Not affected
  • 5.10.148 through 5.10.*Not affected
  • 5.15.74 through 5.15.*Not affected
  • 5.19.16 through 5.19.*Not affected
  • 6.0.2 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.