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

CVE-2024-58095
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 97ac32b08442f5327867ad7d70d6ac6ebaa2a41a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 93f11ab37f1c657f4265228ba3c2ff66bbefa24d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 469bd67fc338e77d7585e4f20d4212afd44fefdc ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 47a99881ecc50ff2bf4e7a6c3058fe1704073df9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 939dba7a6404d4ac88e2539cb21ac659f5757fd9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 15469c408af2d7a52fb186a92f2f091b0f13b1fb
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.269 ≤ 5.10.* ; unaffected 5.15.220 ≤ 5.15.* ; unaffected 6.1.187 ≤ 6.1.* ; unaffected 6.6.156 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD