diff options
| author | Thomas Gleixner <[email protected]> | 2010-09-28 18:57:19 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2010-09-30 22:57:35 +0000 |
| commit | 1cf180c94e9166cda083ff65333883ab3648e852 (patch) | |
| tree | 70cee3eaf3f99abf64377f19a864bb56974b3547 /scripts/basic/docproc.c | |
| parent | x86, cpu: After uncapping CPUID, re-run CPU feature detection (diff) | |
| download | kernel-1cf180c94e9166cda083ff65333883ab3648e852.tar.gz kernel-1cf180c94e9166cda083ff65333883ab3648e852.zip | |
x86, irq: Plug memory leak in sparse irq
free_irq_cfg() is not freeing the cpumask_vars in irq_cfg. Fixing this
triggers a use after free caused by the fact that copying struct
irq_cfg is done with memcpy, which copies the pointer not the cpumask.
Fix both places.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Yinghai Lu <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
