summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2026-03-14 00:41:05 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2026-03-30 12:01:52 +0200
commit6e1a833df9524e05889cf0fe02879b02d85776fd (patch)
treeccc2ef85d8aa1bc9057a8fc9f55845bc2a68bc51 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent9e34adb1cc582bbcf1d74b23f1e6d9d71fb99fa1 (diff)
gfs2: bufdata allocation race
The locking in gfs2_trans_add_data() and gfs2_trans_add_meta() doesn't follow the usual coding pattern of checking bh->b_private under lock, allocating a new bufdata object with the locks dropped, and re-checking once the lock has been reacquired. Both functions set bh->b_private without holding the buffer lock. Fix that. Also, in gfs2_trans_add_meta(), taking the folio lock during the allocation doesn't actually do anything useful. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions