First published: Mon Jul 03 2023(Updated: )
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: <a href="https://github.com/torvalds/linux/commit/0d4837fdb796f99369cf7691d33de1b856bcaf1f">https://github.com/torvalds/linux/commit/0d4837fdb796f99369cf7691d33de1b856bcaf1f</a>
Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/Kernel | <5.19 | 5.19 |
Linux Kernel | <=5.18.19 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.17-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-4385 is classified as a high-severity vulnerability due to its potential to crash the system.
To fix CVE-2023-4385, update the Linux kernel to version 5.19 or later.
CVE-2023-4385 affects multiple versions of the Linux kernel, specifically versions up to 5.18.19 and certain specified versions in the 5.10 and 6.1 series.
CVE-2023-4385 can be exploited by a local attacker who can trigger a NULL pointer dereference.
CVE-2023-4385 exploits a NULL pointer dereference in the dbFree function of the journaling file system (JFS) in the Linux kernel.