From: Dave Jones <davej@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Catalin Marinas <catalin.marinas@arm.com>, netdev@vger.kernel.org
Subject: kmemleak reports firmware loader funnies in iwlwifi
Date: Fri, 26 Jun 2009 13:19:33 -0400 [thread overview]
Message-ID: <20090626171933.GA23170@redhat.com> (raw)
After enabling kmemleak in the Fedora rawhide kernels, we've mostly
seen a flood of what appear to be false positives, but the below looks
really suspect..
https://bugzilla.redhat.com/show_bug.cgi?id=507971
Here's the summary...
iwlagn 0000:03:00.0: loaded firmware version 8.24.2.12
kmemleak: Freeing unknown object at 0xffffc90018070000
Pid: 1034, comm: NetworkManager Not tainted 2.6.31-0.25.rc0.git22.fc12.x86_64
#1
Call Trace:
[<ffffffff81139f74>] delete_object+0x5b/0x13b
[<ffffffff8113b012>] kmemleak_free+0x5b/0xb5
[<ffffffff8111dc51>] vfree+0x40/0x68
[<ffffffff813485e6>] release_firmware+0x49/0x6c
[<ffffffffa021997c>] ? iwl_mac_start+0xc5c/0x106b [iwlagn]
[<ffffffffa0219adc>] iwl_mac_start+0xdbc/0x106b [iwlagn]
[<ffffffff8109df9b>] ? __module_text_address+0x25/0x85
So it appears to be vfree'ing something that it had no knowledge of ever allocating.
afaict _request_firmware only vmallocs when it's using a firmware image built into
the driver, which isn't the case here, so I'm not sure why we end up trying
to vfree instead of kfree when we call release_firmware
anyone know what's going on here?
Dave
next reply other threads:[~2009-06-26 17:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 17:19 Dave Jones [this message]
2009-06-29 9:39 ` kmemleak reports firmware loader funnies in iwlwifi Catalin Marinas
2009-06-29 9:48 ` Pekka Enberg
2009-06-29 9:50 ` Catalin Marinas
2009-06-29 14:33 ` Catalin Marinas
2009-06-29 14:35 ` Pekka Enberg
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=20090626171933.GA23170@redhat.com \
--to=davej@redhat.com \
--cc=catalin.marinas@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.