]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[IA64] Fix stack overflow in create_palinfo_proc_entries
authorRichard Weinberger <richard@nod.at>
Wed, 20 Mar 2013 11:06:59 +0000 (12:06 +0100)
committerTony Luck <tony.luck@intel.com>
Thu, 21 Mar 2013 16:59:15 +0000 (09:59 -0700)
commit40c275bd92b8a7546205a1adbbca4909dfc865e7
treeddce952091fba9fe1c9ef8944919da99238eef35
parentdb1e1e876e9a24e395a7daacc120aeeb251012d5
[IA64] Fix stack overflow in create_palinfo_proc_entries

Having more than 99 CPUs causes an overflow of cpustr.
If an attacker is able to control the number CPUs he might able to inject code
...kind of. ;-)

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/palinfo.c