CVE-2024-36890

MediumCVSS 5.5/10Last modified Aug 4, 2026

Description

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= af53aaf20722d745a69a051114a1ae237f5b922e, < edca32f87329d6e341d2143a3b58ec254e8f6b88; >= f550466949e822afcd0b546a4fc35795930660bc, < 946771c2a2b1150f9b7286feadc3aa1e15a1eb16; >= 3c6cc62ce1265aa5623e2e1b29c0fe258bf6e232, < 9f6eb0ab4f95240589ee85fd9886a944cd3645b2; >= 54da6a0924311c7cf5015533991e44fb8eb12773, < ac6cf3ce9b7d12acb7b528248df5f87caa25fcdc; >= 54da6a0924311c7cf5015533991e44fb8eb12773, < 79cbe0be6c0317b215ddd8bd3e32f0afdac48543; >= 54da6a0924311c7cf5015533991e44fb8eb12773, < cd7eb8f83fcf258f71e293f7fc52a70be8ed0128; >= 6.1.79, < 6.1.91
LinuxLinux6.5

References

Timeline

Published
May 30, 2024
Last modified
Aug 4, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-368915.5In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix mas_empty_area_rev() null pointer dereference CurrentlCVE-2024-368925.5In the Linux kernel, the following vulnerability has been resolved: mm/slub: avoid zeroing outside-object freepointer for single free CommCVE-2024-368935.5In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Check for port partner validity before consuming it CVE-2024-368947.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix race between aio_cancel() and AIO request compleCVE-2024-368957.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: use correct buffer size when parsing configfs lists CVE-2024-368969.1In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix access violation during port device removal Testing witCVE-2024-368975.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Atom Integrated System Info v2_2 for DCN35 New requesCVE-2024-368987.8In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: fix uninitialised kfifo If a line is requested with debCVE-2024-368997.0In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: Fix use after free in lineinfo_changed_notify The use-aCVE-2024-36908.8A vulnerability classified as critical was found in PHPGurukul Small CRM 3.0. Affected by this vulnerability is an unknown functionality of CVE-2024-369005.5In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when devlink reload during initialization CVE-2024-369015.5In the Linux kernel, the following vulnerability has been resolved: ipv6: prevent NULL dereference in ip6_output() According to syzbot, th
CVE-2024-36890: Medium severity, CVSS 5.5 | Vulnix