archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <>
To: Nadezda Lutovinova <>
Cc: Greg Kroah-Hartman <>,
	Shawn Guo <>,
	Sascha Hauer <>,
	Pengutronix Kernel Team <>,
	Fabio Estevam <>,
	NXP Linux Team <>,,,,
Subject: Re: [PATCH] usb: dwc3: imx8mp: request irq after initializing dwc3
Date: Fri, 20 Aug 2021 13:06:33 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Nadezda Lutovinova <> writes:

> If IRQ occurs between calling  devm_request_threaded_irq() and
> initializing dwc3_imx->dwc3, then null pointer dereference occurs
> since dwc3_imx->dwc3 is used in dwc3_imx8mp_interrupt().
> The patch puts registration of the interrupt handler after
> initializing of neccesery data.
> Found by Linux Driver Verification project (
> Signed-off-by: Nadezda Lutovinova <>

Acked-by: Felipe Balbi <>


      parent reply	other threads:[~2021-08-20 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-19 15:48 [PATCH] usb: dwc3: imx8mp: request irq after initializing dwc3 Nadezda Lutovinova
2021-08-19 20:15 ` Fabio Estevam
2021-08-20 10:06 ` Felipe Balbi [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).