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

Published Dec 18, 2023
·
Updated

A Null pointer de-reference problem was found in idafree in lib/idr.c file when it calls the xasload function and returns a null value, assigning NULL to the bitmap variable.

Therefore, if (xaisvalue(bitmap)) will fail and jump to the else branch. However, in the else branch, the statement if (!testbit(bit, bitmap->bitmap)) references the member of bitmap, which triggers a null pointer dereference vulnerability.

Reference: https://github.com/torvalds/linux/commit/af73483f4e8b6f5c68c9aa63257bdd929a9c194a

Other sources

A Null pointer dereference problem was found in idafree in lib/idr.c in the Linux Kernel. This issue may allow an attacker using this library to cause a denial of service problem due to a missing check at a function return.

— Launchpad

Kernel: null pointer dereference vulnerability in idafree in lib/idr.c

— Microsoft

Linux Kernel is vulnerable to a denial of service, caused by a NULL pointer dereference flaw in the idafree function in lib/idr.c. By sending a specially crafted request, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

85 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
Microsoft azl3 kernel 6.6.29.1-4
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft azl3 kernel 6.6.92.2-1
Microsoft cbl2 kernel 5.15.148.2-2
Microsoft cbl2 kernel 5.15.180.1-1
Debian Debian Linux=10.0
redhat Codeready Linux Builder=8.0
redhat Codeready Linux Builder For Arm64=8.0_aarch64
redhat Codeready Linux Builder For Power Little Endian=8.0
redhat Codeready Linux Builder For Power Little Endian Els=8.10
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux For Els=8.10
redhat Enterprise Linux For Els=8.10
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Els=8.10
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Real Time=8.0
redhat Enterprise Linux For Real Time For Nfv=8.0
redhat Codeready Linux Builder=9.0
redhat Codeready Linux Builder=9.0
redhat Codeready Linux Builder For Eus=9.4
redhat Codeready Linux Builder For Eus=9.4
redhat Codeready Linux Builder For Eus=9.6
redhat Codeready Linux Builder For Eus=9.6
redhat Codeready Linux Builder For Eus=9.8
redhat Codeready Linux Builder For Eus=9.8
redhat Codeready Linux Builder For Ibm Z Systems=9.0_s390x
redhat Codeready Linux Builder For Ibm Z Systems Eus=9.4_s390x
redhat Codeready Linux Builder For Ibm Z Systems Eus=9.6_s390x
redhat Codeready Linux Builder For Ibm Z Systems Eus=9.8_s390x
redhat Codeready Linux Builder For Power Little Endian=9.0_ppc64le
redhat Codeready Linux Builder For Power Little Endian Eus=9.4_ppc64le
redhat Codeready Linux Builder For Power Little Endian Eus=9.6_ppc64le
redhat Codeready Linux Builder For Power Little Endian Eus=9.8_ppc64le
redhat Enterprise Linux=9.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=9.4
redhat Enterprise Linux=9.6
redhat Enterprise Linux=9.8
redhat Enterprise Linux Eus=9.4
redhat Enterprise Linux Eus=9.4
redhat Enterprise Linux Eus=9.6
redhat Enterprise Linux Eus=9.6
redhat Enterprise Linux Eus=9.8
redhat Enterprise Linux Eus=9.8
redhat Enterprise Linux For Els=9.4
redhat Enterprise Linux For Els=9.4
redhat Enterprise Linux For Els=9.6
redhat Enterprise Linux For Els=9.6
redhat Enterprise Linux For Els=9.8
redhat Enterprise Linux For Els=9.8
redhat Enterprise Linux For Ibm Z Systems=9.0
redhat Enterprise Linux For Ibm Z Systems=9.4_s390x
redhat Enterprise Linux For Ibm Z Systems=9.6_s390x
redhat Enterprise Linux For Ibm Z Systems=9.8_s390x
redhat Enterprise Linux For Ibm Z Systems Els=9.4
redhat Enterprise Linux For Ibm Z Systems Els=9.6
redhat Enterprise Linux For Ibm Z Systems Els=9.8
redhat Enterprise Linux For Ibm Z Systems Eus=9.4_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.6_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.8_s390x
redhat Enterprise Linux For Power Little Endian=9.0
redhat Enterprise Linux For Power Little Endian Els=9.4
redhat Enterprise Linux For Power Little Endian Els=9.6
redhat Enterprise Linux For Power Little Endian Els=9.8
redhat Enterprise Linux For Power Little Endian Eus=9.4_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.6_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.8
redhat Enterprise Linux Server Aus=9.4
redhat Enterprise Linux Server Aus=9.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.4_ppc64le
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.6_ppc64le
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.8
redhat Enterprise Linux Update Services For Sap Solutions=9.4
redhat Enterprise Linux Update Services For Sap Solutions=9.6
redhat Enterprise Linux Update Services For Sap Solutions=9.8
Linux Linux kernel<6.6.13
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1

Event History

Dec 18, 2023
Data Sourced
via Red Hat·10:27 AM
DescriptionSeverityAffected Software
Jan 15, 2024
CVE Published
via MITRE·09:32 AM
Data Sourced
via MITRE·09:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 23, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203