diff options
author | David Howells <dhowells@redhat.com> | 2014-09-02 13:52:20 +0100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-09-03 10:30:22 +1000 |
commit | 27419604f51a97d497853f14142c1059d46eb597 (patch) | |
tree | e5098e23130775f553e0fe65b9315f288985ad48 /crypto | |
parent | 876c6e3e028d1b326c81f6f134a4804b92f67dc7 (diff) | |
download | linux-27419604f51a97d497853f14142c1059d46eb597.tar.gz linux-27419604f51a97d497853f14142c1059d46eb597.tar.bz2 linux-27419604f51a97d497853f14142c1059d46eb597.zip |
KEYS: Fix use-after-free in assoc_array_gc()
An edit script should be considered inaccessible by a function once it has
called assoc_array_apply_edit() or assoc_array_cancel_edit().
However, assoc_array_gc() is accessing the edit script just after the
gc_complete: label.
Reported-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
cc: shemming@brocade.com
cc: paulmck@linux.vnet.ibm.com
Cc: stable@vger.kernel.org
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions