[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163432513382.815620.12291665932227521048.b4-ty@bootlin.com>
Date: Fri, 15 Oct 2021 21:12:22 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Yang Yingliang <yangyingliang@...wei.com>,
linux-kernel@...r.kernel.org, linux-rtc@...r.kernel.org
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
a.zummo@...ertech.it
Subject: Re: [PATCH v2] rtc: class: check return value when calling dev_set_name()
On Tue, 12 Oct 2021 12:16:29 +0800, Yang Yingliang wrote:
> I got a null-ptr-deref report when doing fault injection test:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000000
> RIP: 0010:strcmp+0xc/0x20
> Call Trace:
> __devm_rtc_register_device.cold.7+0x16a/0x2df
> rv3029_probe+0x4b1/0x770 [rtc_rv3029c2]
> rv3029_i2c_probe+0x141/0x180 [rtc_rv3029c2]
> i2c_device_probe+0xa07/0xbb0
> really_probe+0x285/0xc30
>
> [...]
Applied, thanks!
[1/1] rtc: class: check return value when calling dev_set_name()
commit: 24d23181e43d72ca692a479e70dfe5b0b5dd33f1
Best regards,
--
Alexandre Belloni <alexandre.belloni@...tlin.com>
Powered by blists - more mailing lists