aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-06-16 20:21:45 -0400
committerMiguel de Dios <migueldedios@google.com>2019-01-10 19:34:50 +0000
commit49c8c596ab76e4f99b5221601efbd70e3fe2d083 (patch)
tree3a135b6d3d79fa855255fecc8d8b7ae86463eede /tools/perf/util/scripting-engines/trace-event-python.c
parentefa3e263ce365ba9e874c151d4c58d7e3db34f98 (diff)
jbd2: don't mark block as modified if the handle is out of credits
Do not set the b_modified flag in block's journal head should not until after we're sure that jbd2_journal_dirty_metadat() will not abort with an error due to there not being enough space reserved in the jbd2 handle. Otherwise, future attempts to modify the buffer may lead a large number of spurious errors and warnings. This addresses CVE-2018-10883. https://bugzilla.kernel.org/show_bug.cgi?id=200071 Bug: 117311198 Signed-off-by: Theodore Ts'o <tytso@mit.edu> [bwh: Backported to 3.16: Drop the added logging statement, as it's on a code path that doesn't exist here] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Hackmann <ghackmann@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: Ia3a8dcc75a62204766d60a15ddc3cb3ff2cfef07
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions