diff options
| author | 2026-10-07 18:43:16 +0200 | |
|---|---|---|
| committer | 2026-11-02 00:28:04 +0100 | |
| commit | 7af2a51f19ca828750701054ee130cfb094706e6 (patch) | |
| tree | 0241fce81a9af56c3394a066cb3cefe7e9357bda /scripts/Makefile.thinlto | |
| parent | coccinelle: Add devm_kmalloc_objs conversion script (diff) | |
coccinelle: free: add a checker for `__cleanup(kfree)` usage
Using __cleanup(kfree) will pass the stack address of the annotated
local variable to kfree functions. This will lead to invalid
deallocation issues. Inspired by CVE-2026-45959 and similar bugs
recently detected.
Signed-off-by: Ella Ma <alansnape3058@gmail.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
