CVE-2024-36890
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-763CVE-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.
References
6 total-
Patch
-
Patch
-
Patch
-
Patch
-
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.