Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit baa60c66 authored by Prince Kumar Maurya's avatar Prince Kumar Maurya Committed by Greg Kroah-Hartman
Browse files

fs/sysv: Null check to prevent null-ptr-deref bug



commit ea2b62f305893992156a798f665847e0663c9f41 upstream.

sb_getblk(inode->i_sb, parent) return a null ptr and taking lock on
that leads to the null-ptr-deref bug.

Reported-by: default avatar <syzbot+aad58150cbc64ba41bdc@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=aad58150cbc64ba41bdc


Signed-off-by: default avatarPrince Kumar Maurya <princekumarmaurya06@gmail.com>
Message-Id: <20230531013141.19487-1-princekumarmaurya06@gmail.com>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ad047663
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment