]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bcachefs: Fix null ptr deref in bch2_write_endio()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 31 Mar 2025 20:19:04 +0000 (16:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 31 Mar 2025 21:39:27 +0000 (17:39 -0400)
commitde399658588931506e1b3f4cc63cb3c9134a692e
treebc4179f2d29473661cec8b58e2a62a45feba4abf
parent7f10fde38f0ac242760e36394e731d25f27e6063
bcachefs: Fix null ptr deref in bch2_write_endio()

This was previously hard to hit since it requires racing with device
removal, but splitting up io_ref uncovered it.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_write.c