CVE-2026-45959
published high CVSS 3.1 · 7.8crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa71475582ada92ba021852bf3c2b40ab3718549b to < 9a3ace9b010ffd8c422c97844ae152f7c53d6b18 · a71475582ada92ba021852bf3c2b40ab3718549b to < 90f9090e3e744a8fe3bb6fa0e61f577347728b0b · a71475582ada92ba021852bf3c2b40ab3718549b to < d5abcc33ee76bc26d58b39dc1a097e43a99dd438 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 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 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.58.1.el10_2 | ALSA-2026:70498 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
| Oracle Linux | 10 | kernel-tools-libsaarch64 | Advisory build | 0:6.12.0-211.60.1.el10_2 | ELSA-2026-70498 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree Annotating a local pointer variable, which will be assigned with the kmalloc-family functions, with the `__cleanup(kfree)` attribute will make the address of the local variable, rather than the address returned by kmalloc, passed to kfree directly and lead to a crash due to invalid deallocation of stack address. According to other places in the repo, the correct usage should be `__free(kfree)`. The code coincidentally compiled because the parameter type `void *` of kfree is compatible with the desired type `struct { ... } **`.
Related advisories
Vendor advisories explicitly linked to this CVE.
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 AES-GCM path is reached through the local AF_ALG crypto socket interface (socket/bind/sendmsg syscalls), explicitly selectable via the "gcm-aes-ccp" driver name; there is no remote network peer required in the reliable trigger path. AC:L - The incorrect cleanup fires on every return from ccp_run_aes_gcm_cmd, so a single AES-GCM operation deterministically triggers the invalid free with no race, timing, or memory-layout condition the attacker must defeat. PR:L - Creating an AF_ALG socket and submitting a gcm(aes) request requires only a basic unprivileged local account with no capability; no root or special privilege is needed. UI:N - The attacker submits the crypto request entirely on its own; no victim action or separate user interaction is required. S:U - The invalid free corrupts and crashes within the kernel's own security authority and crosses no VM, sandbox, or IOMMU boundary. C:H - This is an invalid free (memory-corruption class, not a NULL deref); per UAF/corruption guidance the allocator's mishandling of the stack pointer can disturb slab state and freed-object contents, which can be leveraged toward information disclosure. I:H - Feeding kfree a stack address drives the SLUB allocator to write freelist pointers / drop refcounts on memory it never owned, a corruption primitive that per UAF/double-free guidance can be leveraged into a write affecting control flow. A:H - The bug deterministically passes a stack address to kfree on every invocation, causing an immediate kernel oops/panic (DoS) that any unprivileged local user can trigger repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a71475582ada92ba021852bf3c2b40ab3718549b to < 9a3ace9b010ffd8c422c97844ae152f7c53d6b18 (affected · git)a71475582ada92ba021852bf3c2b40ab3718549b to < 90f9090e3e744a8fe3bb6fa0e61f577347728b0b (affected · git)a71475582ada92ba021852bf3c2b40ab3718549b to < d5abcc33ee76bc26d58b39dc1a097e43a99dd438 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
3Provider assertions
2Linux · cna
crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 831e1db6b36afe778d94d2d85e6a3649d75c66685aaef1c3e720013508cff633
- Ingested
- 19 Oct 2026, 19:28:45 UTC
- Source record
- Official CVE record