CWE
476
EPSS
0.049%
Advisory Published
CVE 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 Linux kernel<6.7
Linux Linux kernel=6.7-rc7
Linux Linux kernel=6.7-rc8
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
ubuntu/linux<6.7~
6.7~
ubuntu/linux-aws<6.7~
6.7~
ubuntu/linux-aws-5.15<6.7~
6.7~
ubuntu/linux-aws-5.4<6.7~
6.7~
ubuntu/linux-aws-6.5<6.7~
6.7~
ubuntu/linux-aws-hwe<6.7~
6.7~
ubuntu/linux-azure<6.7~
6.7~
ubuntu/linux-azure-4.15<6.7~
6.7~
ubuntu/linux-azure-5.15<6.7~
6.7~
ubuntu/linux-azure-5.4<6.7~
6.7~
ubuntu/linux-azure-6.5<6.7~
6.7~
ubuntu/linux-azure-fde<6.7~
6.7~
ubuntu/linux-azure-fde-5.15<6.7~
6.7~
ubuntu/linux-bluefield<6.7~
6.7~
ubuntu/linux-fips<6.7~
6.7~
ubuntu/linux-gcp<6.7~
6.7~
ubuntu/linux-gcp-4.15<6.7~
6.7~
ubuntu/linux-gcp-5.15<6.7~
6.7~
ubuntu/linux-gcp-5.4<6.7~
6.7~
ubuntu/linux-gcp-6.5<6.7~
6.7~
ubuntu/linux-gke<6.7~
6.7~
ubuntu/linux-gkeop<6.7~
6.7~
ubuntu/linux-gkeop-5.15<6.7~
6.7~
ubuntu/linux-hwe<6.7~
6.7~
ubuntu/linux-hwe-5.15<6.7~
6.7~
ubuntu/linux-hwe-5.4<6.7~
6.7~
ubuntu/linux-hwe-6.5<6.7~
6.7~
ubuntu/linux-ibm<6.7~
6.7~
ubuntu/linux-ibm-5.15<6.7~
6.7~
ubuntu/linux-ibm-5.4<6.7~
6.7~
ubuntu/linux-intel-iotg<6.7~
6.7~
ubuntu/linux-intel-iotg-5.15<6.7~
6.7~
ubuntu/linux-iot<6.7~
6.7~
ubuntu/linux-kvm<6.7~
6.7~
ubuntu/linux-laptop<6.7~
6.7~
ubuntu/linux-lowlatency<6.7~
6.7~
ubuntu/linux-lowlatency-hwe-5.15<6.7~
6.7~
ubuntu/linux-lowlatency-hwe-6.5<6.7~
6.7~
ubuntu/linux-lts-xenial<6.7~
6.7~
ubuntu/linux-nvidia<6.7~
6.7~
ubuntu/linux-nvidia-6.5<6.7~
6.7~
ubuntu/linux-oem-6.1<6.1.0-1034.34
6.1.0-1034.34
ubuntu/linux-oem-6.5<6.7~
6.7~
ubuntu/linux-oracle<6.7~
6.7~
ubuntu/linux-oracle-5.15<6.7~
6.7~
ubuntu/linux-oracle-5.4<6.7~
6.7~
ubuntu/linux-oracle-6.5<6.7~
6.7~
ubuntu/linux-raspi<6.7~
6.7~
ubuntu/linux-raspi-5.4<6.7~
6.7~
ubuntu/linux-riscv<6.7~
6.7~
ubuntu/linux-riscv-5.15<6.7~
6.7~
ubuntu/linux-riscv-6.5<6.7~
6.7~
ubuntu/linux-starfive<6.7~
6.7~
ubuntu/linux-starfive-6.5<6.7~
6.7~
ubuntu/linux-xilinx-zynqmp<6.7~
6.7~
debian/linux<=4.19.249-2<=4.19.304-1<=5.10.205-2
5.10.209-2
6.1.76-1
6.1.85-1
6.7.12-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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203