Skip to content

Fix possible NULL pointer dereference in JBD2

Jan Kara linux-ext4 ocfs2-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3jbd2: Fix possible NULL pointer dereference in jbd2_journal_begin_ordered_truncate()fs/jbd2/transaction.c include/linux/jbd2.h+32 -120 replies
2/3ext4: Add journal parameter to jbd2_journal_begin_ordered_truncate()fs/ext4/inode.c+4 -20 replies
3/3ocfs2: Add journal parameter to jbd2_journal_begin_ordered_truncate()fs/ocfs2/journal.h+4 -24 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark FashehJoel Becker
SeriesA-b
1/3
2/3
3/3A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix possible NULL pointer dereference in JBD2

Hi,

the three patches below fix a bug in jbd2_journal_begin_ordered_truncate() that
could possibly lead to NULL pointer dereference. The question is how to merge the fix as it changes the prototype of the function and both ext4 and ocfs2 use it. Mark, Mingming, any suggestions?

Honza