All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Brian King <brking@linux.vnet.ibm.com>
Cc: tklein@de.ibm.com, netdev@vger.kernel.org, raisch@de.ibm.com,
	linuxppc-dev@ozlabs.org, hering2@de.ibm.com
Subject: Re: [PATCH 1/1] ehea: Fix use after free on reboot
Date: Thu, 22 May 2008 06:04:31 -0400	[thread overview]
Message-ID: <4835452F.1010708@garzik.org> (raw)
In-Reply-To: <12107765041509-patch-mail.ibm.com>

Brian King wrote:
> Fixes the following use after free oops:
> 
> ehea: Reboot: freeing all eHEA resources
> Unable to handle kernel paging request for data at address 0x6b6b6b6b6b6b6c5b
> Faulting instruction address: 0xd000000000354488
> cpu 0x0: Vector: 300 (Data Access) at [c00000002ec6f310]
>     pc: d000000000354488: .ehea_shutdown_single_port+0x50/0x78 [ehea]
>     lr: d00000000035447c: .ehea_shutdown_single_port+0x44/0x78 [ehea]
>     sp: c00000002ec6f590
>    msr: 8000000000009032
>    dar: 6b6b6b6b6b6b6c5b
>  dsisr: 40000000
>   current = 0xc0000000281412e0
>   paca    = 0xc0000000006df300
>     pid   = 10930, comm = reboot
> enter ? for help
> [c00000002ec6f590] d00000000035d64c .ehea_remove+0x44/0x124 [ehea] (unreliable)
> [c00000002ec6f630] c000000000319f88 .of_platform_device_remove+0x40/0x58
> [c00000002ec6f6a0] c000000000291018 .__device_release_driver+0xb0/0xf0
> [c00000002ec6f730] c000000000291120 .driver_detach+0xc8/0xfc
> [c00000002ec6f7c0] c00000000028fe24 .bus_remove_driver+0xb4/0x114
> [c00000002ec6f850] c000000000291768 .driver_unregister+0x54/0x74
> [c00000002ec6f8e0] c00000000031a0c8 .of_unregister_driver+0x14/0x28
> [c00000002ec6f950] c000000000023ba0 .ibmebus_unregister_driver+0x10/0x24
> [c00000002ec6f9c0] d000000000354180 .ehea_reboot_notifier+0x30/0x4c [ehea]
> [c00000002ec6fa40] c0000000003c95a8 .notifier_call_chain+0x5c/0xcc
> [c00000002ec6fae0] c000000000082cd4 .__blocking_notifier_call_chain+0x70/0xb0
> [c00000002ec6fb90] c000000000075cf8 .kernel_restart_prepare+0x24/0x58
> [c00000002ec6fc10] c000000000075f0c .kernel_restart+0x20/0x6c
> [c00000002ec6fc90] c000000000078674 .sys_reboot+0x1d4/0x290
> [c00000002ec6fe30] c0000000000086ac syscall_exit+0x0/0x40
> --- Exception: c01 (System Call) at 000000000ff63a40
> SP (ffceea50) is in userspace
> 
> Signed-off-by: Brian King <brking@linux.vnet.ibm.com>

applied

WARNING: multiple messages have this Message-ID (diff)
From: Jeff Garzik <jeff@garzik.org>
To: Brian King <brking@linux.vnet.ibm.com>
Cc: tklein@de.ibm.com, raisch@de.ibm.com, hering2@de.ibm.com,
	netdev@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/1] ehea: Fix use after free on reboot
Date: Thu, 22 May 2008 06:04:31 -0400	[thread overview]
Message-ID: <4835452F.1010708@garzik.org> (raw)
In-Reply-To: <12107765041509-patch-mail.ibm.com>

Brian King wrote:
> Fixes the following use after free oops:
> 
> ehea: Reboot: freeing all eHEA resources
> Unable to handle kernel paging request for data at address 0x6b6b6b6b6b6b6c5b
> Faulting instruction address: 0xd000000000354488
> cpu 0x0: Vector: 300 (Data Access) at [c00000002ec6f310]
>     pc: d000000000354488: .ehea_shutdown_single_port+0x50/0x78 [ehea]
>     lr: d00000000035447c: .ehea_shutdown_single_port+0x44/0x78 [ehea]
>     sp: c00000002ec6f590
>    msr: 8000000000009032
>    dar: 6b6b6b6b6b6b6c5b
>  dsisr: 40000000
>   current = 0xc0000000281412e0
>   paca    = 0xc0000000006df300
>     pid   = 10930, comm = reboot
> enter ? for help
> [c00000002ec6f590] d00000000035d64c .ehea_remove+0x44/0x124 [ehea] (unreliable)
> [c00000002ec6f630] c000000000319f88 .of_platform_device_remove+0x40/0x58
> [c00000002ec6f6a0] c000000000291018 .__device_release_driver+0xb0/0xf0
> [c00000002ec6f730] c000000000291120 .driver_detach+0xc8/0xfc
> [c00000002ec6f7c0] c00000000028fe24 .bus_remove_driver+0xb4/0x114
> [c00000002ec6f850] c000000000291768 .driver_unregister+0x54/0x74
> [c00000002ec6f8e0] c00000000031a0c8 .of_unregister_driver+0x14/0x28
> [c00000002ec6f950] c000000000023ba0 .ibmebus_unregister_driver+0x10/0x24
> [c00000002ec6f9c0] d000000000354180 .ehea_reboot_notifier+0x30/0x4c [ehea]
> [c00000002ec6fa40] c0000000003c95a8 .notifier_call_chain+0x5c/0xcc
> [c00000002ec6fae0] c000000000082cd4 .__blocking_notifier_call_chain+0x70/0xb0
> [c00000002ec6fb90] c000000000075cf8 .kernel_restart_prepare+0x24/0x58
> [c00000002ec6fc10] c000000000075f0c .kernel_restart+0x20/0x6c
> [c00000002ec6fc90] c000000000078674 .sys_reboot+0x1d4/0x290
> [c00000002ec6fe30] c0000000000086ac syscall_exit+0x0/0x40
> --- Exception: c01 (System Call) at 000000000ff63a40
> SP (ffceea50) is in userspace
> 
> Signed-off-by: Brian King <brking@linux.vnet.ibm.com>

applied



  parent reply	other threads:[~2008-05-22 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 14:48 [PATCH 1/1] ehea: Fix use after free on reboot Brian King
2008-05-20 13:22 ` Jan-Bernd Themann
2008-05-22 10:04 ` Jeff Garzik [this message]
2008-05-22 10:04   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2008-05-14 14:48 Brian King
2008-05-14 14:48 Brian King

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=4835452F.1010708@garzik.org \
    --to=jeff@garzik.org \
    --cc=brking@linux.vnet.ibm.com \
    --cc=hering2@de.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@vger.kernel.org \
    --cc=raisch@de.ibm.com \
    --cc=tklein@de.ibm.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 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.