[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1530019688.git.hns@goldelico.com>
Date: Tue, 26 Jun 2018 15:28:28 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: Sebastian Reichel <sre@...nel.org>,
anish kumar <anish198519851985@...il.com>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Anton Vorontsov <cbouatmailru@...il.com>,
Jonathan Cameron <jic23@...nel.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
letux-kernel@...nphoenux.org, kernel@...a-handheld.com,
"H. Nikolaus Schaller" <hns@...delico.com>
Subject: [PATCH 0/2] power: generic-adc-battery: fix out of bounds write
This patch set addresses two bugs in the gab_probe() function which are
there since the first commit in 3.7-rc1:
1. there is an out of bounds write access by a miscalculated destination
address for the memcpy()
2. if iio channels are already represented by default properties, they
appear as duplicates in uevent
H. Nikolaus Schaller (2):
power: generic-adc-battery: fix out-of-bounds write when copying
channel properties
power: generic-adc-battery: check for duplicate properties copied from
iio channels
drivers/power/supply/generic-adc-battery.c | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
--
2.12.2
Powered by blists - more mailing lists