aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2023-11-06 23:34:07 +0000
committerAndrew Morton <[email protected]>2023-11-15 15:30:09 -0800
commit84055688b6bc075c92a88e2d6c3ad26ab93919f9 (patch)
tree445c74fa0ee16c9d64f220cdc43b288d7b84c8fa /tools/testing/selftests/bpf/progs/test_autoload.c
parentb4936b544b08ed44949055b92bd25f77759ebafc (diff)
mm/damon/sysfs-schemes: handle tried regions sysfs directory allocation failure
DAMOS tried regions sysfs directory allocation function (damon_sysfs_scheme_regions_alloc()) is not handling the memory allocation failure. In the case, the code will dereference NULL pointer. Handle the failure to avoid such invalid access. Link: https://lkml.kernel.org/r/[email protected] Fixes: 9277d0367ba1 ("mm/damon/sysfs-schemes: implement scheme region directory") Signed-off-by: SeongJae Park <[email protected]> Cc: <[email protected]> [6.2+] Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions