summaryrefslogtreecommitdiff
path: root/tools/testing/shared/xarray-shared.h
diff options
context:
space:
mode:
authorElla Ma <alansnape3058@gmail.com>2026-10-07 18:43:16 +0200
committerJulia Lawall <Julia.Lawall@inria.fr>2026-11-02 00:28:04 +0100
commit7af2a51f19ca828750701054ee130cfb094706e6 (patch)
tree0241fce81a9af56c3394a066cb3cefe7e9357bda /tools/testing/shared/xarray-shared.h
parentafb17ae1dbf7464cacb8b8e2f8efaf8f7dc7b1b3 (diff)
downloadlinux-7af2a51f19ca828750701054ee130cfb094706e6.tar.gz
linux-7af2a51f19ca828750701054ee130cfb094706e6.zip
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 'tools/testing/shared/xarray-shared.h')
0 files changed, 0 insertions, 0 deletions