Messages in this thread | | | Date | Sun, 28 May 2023 18:51:41 +0100 | From | Greg KH <> | Subject | Re: [PATCH] Null check to prevent null-ptr-deref bug |
| |
On Sun, May 28, 2023 at 10:35:46AM -0700, Prince Kumar Maurya wrote: > sb_getblk(inode->i_sb, parent) return a null ptr and taking lock on > that leads to the null-ptr-deref bug. > > Signed-off-by: Prince Kumar Maurya <princekumarmaurya06@gmail.com> > --- > Change since v1: update the commit message.
Your subject: line needs to also be fixed up. Please see the kernel documentation for how to do this properly.
thanks
greg k-h
| |