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-50159

published high CVSS 3.1 · 7.0

firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

Published
07 Nov 2024, 09:31:36 UTC
Updated
05 Aug 2026, 11:42:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < 6d91d07913aee90556362d648d6a28a1eda419dc · c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < fb324fdaf546bf14bc4c17e0037bca6cb952b121 · c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < 39b13dce1a91cdfc3bec9238f9e89094551bd428 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.59 through 6.6.* (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 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 evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debugx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debug-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-develnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-azurenoarch Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-coconoarch Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-rtnoarch Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-docsnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_10_20-rtx86_64 Advisory build 1-150600.1.3.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaultppc64le Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaults390x Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaultx86_64 Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-macrosnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-builds390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt-develx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debugx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debug-develx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-sourcenoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-source-azurenoarch Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-source-coconoarch Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-source-rtnoarch Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-symsaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symsppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symss390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symsx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-zfcpdumps390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-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: firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup() Clang static checker(scan-build) throws below warning: | drivers/firmware/arm_scmi/driver.c:line 2915, column 2 | Attempt to free released memory. When devm_add_action_or_reset() fails, scmi_debugfs_common_cleanup() will run twice which causes double free of 'dbg->name'. Remove the redundant scmi_debugfs_common_cleanup() to fix this problem.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The defect lives in the `arm-scmi` platform driver's `scmi_probe()` debugfs setup path, which is only executed during local device/driver binding — there is no network, packet, or remote-peer input anywhere on the path. Reaching it requires local system context (boot, module load, or deferred-probe retry), so Local is the appropriate vector. AC:H - The double free is only reached when `__devres_alloc_node()` returns NULL, i.e. a small GFP_KERNEL allocation fails at one exact instant during a one-shot probe; small GFP_KERNEL allocations reclaim or OOM-kill rather than fail, and `.suppress_bind_attrs = true` removes any sysfs re-probe retry loop. The attacker cannot initiate the probe nor steer that specific allocation, so success depends on conditions genuinely outside their control, compounded by the non-default `CONFIG_ARM_SCMI_RAW_MODE_SUPPORT`/`CONFIG_ARM_SCMI_DEBUG_COUNTERS` requirement. PR:L - The only attacker-influenceable ingredient is system memory pressure, which an ordinary unprivileged local process can generate without any capability, and SCMI probe can occur after userspace is up via udev-driven module load or deferred-probe retry. Choosing the higher-severity option over PR:H, which would otherwise apply since deliberately initiating a probe needs CAP_SYS_MODULE. UI:N - Driver probe and the debugfs setup run autonomously from the DT/platform-device match; no victim must open a file, mount a filesystem, or take any other action. The error path executes purely as a consequence of the allocation failure. S:U - The double free corrupts the kernel's own slab allocator and dentry cache within the same kernel security authority. No hypervisor, IOMMU, container, or sandbox boundary is crossed. C:H - A slab double free lets the same object be handed out to two independent allocations, and the redundant `debugfs_remove_recursive()` additionally dereferences a released dentry — both are read primitives over attacker-unrelated kernel objects. Consistent with treating use-after-free/double-free as enabling arbitrary kernel memory disclosure. I:H - Freeing `dbg->name` and `dbg->type` twice corrupts the SLUB freelist, the standard stepping stone to aliased-object and arbitrary-write primitives, and the stale dentry is written through by the second recursive removal. Memory corruption of this class is scored as enabling control-flow hijacking. A:H - With freelist hardening the second `kfree()` raises a BUG/panic outright; without it, freelist corruption and the dentry use-after-free reliably lead to an oops during subsequent allocation or dcache activity. Either outcome is a full kernel crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < 6d91d07913aee90556362d648d6a28a1eda419dc (affected · git)c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < fb324fdaf546bf14bc4c17e0037bca6cb952b121 (affected · git)c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329 to < 39b13dce1a91cdfc3bec9238f9e89094551bd428 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.59 through 6.6.* (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

Provenance

Schema
5.2
Searchable
yes
Content hash
692ca220b5c6a6063eb30b212e3d22f48aa15c1fc4a7de1304d52785cf0722eb
Ingested
23 Sep 2026, 08:29:52 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