<html><body><div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: rgb(0, 0, 0);"><div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">Sorry, I've noticed that I'd sent the patch without description and sent version 2.</div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"> </div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">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</div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;"> </div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">Best regards,</div>
<div style="font-size: 12pt; font-family: 'arial' , 'helvetica' , sans-serif; color: #000000;">Ekaterina Esina</div>
</div>
<div> </div>
<div id="signature-content-no-signature" data-marker="__SIG_PRE__"></div>
<div>

<div id="OLK_SRC_BODY_SECTION">
<div id="OLK_SRC_BODY_SECTION">
<blockquote style="margin: 0 0 0 .8em; border-left: 1px #ccc solid; padding-left: 1em;"><hr id="MESSAGE_DATA_MARKER"><strong>From: </strong>David <david@redhat.com><br><strong>To: </strong>Esina <eesina@astralinux.ru>; Mike <mike.kravetz@oracle.com><br><strong>Cc: </strong>Andrew <akpm@linux-foundation.org>; linux-mm <linux-mm@kvack.org>; linux-kernel <linux-kernel@vger.kernel.org>; lvc-project <lvc-project@linuxtesting.org><br><strong>Date: </strong>Monday, 16 January 2023 4:24 PM MSK<br><strong>Subject: </strong>Re: [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.<br><br>On 16.01.23 11:05, Esina Ekaterina wrote: <br>> Found by Astra Linux on behalf of Linux Verification Center <br>> (linuxtesting.org) with SVACE. <br><br>Please trim the subject and move details to the description. <br><br>What are the symptoms? How exactly does this BUG manifest? What is this <br>patch fixing? <br><br><br>-- <br>Thanks, <br><br>David / dhildenb <br><br></blockquote>
</div>
</div></div></div></body></html>