diff options
author | 2010-03-24 22:25:47 +0100 | |
---|---|---|
committer | 2010-05-22 10:57:30 +0300 | |
commit | bbd7d57bfe852d9788bae5fb171c7edb4021d8ac (patch) | |
tree | 9b16ed244e0bd0b71a1d3d6e662be310f1e8f9c2 /net/ipv4/tcp_timer.c | |
parent | Linus 2.6.34 (diff) | |
download | linux-dev-bbd7d57bfe852d9788bae5fb171c7edb4021d8ac.tar.xz linux-dev-bbd7d57bfe852d9788bae5fb171c7edb4021d8ac.zip |
slub: Potential stack overflow
I discovered that we can overflow stack if CONFIG_SLUB_DEBUG=y and use slabs
with many objects, since list_slab_objects() and process_slab() use
DECLARE_BITMAP(map, page->objects).
With 65535 bits, we use 8192 bytes of stack ...
Switch these allocations to dynamic allocations.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions