mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.21-mm1+hotfix -- Slab corruption -- Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
@ 2007-05-07 18:57 Miles Lane
  2007-05-08  9:52 ` Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Miles Lane @ 2007-05-07 18:57 UTC (permalink / raw)
  To: Andrew Morton, LKML, Herbert Xu

[  118.442018] ieee80211_crypt: registered algorithm 'WEP'
[  118.514572] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  118.514664] Slab corruption: size-256 start=c6aabe98, len=256
[  118.514672] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b.
[  118.514676] Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
[  118.514692] 000: 10 55 ac c6 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
[  118.514715] Prev obj: start=c6aabd80, len=256
[  118.514721] Redzone: 0xd84156c5635688c0/0xd84156c5635688c0.
[  118.514725] Last user: [<c01afd85>](crypto_alloc_instance+0x1d/0xc0)
[  118.514734] 000: e0 71 39 c0 80 6e 39 c0 88 bd aa c6 88 bd aa c6
[  118.514753] 010: 04 00 00 00 01 00 00 00 04 00 00 00 00 00 00 00

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.21-mm1+hotfix -- Slab corruption -- Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
  2007-05-07 18:57 2.6.21-mm1+hotfix -- Slab corruption -- Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a) Miles Lane
@ 2007-05-08  9:52 ` Herbert Xu
  2007-05-09  9:50   ` Miles Lane
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2007-05-08  9:52 UTC (permalink / raw)
  To: Miles Lane; +Cc: Andrew Morton, LKML

On Mon, May 07, 2007 at 11:57:28AM -0700, Miles Lane wrote:
> [  118.442018] ieee80211_crypt: registered algorithm 'WEP'
> [  118.514572] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> [  118.514664] Slab corruption: size-256 start=c6aabe98, len=256
> [  118.514672] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b.
> [  118.514676] Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
> [  118.514692] 000: 10 55 ac c6 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> [  118.514715] Prev obj: start=c6aabd80, len=256
> [  118.514721] Redzone: 0xd84156c5635688c0/0xd84156c5635688c0.
> [  118.514725] Last user: [<c01afd85>](crypto_alloc_instance+0x1d/0xc0)
> [  118.514734] 000: e0 71 39 c0 80 6e 39 c0 88 bd aa c6 88 bd aa c6
> [  118.514753] 010: 04 00 00 00 01 00 00 00 04 00 00 00 00 00 00 00

Oops.  Does this patch fix the problem for you?

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/crypto/cryptomgr.c b/crypto/cryptomgr.c
index 6958ea8..e5fb7cc 100644
--- a/crypto/cryptomgr.c
+++ b/crypto/cryptomgr.c
@@ -24,8 +24,6 @@
 #include "internal.h"
 
 struct cryptomgr_param {
-	struct task_struct *thread;
-
 	struct rtattr *tb[CRYPTOA_MAX];
 
 	struct {
@@ -81,6 +79,7 @@ err:
 
 static int cryptomgr_schedule_probe(struct crypto_larval *larval)
 {
+	struct task_struct *thread;
 	struct cryptomgr_param *param;
 	const char *name = larval->alg.cra_name;
 	const char *p;
@@ -130,8 +129,8 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval)
 
 	memcpy(param->larval.name, larval->alg.cra_name, CRYPTO_MAX_ALG_NAME);
 
-	param->thread = kthread_run(cryptomgr_probe, param, "cryptomgr");
-	if (IS_ERR(param->thread))
+	thread = kthread_run(cryptomgr_probe, param, "cryptomgr");
+	if (IS_ERR(thread))
 		goto err_free_param;
 
 	return NOTIFY_STOP;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.21-mm1+hotfix -- Slab corruption -- Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
  2007-05-08  9:52 ` Herbert Xu
@ 2007-05-09  9:50   ` Miles Lane
  0 siblings, 0 replies; 3+ messages in thread
From: Miles Lane @ 2007-05-09  9:50 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Andrew Morton, LKML

On 5/8/07, Herbert Xu <herbert@gondor.apana.org.au> wrote:
> On Mon, May 07, 2007 at 11:57:28AM -0700, Miles Lane wrote:
> > [  118.442018] ieee80211_crypt: registered algorithm 'WEP'
> > [  118.514572] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> > [  118.514664] Slab corruption: size-256 start=c6aabe98, len=256
> > [  118.514672] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b.
> > [  118.514676] Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a)
> > [  118.514692] 000: 10 55 ac c6 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> > [  118.514715] Prev obj: start=c6aabd80, len=256
> > [  118.514721] Redzone: 0xd84156c5635688c0/0xd84156c5635688c0.
> > [  118.514725] Last user: [<c01afd85>](crypto_alloc_instance+0x1d/0xc0)
> > [  118.514734] 000: e0 71 39 c0 80 6e 39 c0 88 bd aa c6 88 bd aa c6
> > [  118.514753] 010: 04 00 00 00 01 00 00 00 04 00 00 00 00 00 00 00
>
> Oops.  Does this patch fix the problem for you?

Yes, that fixed it.  I found the problem is also showing up in
2.6.21-git10.  I tested with 2.6.21-git10.

Thanks!
         Miles

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-09  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07 18:57 2.6.21-mm1+hotfix -- Slab corruption -- Last user: [<c01b0cfa>](cryptomgr_probe+0x6c/0x9a) Miles Lane
2007-05-08  9:52 ` Herbert Xu
2007-05-09  9:50   ` Miles Lane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®