Back

HIGH

jfs: check if leafidx greater than num leaves per dmap tree

Published Oct 21, 2024

Description

syzbot report a out of bounds in dbSplit, it because dmt_leafidx greater than num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.

Shaggy: Modified sanity check to apply to control pages as well as leaf pages.

Affected products

Remediation

Red Hat mitigation

To mitigate this issue, prevent the `jfs` kernel module from loading if the JFS filesystem is not in use. This can be achieved by creating a modprobe configuration file. Create `/etc/modprobe.d/disable-jfs.conf` with the following content: `install jfs /bin/true` `blacklist jfs` After creating the file, regenerate the initramfs and reboot the system for the changes to take effect. `dracut -f -v` `reboot` This mitigation may impact systems that rely on the JFS filesystem.

References (19)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Oct 21, 2024
Updated Aug 5, 2026
Reserved Oct 21, 2024

CISA Vulnrichment

Updated Oct 22, 2024

NVD

Status Modified
Modified Aug 4, 2026

Red Hat

Severity Moderate
Public date Oct 21, 2024
Bugzilla 2320567

ENISA EUVD

Assigner Linux
Published Oct 21, 2024
Updated Aug 5, 2026

GitHub

No data