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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250709-iio-const-data-19-v2-0-fb3fc9191251@baylibre.com>
Date: Wed, 09 Jul 2025 21:19:59 -0500
From: David Lechner <dlechner@...libre.com>
To: Jonathan Cameron <jic23@...nel.org>, 
 Nuno Sá <nuno.sa@...log.com>, 
 Andy Shevchenko <andy@...nel.org>, David Lechner <dlechner@...libre.com>, 
 Andrea Merello <andrea.merello@....it>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Jonathan Cameron <Jonathan.Cameron@...wei.com>, 
 kernel test robot <lkp@...el.com>
Subject: [PATCH v2 0/2] iio: imu: bno055: make bno055_sysfs_attr const

v1 of this series was already applied, but we got a cryptic error
message from the 0-day bot [1] that that made me look at the code again.

I found a potential bug that could be what triggered the build failure,
but it is hard to say. I couldn't easily reproduce the issue locally.
So I've included a new patch to fix this issue along with a v2 of the
original patch so that we can see what the 0-day bot says about it.

I also noticed a mistake in the original patch where I missed one more
place to add a const qualifier, so that is fixed as well.

[1]: https://lore.kernel.org/oe-kbuild-all/202507100510.rGt1YOOx-lkp@intel.com/

---
Changes in v2:
- New patch to fix potential issue found by 0-day
- Add another const qualifier that was missed in v1
- Link to v1: https://lore.kernel.org/r/20250628-iio-const-data-19-v1-1-a17e7c16b122@baylibre.com

---
David Lechner (2):
      iio: imu: bno055: fix OOB access of hw_xlate array
      iio: imu: bno055: make bno055_sysfs_attr const

 drivers/iio/imu/bno055/bno055.c | 56 +++++++++++++++++++++++------------------
 1 file changed, 32 insertions(+), 24 deletions(-)
---
base-commit: 14071b9cf2d751ff9bc8b5e43fa94fbf08aceea1
change-id: 20250628-iio-const-data-19-298c08d506f5

Best regards,
-- 
David Lechner <dlechner@...libre.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ