CVE-2024-58095

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

No CVSS score yet EPSS 0.21%

Published 16 Apr 2025 Updated 2 Sep 2026 CNA: Linux

Check your servers for CVE-2024-58095

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-58095 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 97ac32b08442f5327867ad7d70d6ac6ebaa2a41a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 93f11ab37f1c657f4265228ba3c2ff66bbefa24d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 469bd67fc338e77d7585e4f20d4212afd44fefdc
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 47a99881ecc50ff2bf4e7a6c3058fe1704073df9
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 939dba7a6404d4ac88e2539cb21ac659f5757fd9
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 15469c408af2d7a52fb186a92f2f091b0f13b1fb
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0176e69743ecc02961f2ae1ea42439cd2bf9ed58
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.269 up to and including 5.10.*
unaffected from 5.15.220 up to and including 5.15.*
unaffected from 6.1.187 up to and including 6.1.*
unaffected from 6.6.156 up to and including 6.6.*
unaffected from 6.12.108 up to and including 6.12.*
unaffected from 6.14.2 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-58095 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-58095

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-58095
trivy image --scanners vuln IMAGE | grep CVE-2024-58095

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-58095 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.