KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
84 stars 5 forks source link

af_alg sockaddr array size needs fixing #114

Closed kees closed 3 years ago

kees commented 3 years ago

The size of the af_alg make was expanded without updating the actual array size. This will cause false positives under UBSAN_BOUNDS:

https://lore.kernel.org/lkml/00000000000014370305b1c55370@google.com/T/#md9a4751fa535ab8d5380238af663752491ea9d44

kees commented 3 years ago

New UAPI introduced with a flex-array: commit 92eb6c3060ebe3adf381fd9899451c5b047bb14d