mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pekka Enberg" <penberg@cs.helsinki.fi>
To: "Chris Rankin" <rankincj@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] Linux 2.6.20.1 - unable to handle kernel paging request - accessing freed memory?
Date: Tue, 27 Feb 2007 16:42:22 +0200	[thread overview]
Message-ID: <84144f020702270642q4e371175y2a6c922e030e1f3b@mail.gmail.com> (raw)
In-Reply-To: <689096.76239.qm@web52904.mail.yahoo.com>

Hi,

On 2/26/07, Chris Rankin <rankincj@yahoo.com> wrote:
> BUG: unable to handle kernel paging request at virtual address 6b6b6ceb

[snip]

> EIP is at module_put+0x20/0x52
> eax: 6b6b6ceb   ebx: 6b6b6b6b   ecx: 00000001   edx: e5bf0000
> esi: e9040b08   edi: 6b6b6b6b   ebp: eae0bb3c   esp: e5bf0f58
> ds: 007b   es: 007b   ss: 0068
> Process udevd (pid: 18662, ti=e5bf0000 task=e6aaa030 task.ti=e5bf0000)
> Stack: eb3ff7bc c01839fe 00000010 ed009b7c ed9291d0 c015124b 00000000 00000000
>        f7ff2208 ed009b7c f7bd0678 00000000 ed009b7c c014ed88 00000003 00000003
>        f7bd0678 f7bd06f8 c014fd81 00000003 00000007 00000003 e5bf0000 c0102bce
> Call Trace:
>  [<c01839fe>] sysfs_release+0x2d/0x4c
>  [<c015124b>] __fput+0x96/0x13c

So udevd is closing a sysfs attribute file but the pointer passed to
module_put is bogus. Looks like the sysfs dentry was already taken
down by release_sysfs_dirent(). Can you reproduce this at will? Does
the oops happen in older kernels?

                                        Pekka

  parent reply	other threads:[~2007-02-27 14:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-26  1:26 Chris Rankin
2007-02-26 18:42 ` Randy Dunlap
2007-02-26 19:57   ` [Alsa-devel] " Takashi Iwai
2007-02-27 13:25     ` Chris Rankin
2007-02-27 14:48       ` Pekka Enberg
2007-03-01 11:28         ` Chris Rankin
2007-03-01 11:32           ` Pekka J Enberg
2007-03-01 13:22             ` Chris Rankin
2007-03-01 13:27             ` Chris Rankin
2007-03-07 23:29             ` Chris Rankin
2007-03-08  1:26             ` Chris Rankin
2007-02-26 20:08   ` Chris Rankin
2007-02-27 14:42 ` Pekka Enberg [this message]
2007-02-27 17:04   ` Chris Rankin

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=84144f020702270642q4e371175y2a6c922e030e1f3b@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rankincj@yahoo.com \
    /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

all inboxes | Powered by JetHome®