A NULL pointer dereference flaw was found in dbFree in fs/jfs/jfs_dmap.c in journaling file system (JFS) in the Linux Kernel. In this flaw, a local attacker may crash the system due to a missing sanity check. In our fault-injection testing, the variable "nblocks" in dbFree() can be zero when kmalloc_array() fails in dtSearch(). In this case, the variable "mp" in dbFree() would be NULL and then it is dereferenced in "write_metapage(mp)". References: https://github.com/torvalds/linux/commit/0d4837fdb796f99369cf7691d33de1b856bcaf1f
The affected code was not introduced into any kernel versions shipped with Red Hat Enterprise Linux (except RHEL6) making this vulnerable not applicable to these platforms.
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2023-4385