2010-11-20 17:01:18

by Daniel Drake

[permalink] [raw]
Subject: libertas cfg80211 support causes slab corruption

Hi,

The following commit causes slab corruption:

commit ff9fc791940f9ff51387c35f9332efe5007154f1
Author: Holger Schurig <[email protected]>
Date: Tue Oct 6 16:31:54 2009 +0200

libertas: first stab at cfg80211 support



Can be easily reproduced with SLAB (not SLUB) with CONFIG_DEBUG_SLAB.

Load libertas_sdio. No need to bring the interface up or scan or
anything. Unload the module. wait a couple of seconds, and:

[ 30.043335] Slab corruption: size-16384 start=eb728000, len=16384
[ 30.049661] 270: 6b 6b 6b 6b 6b 6b 6b 6b 00 00 00 00 6b 6b 6b 6b

(note that you may see another single-byte of slab corruption in
addition to the above. revert the patch mentioned at
http://lists.infradead.org/pipermail/libertas-dev/2010-November/003352.html
before testing)

Any ideas?

Thanks,
Daniel