]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[XFS] Fix use after free in xfs_log_done().
authorLachlan McIlroy <lachlan@sgi.com>
Wed, 13 Aug 2008 06:52:50 +0000 (16:52 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:52:50 +0000 (16:52 +1000)
commitc6a7b0f8a49aa71792dd108efc535435f462bf79
tree45ffdd756cf4e024a1ab6742b2dfa4ed962ea741
parentc94312de223644e2f18e7064ae8cafa14e5c6ef6
[XFS] Fix use after free in xfs_log_done().

The ticket allocation code got reworked in 2.6.26 and we now free tickets
whereas before we used to cache them so the use-after-free went
undetected.

SGI-PV: 985525

SGI-Modid: xfs-linux-melb:xfs-kern:31877a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
fs/xfs/xfs_log.c