CVE-2024-36890

Medium

In the Linux kernel, the following vulnerability has been resolved: mm/slab: make __free(kfree) accept error pointers Currently, if an automatically freed allocation is an error pointer that will lead to a crash. An example of this is in wm831x_gpio_dbg_show(). 171 char *label __free(kfree) = gpiochip_dup_line_label(chip, i); 172 if (IS_ERR(label)) { 173 dev_err(wm831x->dev, "Failed to duplicate label\n"); 174 continue; 175 } The auto clean up function should check for error pointers as well, otherwise we're going to keep hitting issues like this.

Package Linux Kernel
Published 2024-05-30
Last modified 2025-10-29
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-763

CVE-2024-36890 is a Release of Invalid Pointer or Reference vulnerability

What is Release of Invalid Pointer or Reference?

The product attempts to return a memory resource to the system but calls the wrong release function. Learn more on MITRE CWE

Affected versions

Linux kernel versions 6.1.79, 6.5 and later are affected. Fixed in 6.1.91, 6.6.31, 6.8.10, 6.9 and their respective stable series.

Affected from
≥ 6.1.79 ≥ 6.5
Fixed in
✓ 6.1.91 6.1.x ✓ 6.6.31 6.6.x ✓ 6.8.10 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-36890?

    CVE-2024-36890 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Release of Invalid Pointer or Reference flaw (CWE-763) . It affects Linux kernel versions from 6.1.79 onward and has been patched in 6.1.91, 6.6.31, 6.8.10 and others. CVE-2024-36890 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-36890?

    CVE-2024-36890 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-36890?

    Yes. CVE-2024-36890 has been patched. Fixed versions include 6.1.91, 6.6.31, 6.8.10 and others. If you are running Linux kernel 6.1.79 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-36890 actively exploited?

    No. CVE-2024-36890 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.