diff options
author | Immad Mir <[email protected]> | 2023-06-23 19:14:01 +0530 |
---|---|---|
committer | Dave Kleikamp <[email protected]> | 2023-06-23 09:00:13 -0500 |
commit | 47cfdc338d674d38f4b2f22b7612cc6a2763ba27 (patch) | |
tree | 5c6d4b0ab2b5eaddcaf170a8d2a450d1bd3ad29f /lib/mpi/mpi-inline.h | |
parent | 4e302336d5ca1767a06beee7596a72d3bdc8d983 (diff) |
FS: JFS: Fix null-ptr-deref Read in txBegin
Syzkaller reported an issue where txBegin may be called
on a superblock in a read-only mounted filesystem which leads
to NULL pointer deref. This could be solved by checking if
the filesystem is read-only before calling txBegin, and returning
with appropiate error code.
Reported-By: [email protected]
Link: https://syzkaller.appspot.com/bug?id=be7e52c50c5182cc09a09ea6fc456446b2039de3
Signed-off-by: Immad Mir <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions