We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-58095

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



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

Reserved 2025-03-06 | Published 2025-04-16 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 15469c408af2d7a52fb186a92f2f091b0f13b1fb
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0176e69743ecc02961f2ae1ea42439cd2bf9ed58
affected

Default status
affected

2.6.12
affected

Any version before 2.6.12
unaffected

6.14.2
unaffected

6.15
unaffected

References

git.kernel.org/...c/15469c408af2d7a52fb186a92f2f091b0f13b1fb

git.kernel.org/...c/0176e69743ecc02961f2ae1ea42439cd2bf9ed58

cve.org (CVE-2024-58095)

nvd.nist.gov (CVE-2024-58095)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-58095

Support options

Helpdesk Chat, Email, Knowledgebase