[lvc-project] [PATCH mm] mm: hugetlb: Add checks for NULL for vma returned from find_vma. find_vma may return NULL, that's why its return value is usually checked for NULL.
David Hildenbrand
david at redhat.com
Mon Jan 16 18:12:48 MSK 2023
On 16.01.23 16:10, Екатерина Есина wrote:
> Sorry, I've noticed that I'd sent the patch without description and sent
> version 2.
> Function find_vma may return NULL, that's why its return value is
> usually checked for NULL. In this case vma and its fields also should be
> checked before dereferencing to avoid NULL pointer dereference
Thanks, but again
What are the symptoms? How exactly does this BUG manifest?
For example, does the kernel crash, and if so, how can it be triggered?
--
Thanks,
David / dhildenb
More information about the lvc-project
mailing list