Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cc8c3b78 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Protect access to irq_desc->action in can_request_irq()



can_request_irq() accesses and dereferences irq_desc->action w/o
holding irq_desc->lock. So action can be freed on another CPU before
it's dereferenced. Unlikely, but ...

Protect it with desc->lock.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0b1adaa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment