[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B694DEF.70301@kernel.org>
Date: Wed, 03 Feb 2010 02:20:31 -0800
From: Yinghai Lu <yinghai@...nel.org>
To: Brandon Philips <bphilips@...e.de>
CC: Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
YinghaiLu@...e.de, Suresh Siddha <suresh.b.siddha@...el.com>,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: x86: fix race in create_irq_nr on irq_desc
On 02/02/2010 07:31 PM, Brandon Philips wrote:
> Race in create_irq_nr():
>
> - Thread 1 loops through and calls irq_to_desc_alloc_node with new=0x66.
>
> - Thread 2 has exited the loop with irq=0x66 and calls dynamic_irq_init(0x66)
> setting desc->chip_data = NULL
>
> - Thread 1 then dereferences NULL via desc_new->chip_data->vector
two threads get same irq?
YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists