CVE-2026-45959

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
27/05/2026
Last modified:
16/06/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree<br /> <br /> Annotating a local pointer variable, which will be assigned with the<br /> kmalloc-family functions, with the `__cleanup(kfree)` attribute will<br /> make the address of the local variable, rather than the address returned<br /> by kmalloc, passed to kfree directly and lead to a crash due to invalid<br /> deallocation of stack address. According to other places in the repo,<br /> the correct usage should be `__free(kfree)`. The code coincidentally<br /> compiled because the parameter type `void *` of kfree is compatible with<br /> the desired type `struct { ... } **`.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.17 (including) 6.18.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.4 (excluding)