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
References
The following references provide additional information about CVE-2024-36890 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/79cbe0be6c0317b215ddd8bd3e32f0afdac48543
-
PatchKernel patch commithttps://git.kernel.org/stable/c/946771c2a2b1150f9b7286feadc3aa1e15a1eb16
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9f6eb0ab4f95240589ee85fd9886a944cd3645b2
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) . 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?
No patch is currently available for CVE-2024-36890. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
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.
-
What is Release of Invalid Pointer or Reference (CWE-763)?
The product attempts to return a memory resource to the system but calls the wrong release function. View CWE-763 on MITRE CWE →