CVE-2024-58094: jfs: add check read-only before truncation in jfs_truncate_nolock()
Vulnerability summary
CVE-2024-58094 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 16Timeline
- 16-04-2025PublishedVulnerability first disclosed.
- 02-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu141 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.60-r4 | < 6.12.74-r0 | < 6.12.65-r1 | < 6.12.62-r2 | < 6.12.68-r0 | < 6.12.68-r1 | < 6.12.67-r0 | < 6.12.65-r2 | < 6.12.74-r1 | < 6.12.77-r2 | < 6.12.77-r0 | < 6.12.66-r0 | < 6.12.63-r0 | < 6.12.70-r0 | < 6.12.62-r0 | < 6.12.57-r2 | < 6.12.69-r0 | < 6.12.76-r0 | < 6.12.77-r1 | < 6.12.78-r0 | < 6.12.72-r0 | < 6.12.65-r0 | < 6.12.62-r1 | < 6.12.57-r1 | < 6.12.72-r1 | < 6.12.80-r0 | < 6.12.71-r0
- linux-azure-6.12< 6.12.65-r2 | < 6.12.57-r2 | < 6.12.63-r0 | < 6.12.62-r0 | < 6.12.57-r1 | < 6.12.60-r3 | < 6.12.80-r0 | < 6.12.62-r1 | < 6.12.66-r0 | < 6.12.70-r0 | < 6.12.60-r4 | < 6.12.69-r0 | < 6.12.74-r0 | < 6.12.68-r0 | < 6.12.71-r0 | < 6.12.77-r1 | < 6.12.78-r0 | < 6.12.65-r1 | < 6.12.74-r1 | < 6.12.62-r2 | < 6.12.76-r0 | < 6.12.77-r2 | < 6.12.67-r0 | < 6.12.65-r4 | < 6.12.77-r0 | < 6.12.72-r0 | < 6.12.65-r3
- linux-gcp-6.12< 6.12.77-r1 | < 6.12.74-r1 | < 6.12.65-r0 | < 6.12.65-r2 | < 6.12.77-r0 | < 6.12.62-r0 | < 6.12.71-r0 | < 6.12.80-r0 | < 6.12.62-r2 | < 6.12.63-r0 | < 6.12.77-r2 | < 6.12.78-r0 | < 6.12.76-r0 | < 6.12.69-r0 | < 6.12.66-r0 | < 6.12.70-r0 | < 6.12.68-r0 | < 6.12.57-r2 | < 6.12.65-r1 | < 6.12.68-r1 | < 6.12.72-r0 | < 6.12.57-r1 | < 6.12.74-r0 | < 6.12.60-r3 | < 6.12.67-r0 | < 6.12.60-r4 | < 6.12.62-r1
- linux-qemu-6.12< 6.12.78-r0 | < 6.12.71-r0 | < 6.12.77-r0 | < 6.12.77-r1 | < 6.12.69-r0 | < 6.12.70-r0 | < 6.12.80-r0 | < 6.12.72-r0 | < 6.12.68-r0 | < 6.12.67-r0 | < 6.12.74-r0 | < 6.12.66-r0 | < 6.12.65-r2 | < 6.12.77-r2 | < 6.12.74-r1 | < 6.12.65-r1 | < 6.12.76-r0
- linux-vmware-6.12< 6.12.70-r0 | < 6.12.74-r1 | < 6.12.71-r0 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.69-r0 | < 6.12.77-r0 | < 6.12.66-r0 | < 6.12.65-r2 | < 6.12.78-r0 | < 6.12.67-r0 | < 6.12.76-r0 | < 6.12.68-r1 | < 6.12.80-r0 | < 6.12.77-r2 | < 6.12.68-r0 | < 6.12.74-r0 | < 6.12.77-r1
Debian2 products
- linux< 6.1.187-1 | < 6.12.111-1 | < 6.16.3-1
- linux-6.12< 6.12.111-1~deb12u1
Linux2 products
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b98506e61e1bb6764c6711198cfab826df8ca952 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1fee021d6cf1d41b3f6e3fd028939be8f5d5c5db | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b57a8983916fc2cf54fd8de3afc733c6b3d1c0e5 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 41da1715cd24e177678f93ee27f737b095fc838b | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77038187890ea82d237b05c8a9c4e08a38b1efcb | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f605bc3e162f5c6faa9bd3602ce496053d06a4bb | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b5799dd77054c1ec49b0088b006c9908e256843b | 2.6.12
- linux_kernel≥ 2.6.13, < 6.14.2 | 2.6.12 | 2.6.12:rc2 | 2.6.12:rc3 | 2.6.12:rc4 | 2.6.12:rc5
4 vendors · 150 products