CVE-2024-58095

Source
https://cve.org/CVERecord?id=CVE-2024-58095
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58095.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58095
Downstream
Related
Published
2025-04-16T14:11:43.934Z
Modified
2026-03-20T12:39:58.957095Z
Summary
jfs: add check read-only before txBeginAnon() call
Details

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/jfsextent.c:78 jfsget_block+0x340/0xb98 fs/jfs/inode.c:248 __blockwritebegin_int+0x580/0x166c fs/buffer.c:2128 __blockwritebegin fs/buffer.c:2177 [inline] blockwritebegin+0x98/0x11c fs/buffer.c:2236 jfswritebegin+0x44/0x88 fs/jfs/inode.c:299

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58095.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
15469c408af2d7a52fb186a92f2f091b0f13b1fb
Fixed
0176e69743ecc02961f2ae1ea42439cd2bf9ed58

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58095.json"