lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 3 Oct 2020 15:56:00 +0200
From: Pavel Machek <pavel@....cz>
To: ultracoolguy@...anota.com
Cc: Dmurphy <dmurphy@...com>, Linux Leds <linux-leds@...r.kernel.org>,
Trivial <trivial@...nel.org>, linux-kernel@...r.kernel.org,
marek.behun@....cz
Subject: Re: [PATCH] leds: lm3697: Fix out-of-bound access
Hi!
> Signed-off-by: Ultracoolguy <ultracoolguy@...anota.com>
I'll need your real name to apply a patch.
> Hi, all. This is a patch fixing an out-of-bounds error due to lm3697_init expecting the device tree to use both control banks. This fixes it by adding a new variable that will hold the number of used banks.
>
> Panic caused by this bug:
> <7>[ 3.059893] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G W 5.9.0-rc7-postmarketos-qcom-msm8953 #71
Ok, so I assume this is only problem with certain device trees, and
not a problem with dts' in mainline?
This is not trivial patch, no need to cc trivial tree. OTOH Ccing
Marek who did a lot of cleanups in -next might be useful. Doing that
now.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists