public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: LKML <linux-kernel@vger.kernel.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>
Subject: 3.4-rc2: Possible memory leak in __register_sysctl_table()
Date: Fri, 13 Apr 2012 13:10:05 -0500	[thread overview]
Message-ID: <4F886BFD.7040007@lwfinger.net> (raw)

I am seeing apparent memory leaks in 3.4-rcX. I do not think I saw these in 3.3.

The kmemleak traceback is:

unreferenced object 0xffff8800b7536180 (size 96):
   comm "swapper/0", pid 1, jiffies 4294892617 (age 8756.084s)
   hex dump (first 32 bytes):
     20 c4 1c 82 ff ff ff ff 00 00 00 00 01 00 00 00   ...............
     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<ffffffff81383401>] kmemleak_alloc+0x21/0x50
     [<ffffffff81134153>] __kmalloc+0x123/0x2a0
     [<ffffffff811a8ac2>] __register_sysctl_table+0x62/0x4d0
     [<ffffffff811a907d>] register_leaf_sysctl_tables+0x14d/0x220
     [<ffffffff811a90e4>] register_leaf_sysctl_tables+0x1b4/0x220
     [<ffffffff811a92c9>] __register_sysctl_paths+0x159/0x1f0
     [<ffffffff811a9376>] register_sysctl_paths+0x16/0x20
     [<ffffffff816b5c41>] ip_static_sysctl_init+0x17/0x19
     [<ffffffff816b68bc>] inet_init+0xb4/0x2b2
     [<ffffffff810001ca>] do_one_initcall+0x3a/0x170
     [<ffffffff81686c52>] kernel_init+0xf7/0x17b
     [<ffffffff8139f154>] kernel_thread_helper+0x4/0x10
     [<ffffffffffffffff>] 0xffffffffffffffff

Thanks,

Larry

                 reply	other threads:[~2012-04-13 18:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F886BFD.7040007@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox