CWE
476
EPSS
0.049%
Advisory Published
CVE Published
Updated

CVE-2023-6915: Kernel: null pointer dereference vulnerability in ida_free in lib/idr.c

First published: Mon Dec 18 2023(Updated: )

A Null pointer de-reference problem was found in ida_free in lib/idr.c file when it calls the xas_load function and returns a null value, assigning NULL to the bitmap variable. Therefore, `if (xa_is_value(bitmap))` will fail and jump to the `else` branch. However, in the else branch, the statement `if (!test_bit(bit, bitmap-&gt;bitmap))` references the member of bitmap, which triggers a null pointer dereference vulnerability. Reference: <a href="https://github.com/torvalds/linux/commit/af73483f4e8b6f5c68c9aa63257bdd929a9c194a">https://github.com/torvalds/linux/commit/af73483f4e8b6f5c68c9aa63257bdd929a9c194a</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Kernel<6.7
Linux Kernel=6.7-rc7
Linux Kernel=6.7-rc8
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.13-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.

Frequently Asked Questions

  • What is the severity of CVE-2023-6915?

    CVE-2023-6915 has a high severity due to its potential for causing system crashes through a null pointer dereference.

  • How do I fix CVE-2023-6915?

    To fix CVE-2023-6915, update the Linux Kernel to a version that includes patches, such as those released after 6.7.

  • What software is affected by CVE-2023-6915?

    CVE-2023-6915 affects several versions of the Linux Kernel and specific Red Hat Enterprise Linux versions.

  • What are the potential impacts of CVE-2023-6915?

    Exploitation of CVE-2023-6915 could lead to denial of service by crashing the affected system.

  • Is there a workaround for CVE-2023-6915?

    There are no known workarounds for CVE-2023-6915, so it is recommended to apply security updates promptly.

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