CWE
476
Advisory Published
CVE Published
Updated

CVE-2023-4385: Kernel: jfs: null pointer dereference in dbfree()

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 SoftwareAffected VersionHow to fix
Linux Linux kernel<=5.18.19
redhat/Kernel<5.19
5.19
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.119-1
6.12.6-1
6.12.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203