Skip to content

bfs: fix null-ptr-deref and possible warning in bfs_move_block() func

[email protected] linux-fsdevel lkml stable 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bfs: prevent null pointer dereference in bfs_move_block()fs/bfs/file.c+4 -00 replies
2/2bfs: ensure buffer is marked uptodate before marking it dirtyfs/bfs/file.c+1 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] bfs: fix null-ptr-deref and possible warning in bfs_move_block() func

https://syzkaller.appspot.com/bug?extid=d98fd19acd08b36ff422

[PATCH v3 1/2] bfs: prevent null pointer dereference in bfs_move_block()
v3: Changed the error handling

[PATCH v3 2/2] bfs: ensure buffer is marked uptodate before marking it dirty
v3: Replaced the buffer up-to-date check with an error exit by forcefully setting the buffer as up-to-date before call mark_buffer_dirty()