diff options
author | Prince Kumar Maurya <[email protected]> | 2023-05-30 18:31:41 -0700 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-06-01 09:51:06 +0200 |
commit | ea2b62f305893992156a798f665847e0663c9f41 (patch) | |
tree | 4978b5a77ed5f8f0e9923e8d8340917e578e72a9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | b7a9a503c38d665c05a789132b632d81ec0b2703 (diff) |
fs/sysv: Null check to prevent null-ptr-deref bug
sb_getblk(inode->i_sb, parent) return a null ptr and taking lock on
that leads to the null-ptr-deref bug.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=aad58150cbc64ba41bdc
Signed-off-by: Prince Kumar Maurya <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions