{"id":"CVE-2024-58095","aliases":["CVE-2024-58095"],"related":[],"kind":"vulnerability","state":"published","title":"jfs: add check read-only before txBeginAnon() call","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: add check read-only before txBeginAnon() call\n\nAdded a read-only check before calling `txBeginAnon` in `extAlloc`\nand `extRecord`. This prevents modification attempts on a read-only\nmounted filesystem, avoiding potential errors or crashes.\n\nCall trace:\n txBeginAnon+0xac/0x154\n extAlloc+0xe8/0xdec fs/jfs/jfs_extent.c:78\n jfs_get_block+0x340/0xb98 fs/jfs/inode.c:248\n __block_write_begin_int+0x580/0x166c fs/buffer.c:2128\n __block_write_begin fs/buffer.c:2177 [inline]\n block_write_begin+0x98/0x11c fs/buffer.c:2236\n jfs_write_begin+0x44/0x88 fs/jfs/inode.c:299","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: add check read-only before txBeginAnon() call\n\nAdded a read-only check before calling `txBeginAnon` in `extAlloc`\nand `extRecord`. This prevents modification attempts on a read-only\nmounted filesystem, avoiding potential errors or crashes.\n\nCall trace:\n txBeginAnon+0xac/0x154\n extAlloc+0xe8/0xdec fs/jfs/jfs_extent.c:78\n jfs_get_block+0x340/0xb98 fs/jfs/inode.c:248\n __block_write_begin_int+0x580/0x166c fs/buffer.c:2128\n __block_write_begin fs/buffer.c:2177 [inline]\n block_write_begin+0x98/0x11c fs/buffer.c:2236\n jfs_write_begin+0x44/0x88 fs/jfs/inode.c:299","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: jfs: añadir comprobación de solo lectura antes de llamar a txBeginAnon(). Se añadió una comprobación de solo lectura antes de llamar a `txBeginAnon` en `extAlloc` y `extRecord`. Esto impide intentos de modificación en un sistema de archivos montado de solo lectura, lo que evita posibles errores o bloqueos. Rastreo de llamadas: 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 [en línea] block_write_begin+0x98/0x11c fs/buffer.c:2236 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:299","source":"nvd"}],"published":"2025-04-16T14:11:43.934Z","modified":"2026-09-02T13:16:48.537Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"97ac32b08442f5327867ad7d70d6ac6ebaa2a41a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"93f11ab37f1c657f4265228ba3c2ff66bbefa24d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"469bd67fc338e77d7585e4f20d4212afd44fefdc","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"47a99881ecc50ff2bf4e7a6c3058fe1704073df9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"939dba7a6404d4ac88e2539cb21ac659f5757fd9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"15469c408af2d7a52fb186a92f2f091b0f13b1fb","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0176e69743ecc02961f2ae1ea42439cd2bf9ed58","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.269","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.220","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.187","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.156","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.13","fixed":"6.14.2"},{"status":"affected","version":"2.6.12"},{"status":"affected","version":"2.6.12"},{"status":"affected","version":"2.6.12"},{"status":"affected","version":"2.6.12"},{"status":"affected","version":"2.6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/97ac32b08442f5327867ad7d70d6ac6ebaa2a41a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93f11ab37f1c657f4265228ba3c2ff66bbefa24d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/469bd67fc338e77d7585e4f20d4212afd44fefdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47a99881ecc50ff2bf4e7a6c3058fe1704073df9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/939dba7a6404d4ac88e2539cb21ac659f5757fd9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15469c408af2d7a52fb186a92f2f091b0f13b1fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0176e69743ecc02961f2ae1ea42439cd2bf9ed58","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58095","url":"https://www.cve.org/CVERecord?id=CVE-2024-58095","licence":"CVE Terms of Use","modified":"2026-09-02T12:49:15.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58095","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58095","licence":"Public domain","modified":"2026-09-02T13:16:48.537Z"}],"updatedAt":"2026-11-25T22:58:52.539Z","epss":{"score":0.00208,"percentile":0.11572,"date":"2026-12-01T12:00:22.000Z"}}