CVE Catalog

CVE-2024-58094

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

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

Summary

In the Linux kernel, the JFS filesystem has added a read-only check before truncation in the jfs_truncate_nolock function. This is to avoid errors related to writing to a read-only filesystem.

Risk Assessment

Without this fix, operations on read-only filesystems could cause errors or unwanted data modifications, potentially compromising filesystem integrity.

Recommendation

It is recommended to update the Linux kernel to a version containing this fix to ensure safe operations on read-only filesystems.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: jfs: add check read-only before truncation in jfs_truncate_nolock() Added a check for "read-only" mode in the `jfs_truncate_nolock` function to avoid errors related to writing to a read-only filesystem. Call stack: block_write_begin() { jfs_write_failed() { jfs_truncate() { jfs_truncate_nolock() { txEnd() { ... log = JFS_SBI(tblk->sb)->log; // (log == NULL) If the `isReadOnly(ip)` condition is triggered in `jfs_truncate_nolock`, the function execution will stop, and no further data modification will occur. Instead, the `xtTruncate` function will be called with the "COMMIT_WMAP" flag, preventing modifications in "read-only" mode.

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