CVE-2024-58095

jfs: add check read-only before txBeginAnon() call

MEDIUM
5.5
CVSS Score
Published: April 16, 2025 at 02:11 PM UTC
Updated: September 2, 2026 at 02:02 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: add check read-only before txBeginAnon() call Added a read-only check before calling `txBeginAnon` in `extAlloc` and `extRecord`. This prevents modification attempts on a read-only mounted filesystem, avoiding potential errors or crashes. Call trace: txBeginAnon+0xac/0x154 extAlloc+0xe8/0xdec fs/jfs/jfs_extent.c:78 jfs_get_block+0x340/0xb98 fs/jfs/inode.c:248 __block_write_begin_int+0x580/0x166c fs/buffer.c:2128 __block_write_begin fs/buffer.c:2177 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2236 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:299

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 5.10.2692.6.12 ≤ v < 5.15.2202.6.12 ≤ v < 6.1.1872.6.12 ≤ v < 6.12.1082.6.12 ≤ v < 6.14.22.6.12 ≤ v < 6.152.6.12 ≤ v < 6.6.1562.6.13 ≤ v < 6.14.21da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.122.6.12 rc22.6.12 rc32.6.12 rc42.6.12 rc5
Vendor states this is fixed in 0176e69743ecc02961f2ae1ea42439cd2bf9ed58 (fixed)
Vendor states this is fixed in 15469c408af2d7a52fb186a92f2f091b0f13b1fb (fixed)
Vendor states this is fixed in 469bd67fc338e77d7585e4f20d4212afd44fefdc (fixed)
Vendor states this is fixed in 47a99881ecc50ff2bf4e7a6c3058fe1704073df9 (fixed)
Vendor states this is fixed in 939dba7a6404d4ac88e2539cb21ac659f5757fd9 (fixed)
Vendor states this is fixed in 93f11ab37f1c657f4265228ba3c2ff66bbefa24d (fixed)
Vendor states this is fixed in 97ac32b08442f5327867ad7d70d6ac6ebaa2a41a (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.269 (unaffected)
Vendor states this is fixed in 5.15.220 (unaffected)
Vendor states this is fixed in 6.1.187 (unaffected)
Vendor states this is fixed in 6.12.108 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.156 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card