Bug 2402228 (CVE-2022-50519) - CVE-2022-50519 kernel: nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
Summary: CVE-2022-50519 kernel: nilfs2: replace WARN_ONs by nilfs_error for checkpoint...
Keywords:
Status: NEW
Alias: CVE-2022-50519
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-07 16:04 UTC by OSIDB Bzimport
Modified: 2025-11-26 12:23 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-07 16:04:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.