CVE Catalog

CVE-2024-50230

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

19th percentile - higher than 19% of all known CVEs

Summary

In the Linux kernel's nilfs2 filesystem, the 'checked' flag of a page/folio is not cleared when discarded, which after reloading a directory page skips sanity checks of directory entries and can trigger a kernel bug.

Risk Assessment

After detecting filesystem corruption and switching to read-only mode, directory operations may trigger a BUG_ON and cause a kernel crash, potentially disrupting system operation.

Recommendation

Apply the Linux kernel patch for nilfs2 that ensures clearing the 'checked' flag when discarding pages, and update the system.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of checked flag Syzbot reported that in directory operations after nilfs2 detects filesystem corruption and degrades to read-only, __block_write_begin_int(), which is called to prepare block writes, may fail the BUG_ON check for accesses exceeding the folio/page size, triggering a kernel bug. This was found to be because the "checked" flag of a page/folio was not cleared when it was discarded by nilfs2's own routine, which causes the sanity check of directory entries to be skipped when the directory page/folio is reloaded. So, fix that. This was necessary when the use of nilfs2's own page discard routine was applied to more than just metadata files.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS