CVE-2024-36890
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-36890) was discovered in the memory management subsystem, specifically related to the handling of error pointers in the slab allocator. The issue was identified and resolved in May 2024, affecting the Linux kernel's memory management functionality (Kernel Git).

Technical details

The vulnerability occurs when an automatically freed allocation is an error pointer, which can lead to a system crash. The specific issue is demonstrated in the wm831x_gpio_dbg_show() function where a label allocation using __free(kfree) could trigger a crash if the allocation returns an error pointer. The auto cleanup function did not properly check for error pointers before attempting to free memory (Kernel Git).

Impact

When exploited, this vulnerability could cause the system to crash when certain memory allocation error conditions occur. This primarily affects system stability and availability (NVD).

Exploitability

The vulnerability requires specific conditions where memory allocation errors occur in conjunction with the automatic cleanup functionality. It primarily manifests in error handling paths during memory allocation operations (Kernel Git).

Mitigation and workarounds

The issue has been fixed by modifying the __free(kfree) function to properly check for error pointers using IS_ERR_OR_NULL before attempting to free memory. The fix has been implemented in various Linux kernel versions, including Ubuntu 24.04 LTS (noble) with kernel version 6.8.0-40.40 (Ubuntu).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.94-1

Fixed

bullseye

linux

Fixed

sid

linux: 6.8.11-1

Fixed

trixie

linux: 6.8.11-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-riscv-6.17
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management