NULL pointer dereference in Linux kernel - CVE-2024-26595

 

NULL pointer dereference in Linux kernel - CVE-2024-26595

Published: March 12, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU87369
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-26595
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the spectrum_acl_tcam() function in drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c. A local user can pass specially crafted data to the driver and perform a denial of service (DoS) attack.


Affected software

Linux kernel
Oracle Linux
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Ubuntu
openEuler
Dell Data Protection Central
PowerProtect DP Series Appliance (IDPA)
Storage Copy Data Management
Cloud Pak for Network Automation
Technical Support Appliance
IBM Cloud Pak for Watson AIOps
Storage Resource Manager
Dell Policy Manager for Secure Connect Gateway (SCG)
EMC Cloud Tiering Appliance
linux-starfive (Ubuntu package)
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp (Ubuntu package)
linux-lowlatency-hwe-6.5 (Ubuntu package)
linux-azure-6.5 (Ubuntu package)
linux-starfive-6.5 (Ubuntu package)
linux-gcp-6.5 (Ubuntu package)
linux-image-4.15.0-1177-aws (Ubuntu package)
linux-image-4.15.0-1160-kvm (Ubuntu package)
linux-image-4.15.0-1139-oracle (Ubuntu package)
linux-image-4.15.0-1170-gcp (Ubuntu package)
linux-image-4.15.0-233-generic (Ubuntu package)
linux-image-4.15.0-233-lowlatency (Ubuntu package)
linux-image-aws-lts-18.04 (Ubuntu package)
linux-image-gcp-lts-18.04 (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-oracle-lts-18.04 (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-aws-hwe (Ubuntu package)
linux-image-generic-hwe-16.04 (Ubuntu package)
linux-image-azure (Ubuntu package)
linux-image-4.15.0-1185-azure (Ubuntu package)
linux-image-gcp (Ubuntu package)
linux-image-azure-lts-18.04 (Ubuntu package)
linux-image-virtual-hwe-16.04 (Ubuntu package)
linux-image-oracle (Ubuntu package)
linux-image-oem (Ubuntu package)
linux-image-lowlatency-hwe-16.04 (Ubuntu package)
linux-image-gke (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-tools
kernel
kernel-core
kernel-cross-headers
kernel-debug
kernel-debug-core
kernel-debug-devel
kernel-debug-modules
kernel-debug-modules-extra
kernel-devel
kernel-headers
kernel-modules
kernel-modules-extra
kernel-doc
kernel-abi-stablelists
python3-perf
perf
kernel-tools-libs-devel
kernel-tools-libs
bpftool
python2-perf
bpftool-debuginfo
kernel-debuginfo
python3-perf-debuginfo
kernel-tools-devel
python2-perf-debuginfo
kernel-debugsource
perf-debuginfo
kernel-source
kernel-tools-debuginfo
linux-image-6.5.0-41-generic-64k (Ubuntu package)
linux-image-6.5.0-41-generic (Ubuntu package)
linux-image-6.5.0-1017-laptop (Ubuntu package)
linux-image-6.5.0-1021-nvidia-64k (Ubuntu package)
linux-image-6.5.0-1021-nvidia (Ubuntu package)
linux-image-6.5.0-1022-oem (Ubuntu package)
linux-image-generic-hwe-22.04 (Ubuntu package)
linux-image-generic-64k-hwe-22.04 (Ubuntu package)
linux-image-virtual-hwe-22.04 (Ubuntu package)
linux-image-laptop-23.10 (Ubuntu package)
linux-image-nvidia-6.5 (Ubuntu package)
linux-image-nvidia-64k-6.5 (Ubuntu package)
linux-image-nvidia-64k-hwe-22.04 (Ubuntu package)
linux-image-nvidia-hwe-22.04 (Ubuntu package)
linux-image-oem-22.04 (Ubuntu package)
linux-image-oem-22.04a (Ubuntu package)
linux-image-oem-22.04b (Ubuntu package)
linux-image-oem-22.04c (Ubuntu package)
linux-image-oem-22.04d (Ubuntu package)
Red Hat OpenShift Container Platform
Dell EMC Storage Monitoring and Reporting (SMR)
OpenShift Logging
Dell Secure Connect Gateway
IBM Spectrum Protect Plus

How to mitigate CVE-2024-26595

Install updates from vendor's website.

Linux kernel - addressed in versions 6.1.120, 6.6.14, 6.7.2, 6.8
linux-starfive (Ubuntu package) - update to 6.5.0-1015.16
linux (Ubuntu package) - update to 6.5.0-41.41
linux-lowlatency (Ubuntu package) - update to 6.5.0-41.41.1
linux-azure (Ubuntu package) - update to 6.5.0-1022.23
linux-raspi (Ubuntu package) - update to 6.5.0-1018.21
linux-gcp (Ubuntu package) - update to 6.5.0-1022.24
linux-lowlatency-hwe-6.5 (Ubuntu package) - update to 6.5.0-41.41.1~22.04.1
linux-azure-6.5 (Ubuntu package) - update to 6.5.0-1022.23~22.04.1
linux-starfive-6.5 (Ubuntu package) - update to 6.5.0-1015.16~22.04.1
linux-gcp-6.5 (Ubuntu package) - update to 6.5.0-1022.24~22.04.1
linux-image-4.15.0-1177-aws (Ubuntu package) - update to Ubuntu Pro
linux-image-4.15.0-1160-kvm (Ubuntu package) - update to Ubuntu Pro
linux-image-4.15.0-1139-oracle (Ubuntu package) - update to Ubuntu Pro
linux-image-4.15.0-1170-gcp (Ubuntu package) - update to Ubuntu Pro
linux-image-4.15.0-233-generic (Ubuntu package) - update to Ubuntu Pro
linux-image-4.15.0-233-lowlatency (Ubuntu package) - update to Ubuntu Pro
linux-image-aws-lts-18.04 (Ubuntu package) - update to Ubuntu Pro
linux-image-gcp-lts-18.04 (Ubuntu package) - update to Ubuntu Pro
linux-image-generic (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-kvm (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-lowlatency (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-oracle-lts-18.04 (Ubuntu package) - update to Ubuntu Pro
linux-image-virtual (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-aws-hwe (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-generic-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-azure (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-4.15.0-1185-azure (Ubuntu package) - addressed in versions Ubuntu Pro, linux-image-azure
linux-image-gcp (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-azure-lts-18.04 (Ubuntu package) - update to Ubuntu Pro
linux-image-virtual-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-oracle (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-oem (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-lowlatency-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-gke (Ubuntu package) - update to Ubuntu Pro (Infra-only)
kernel (Red Hat package) - update to 4.18.0-553.22.1.el8_10
kernel-rt (Red Hat package) - update to 4.18.0-553.22.1.rt7.363.el8_10
kernel-tools - update to 4.18.0-553.22.1.0.1
kernel - update to 4.18.0-553.22.1.0.1
kernel-core - update to 4.18.0-553.22.1.0.1
kernel-cross-headers - update to 4.18.0-553.22.1.0.1
kernel-debug - update to 4.18.0-553.22.1.0.1
kernel-debug-core - update to 4.18.0-553.22.1.0.1
kernel-debug-devel - update to 4.18.0-553.22.1.0.1
kernel-debug-modules - update to 4.18.0-553.22.1.0.1
kernel-debug-modules-extra - update to 4.18.0-553.22.1.0.1
kernel-devel - update to 4.18.0-553.22.1.0.1
kernel-headers - update to 4.18.0-553.22.1.0.1
kernel-modules - update to 4.18.0-553.22.1.0.1
kernel-modules-extra - update to 4.18.0-553.22.1.0.1
kernel-doc - update to 4.18.0-553.22.1.0.1
kernel-abi-stablelists - update to 4.18.0-553.22.1.0.1
python3-perf - update to 4.18.0-553.22.1.0.1
perf - update to 4.18.0-553.22.1.0.1
kernel-tools-libs-devel - update to 4.18.0-553.22.1.0.1
kernel-tools-libs - update to 4.18.0-553.22.1.0.1
bpftool - update to 4.18.0-553.22.1.0.1
kernel-tools - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
python2-perf - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267
bpftool-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155
kernel-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
python3-perf-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-tools-devel - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
bpftool - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155
python2-perf-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267
kernel - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-debugsource - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
perf-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-devel - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-source - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-tools-debuginfo - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
python3-perf - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
perf - addressed in versions 4.19.90-2402.6.0.0240, 4.19.90-2402.6.0.0267, 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
kernel-headers - addressed in versions 5.10.0-60.128.0.155, 5.10.0-136.66.0.146, 5.10.0-153.45.0.123, 5.10.0-189.0.0.102
Storage Copy Data Management - update to 2.2.25.0
Cloud Pak for Network Automation - update to 2.7.7
Technical Support Appliance - update to 3.0.1
IBM Cloud Pak for Watson AIOps - update to 4.7.0
Red Hat OpenShift Container Platform - addressed in versions 4.13.52, 4.14.38, 4.15.35
Dell EMC Storage Monitoring and Reporting (SMR) - update to 5.0.1.0
Storage Resource Manager - update to 5.0.1.0
OpenShift Logging - update to 5.6.25
Dell Secure Connect Gateway - update to 5.24.00.14
Dell Policy Manager for Secure Connect Gateway (SCG) - update to 5.24.00.14
IBM Spectrum Protect Plus - update to 10.1.6.4
EMC Cloud Tiering Appliance - update to 13.2.0.2.29
linux-image-6.5.0-41-generic-64k (Ubuntu package) - update to 6.5.0-41.41~22.04.2
linux-image-6.5.0-41-generic (Ubuntu package) - update to 6.5.0-41.41~22.04.2
linux-image-6.5.0-1017-laptop (Ubuntu package) - update to 6.5.0-1017.20
linux-image-6.5.0-1021-nvidia-64k (Ubuntu package) - update to 6.5.0-1021.22
linux-image-6.5.0-1021-nvidia (Ubuntu package) - update to 6.5.0-1021.22
linux-image-6.5.0-1022-oem (Ubuntu package) - update to 6.5.0-1022.23
linux-image-generic-hwe-22.04 (Ubuntu package) - update to 6.5.0.41.41~22.04.2
linux-image-generic-64k-hwe-22.04 (Ubuntu package) - update to 6.5.0.41.41~22.04.2
linux-image-virtual-hwe-22.04 (Ubuntu package) - update to 6.5.0.41.41~22.04.2
linux-image-laptop-23.10 (Ubuntu package) - update to 6.5.0.1017.20
linux-image-nvidia-6.5 (Ubuntu package) - update to 6.5.0.1021.29
linux-image-nvidia-64k-6.5 (Ubuntu package) - update to 6.5.0.1021.29
linux-image-nvidia-64k-hwe-22.04 (Ubuntu package) - update to 6.5.0.1021.29
linux-image-nvidia-hwe-22.04 (Ubuntu package) - update to 6.5.0.1021.29
linux-image-oem-22.04 (Ubuntu package) - update to 6.5.0.1022.24
linux-image-oem-22.04a (Ubuntu package) - update to 6.5.0.1022.24
linux-image-oem-22.04b (Ubuntu package) - update to 6.5.0.1022.24
linux-image-oem-22.04c (Ubuntu package) - update to 6.5.0.1022.24
linux-image-oem-22.04d (Ubuntu package) - update to 6.5.0.1022.24

External References

Related Security Bulletins