diff options
| author | Eric Dumazet <[email protected]> | 2021-11-05 13:39:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:37 -0700 |
| commit | 084f7e2377e89ccbc8375b5486c6b4c16682f602 (patch) | |
| tree | a938f200a844765a359ffbe5783b0eba4e7c2fdd /tools/perf/scripts/python | |
| parent | 34b46efd6ec6a6f2d6a57be4216b820c879a0030 (diff) | |
mm/large system hash: avoid possible NULL deref in alloc_large_system_hash
If __vmalloc() returned NULL, is_vm_area_hugepages(NULL) will fault if
CONFIG_HAVE_ARCH_HUGE_VMALLOC=y
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 121e6f3258fe ("mm/vmalloc: hugepage vmalloc mappings")
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions