Skip to main content
Network Thinking Solutions Logo

CVE-2024-58094

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.

All CVEs
CVE-2024-58094Published 4/16/2025

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
4/16/2025
Last modified
9/2/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.13, < 6.14.2

Verify advisory

Source
linux kernel
linux
2.6.12

Verify advisory

Source
linux kernel
linux
2.6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b98506e61e1bb6764c6711198cfab826df8ca952

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1fee021d6cf1d41b3f6e3fd028939be8f5d5c5db

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b57a8983916fc2cf54fd8de3afc733c6b3d1c0e5

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 41da1715cd24e177678f93ee27f737b095fc838b

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77038187890ea82d237b05c8a9c4e08a38b1efcb

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f605bc3e162f5c6faa9bd3602ce496053d06a4bb

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b5799dd77054c1ec49b0088b006c9908e256843b

Verify advisory

Source
Linux
Linux
2.6.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.