Skip to content

jfs: add checks read-only to prevent NULL pointer deref

Vasiliy Kovalev lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2jfs: add check read-only before txBeginAnon() callfs/jfs/jfs_extent.c+10 -00 replies
2/2jfs: add check read-only before truncation in jfs_truncate_nolock()fs/jfs/inode.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] jfs: add checks read-only to prevent NULL pointer deref

These two patches add read-only checks in JFS functions to prevent attempts to modify a read-only filesystem, which could lead to NULL pointer dereferencing.

[PATCH 1/2] jfs: add check read-only before txBeginAnon() call [PATCH 2/2] jfs: add check read-only before truncation in jfs_truncate_nolock()