diff options
author | Nick Piggin <npiggin@suse.de> | 2007-03-06 05:34:25 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-03-06 17:49:52 -0500 |
commit | 41d5e5d73ecef4ef56b7b4cde962929a712689b4 (patch) | |
tree | 51cb9289609c639d86a768ff92340291a4d1b452 /arch/ia64/kernel/setup.c | |
parent | 50157b09b33c2ec3637d3b317b06a7235c57c7f2 (diff) |
[IA64] permon use-after-free fix
Perfmon associates vmalloc()ed memory with a file descriptor, and installs
a vma mapping that memory. Unfortunately, the vm_file field is not filled
in, so processes with mappings to that memory do not prevent the file from
being closed and the memory freed. This results in use-after-free bugs and
multiple freeing of pages, etc.
I saw this bug on an Altix on SLES9. Haven't reproduced upstream but it
looks like the same issue is there.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions