Fix attempt to a possible use-after-free of queues

134 views
Skip to first unread message

Arianna Avanzini

unread,
Mar 5, 2013, 7:55:36 AM3/5/13
to bfq-i...@googlegroups.com
Hello,

we have spotted a possible use-after-free of data structures used by BFQ (namely, of bfq_queues). The attached patches should fix the issue; it should be possible to apply them cleanly on BFQ-v6 and the specified kernel versions and build the resulting code without warnings.
While in our tests the problem did not cause crashes, it may result in an erratic behavior of the SLUB allocator: it is therefore recommended to apply the proposed fix.

Please let us know about any issues you may encounter.
0001-block-bfq-attempt-to-fix-use-after-free-which-2.6.38-to-3.2.0.patch
0001-block-bfq-attempt-to-fix-use-after-free-which-3.3.0-to-3.8.0.patch
Reply all
Reply to author
Forward
0 new messages