In the Linux kernel prior to 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
linux linux kernel