From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org,
"Alexandru Ardelean" <ardeleanalex@gmail.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Bogdan Bolocan" <bogdan.bolocan@microchip.com>,
"David Lechner" <dlechner@baylibre.com>,
"Jishnu Prakash" <jishnu.prakash@oss.qualcomm.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
linux@analog.com, linux-arm-msm@vger.kernel.org,
linux-iio@vger.kernel.org, "Lothar Rubusch" <l.rubusch@gmail.com>,
"Lucas Stankus" <lucas.p.stankus@gmail.com>,
"Marius Cristea" <marius.cristea@microchip.com>,
"Mathieu Othacehe" <othacehe@gnu.org>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Radu Sabau" <radu.sabau@analog.com>
Subject: [PATCH v2 0/7] iio: Fix memory corruption, teardown races and bounds checks
Date: Mon, 23 Nov 2026 07:50:26 +0000 [thread overview]
Message-ID: <20261123075122.373060-1-lee@kernel.org> (raw)
These issues were reported by Sashiko.
None of these changes have been tested on physical hardware.
v1 => v2:
- Drop the 3 patches already applied upstream (stm32-adc x2, tsl2591)
- Rebase onto fixes-togreg
- CC Radu Sabau on the adis patch (Jonathan)
- adxl313: Return -EIO on excessive FIFO entry count and -ERANGE on
sub-base ODR codes (Andy, Jonathan)
- pac1934: Order local variables in reverse Christmas tree style and
scope the loop index j to the for-loop (Andy, Jonathan)
- qcom-spmi-adc5-gen3: Manage tm_props and the OF node reference via
adc5_gen3_aux_device_release(), register auxiliary_device_destroy()
with devm_add_action_or_reset(), and return -ENOENT on an empty reg
property (Andy, Jonathan)
- isl29501: Use HZ_PER_MHZ, group range checks by variable, and order
local declarations in reverse Christmas tree style (Andy)
v1: https://lore.kernel.org/all/20261119153151.1397003-1-lee@kernel.org/
Cc: Alexandru Ardelean <ardeleanalex@gmail.com>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: Bogdan Bolocan <bogdan.bolocan@microchip.com>
Cc: David Lechner <dlechner@baylibre.com>
Cc: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux@analog.com
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: Lothar Rubusch <l.rubusch@gmail.com>
Cc: Lucas Stankus <lucas.p.stankus@gmail.com>
Cc: Marius Cristea <marius.cristea@microchip.com>
Cc: Mathieu Othacehe <othacehe@gnu.org>
Cc: Michael Hennerich <Michael.Hennerich@analog.com>
Cc: Nuno Sá <nuno.sa@analog.com>
Cc: Radu Sabau <radu.sabau@analog.com>
Lee Jones (7):
iio: imu: adis: Clear pointers after freeing in
adis_update_scan_mode()
iio: accel: adxl313: Prevent FIFO buffer overflow in
adxl313_fifo_transfer()
iio: accel: adxl313: Reject sub-base ODR codes in adxl313_read_raw()
iio: adc: pac1934: Fix custom attribute allocation and channel bounds
iio: adc: qcom-spmi-adc5-gen3: Free TM auxiliary device wrapper in
release callback
iio: adc: qcom-spmi-adc5-gen3: Reject empty reg property in probe
iio: proximity: isl29501: Fix division by zero and overflow in
isl29501_set_freq()
drivers/iio/accel/adxl313.h | 2 +-
drivers/iio/accel/adxl313_core.c | 13 +++++-
drivers/iio/adc/pac1934.c | 33 +++++++--------
drivers/iio/adc/qcom-spmi-adc5-gen3.c | 59 +++++++++++++--------------
drivers/iio/imu/adis_buffer.c | 2 +
drivers/iio/proximity/isl29501.c | 13 ++++--
6 files changed, 68 insertions(+), 54 deletions(-)
--
2.56.1.750.gf70dc682cf-goog
next reply other threads:[~2026-11-23 7:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 7:50 Lee Jones [this message]
2026-11-23 7:50 ` [PATCH v2 5/7] iio: adc: qcom-spmi-adc5-gen3: Free TM auxiliary device wrapper in release callback Lee Jones
2026-11-23 7:50 ` [PATCH v2 6/7] iio: adc: qcom-spmi-adc5-gen3: Reject empty reg property in probe Lee Jones
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123075122.373060-1-lee@kernel.org \
--to=lee@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=ardeleanalex@gmail.com \
--cc=bogdan.bolocan@microchip.com \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=jishnu.prakash@oss.qualcomm.com \
--cc=l.rubusch@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@analog.com \
--cc=lucas.p.stankus@gmail.com \
--cc=marius.cristea@microchip.com \
--cc=nuno.sa@analog.com \
--cc=othacehe@gnu.org \
--cc=radu.sabau@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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