Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36890

published high CVSS 3.1 · 7.8

mm/slab: make __free(kfree) accept error pointers

Published
30 May 2024, 15:28:57 UTC
Updated
05 Aug 2026, 11:31:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxaf53aaf20722d745a69a051114a1ae237f5b922e to < edca32f87329d6e341d2143a3b58ec254e8f6b88 · f550466949e822afcd0b546a4fc35795930660bc to < 946771c2a2b1150f9b7286feadc3aa1e15a1eb16 · 3c6cc62ce1265aa5623e2e1b29c0fe258bf6e232 to < 9f6eb0ab4f95240589ee85fd9886a944cd3645b2 · 54da6a0924311c7cf5015533991e44fb8eb12773 to < ac6cf3ce9b7d12acb7b528248df5f87caa25fcdc · 54da6a0924311c7cf5015533991e44fb8eb12773 to < 79cbe0be6c0317b215ddd8bd3e32f0afdac48543 · 54da6a0924311c7cf5015533991e44fb8eb12773 to < cd7eb8f83fcf258f71e293f7fc52a70be8ed0128 · 6.1.79 to < 6.1.91 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.1.91 through 6.1.* (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-643 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-300.163.18.el8uek ELSA-2024-12682
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-300.163.18.el9uek ELSA-2024-12682
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-rtx86_64 Advisory build 5.14.21-150500.13.61.1 SUSE-SU-2024:2394-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-rtx86_64 Advisory build 5.14.21-150500.13.61.1 SUSE-SU-2024:2394-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-rtx86_64 Advisory build 5.14.21-150500.13.61.1 SUSE-SU-2024:2394-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-azureaarch64 Advisory build 5.14.21-150500.33.60.1 SUSE-SU-2024:2372-1
SUSE / openSUSE SLE-15-SP5 kernel-azurex86_64 Advisory build 5.14.21-150500.33.60.1 SUSE-SU-2024:2372-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develaarch64 Advisory build 5.14.21-150500.33.60.1 SUSE-SU-2024:2372-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develx86_64 Advisory build 5.14.21-150500.33.60.1 SUSE-SU-2024:2372-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.73.1.150500.6.33.8 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.73.1.150500.6.33.8 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.73.1.150500.6.33.8 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-extrax86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.73.1 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-azurenoarch Advisory build 5.14.21-150500.33.60.1 SUSE-SU-2024:2372-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-rtnoarch Advisory build 5.14.21-150500.13.61.1 SUSE-SU-2024:2394-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.73.2 SUSE-SU-2024:2939-1
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_13_61-rtx86_64 Advisory build 1-150500.11.3.1 SUSE-SU-2024:2394-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable cleanup handler is reached by a local `read()` of the debugfs files `/sys/kernel/debug/gpio` or `/sys/kernel/debug/pinctrl/*/pins`, which dispatch to the affected `dbg_show` callbacks. There is no network or remote path into any `__free(kfree)` site that can receive an error pointer. AC:L - Both sides of the trigger are attacker-controlled: the attacker drives system memory pressure to make `kstrdup()` in `gpiochip_dup_line_label()` return `ERR_PTR(-ENOMEM)` while repeatedly reading the debugfs file in a loop, and the resulting bad pointer value is fixed and deterministic rather than layout-dependent. PR:L - The kernel creates the gpio debugfs entry mode 0444 under a 0755 debugfs root, so on the many embedded, Android and industrial images that mount debugfs permissively an ordinary unprivileged local account can read it; no capability check exists on the path. UI:N - The attacker performs the debugfs read and the memory-pressure generation entirely on their own; no victim process, mount, or administrator action is required. S:U - The corruption is confined to the kernel's own slab allocator and page refcounts within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `kfree()` resolves the error pointer to a real populated `struct page` and either drops a refcount on an unrelated live page or splices a wild pointer onto a live slab freelist, so a subsequent allocation can hand out a pointer aliasing arbitrary kernel memory and disclose its contents. I:H - The same slab freelist poisoning gives a controlled kernel write when the wild pointer is later returned by `kmalloc()` and written to, and `folio_put()` on an in-use folio yields a page-level use-after-free — both are standard primitives for control-flow hijack. A:H - In the common case `virt_to_folio()` on `ERR_PTR(-ENOMEM)` dereferences bogus page metadata and the subsequent free corrupts allocator state, producing an immediate oops or a later panic, and it can be re-triggered on every read of the debugfs file.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux af53aaf20722d745a69a051114a1ae237f5b922e to < edca32f87329d6e341d2143a3b58ec254e8f6b88 (affected · git)f550466949e822afcd0b546a4fc35795930660bc to < 946771c2a2b1150f9b7286feadc3aa1e15a1eb16 (affected · git)3c6cc62ce1265aa5623e2e1b29c0fe258bf6e232 to < 9f6eb0ab4f95240589ee85fd9886a944cd3645b2 (affected · git)54da6a0924311c7cf5015533991e44fb8eb12773 to < ac6cf3ce9b7d12acb7b528248df5f87caa25fcdc (affected · git)54da6a0924311c7cf5015533991e44fb8eb12773 to < 79cbe0be6c0317b215ddd8bd3e32f0afdac48543 (affected · git)54da6a0924311c7cf5015533991e44fb8eb12773 to < cd7eb8f83fcf258f71e293f7fc52a70be8ed0128 (affected · git)6.1.79 to < 6.1.91 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.5 (affected)0 to < 6.5 (unaffected · semver)6.1.91 through 6.1.* (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

mm/slab: make __free(kfree) accept error pointers

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
261efaec8055b1f3b57eb0ac92020f7ff9cf56acecc1a4286b3e033946db2708
Ingested
23 Sep 2026, 08:24:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected