The embodiment of the invention provides a memory repeated release detection method and device,
electronic equipment and a storage medium, and the method comprises the steps: extracting abnormal features related to memory repeated release from a target file, and updating an abnormal feature
template based on the extracted abnormal features; the target file is a
core dump file generated by
system kernel
crash; the abnormal feature template comprises abnormal entries, and each abnormal entry comprises an abnormal feature tag used for describing related information of the abnormal features; based on the abnormal feature template, risk scanning is conducted on the kernel
source code, a risk calling
list is generated, the risk calling
list comprises risk calling points in the kernel
source code, and the risk calling points comprise memory allocation function calling points and / or memory release function calling points; the risk calling point hits the abnormal feature tag; and according to the risk calling
list, carrying out
instrumentation on the risk calling points, and carrying out
verification in the target environment. According to the method, the memory repeated release
vulnerability of the
system kernel can be automatically detected, and the quick response requirement can be met.