[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210607082255.5ab761b9@xps13>
Date: Mon, 7 Jun 2021 08:22:55 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: <linux-kernel@...r.kernel.org>, <linux-i3c@...ts.infradead.org>,
<alexandre.belloni@...tlin.com>
Subject: Re: [PATCH -next v2] i3c: master: svc: drop free_irq of
devm_request_irq allocated irq
Hello,
Yang Yingliang <yangyingliang@...wei.com> wrote on Wed, 2 Jun 2021
16:49:35 +0800:
> irq allocated with devm_request_irq() will be freed in devm_irq_release(),
> using free_irq() in ->remove() will causes a dangling pointer, and a
> subsequent double free. So remove the free_irq() in svc_i3c_master_remove().
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Thanks,
Miquèl
Powered by blists - more mailing lists