nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 · < c0c3d3d3ea41cb5228ee90568bb953f9a56c3227| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nilfs2 filesystem generates a warning if checkpoint creation or finalization fails because of anomalous on-disk checkpoint metadata. If the kernel is booted with panic_on_warn, that warning can cause a kernel panic. The input does not establish an attacker access path or authentication requirements.
Engineers running Linux kernels with nilfs2 should check their affected versions; the input does not specify a version range.