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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <sbjugedbn2pyqcskybmxj2evju74ldyiwugnjpu4u5ln7ufrfj@m7hi2ie63aai>
Date: Thu, 18 Jan 2024 09:29:10 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org, 
	Sean Young <sean@...s.org>, kernel@...gutronix.de
Subject: [GIT PULL] pwm: Changes for v6.8-rc1, take 2

Hello Linus,

the following changes since commit 7afc0e7f681e6efd6b826f003fc14c17b5093643:

  MAINTAINERS: pwm: Thierry steps down, Uwe takes over (2024-01-12 16:40:34 +0100)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/ukleinek/linux tags/pwm/for-6.8-2

for you to fetch changes up to 9320fc509b87b4d795fb37112931e2f4f8b5c55f:

  pwm: jz4740: Don't use dev_err_probe() in .request() (2024-01-12 18:25:05 +0100)

The commits are in next since next-20240117 only, but they are small
and obvious enough to qualify for inclusion IMHO.

Please pull this for v6.8-rc1.

Thanks to Sean for his contribution to this PR.

Best regards
Uwe

----------------------------------------------------------------
pwm changes for 6.8, take 2

The first commit fixes a duplicate cleanup in an error path introduced
in pwm/for-6.8-rc1~13.

The second cares for an out-of-bounds access. In practise it doesn't
happen---otherwise someone would have noticed since v5.17-rc1 I
guess---because the device tree binding for the two drivers using
of_pwm_single_xlate() only have args->args_count == 1. A device-tree
that doesn't conform to the respective bindings could trigger that
easily however.

The third and last one corrects the request callback of the jz4740 pwm
driver which used dev_err_probe() long after .probe() completed. This is
conceptually wrong because dev_err_probe() might call
device_set_deferred_probe_reason() which is nonsensical after the driver
is bound.
----------------------------------------------------------------

Sean Young (1):
      pwm: bcm2835: Remove duplicate call to clk_rate_exclusive_put()

Uwe Kleine-König (2):
      pwm: Fix out-of-bounds access in of_pwm_single_xlate()
      pwm: jz4740: Don't use dev_err_probe() in .request()

 drivers/pwm/core.c        | 2 +-
 drivers/pwm/pwm-bcm2835.c | 4 +---
 drivers/pwm/pwm-jz4740.c  | 7 ++++---
 3 files changed, 6 insertions(+), 7 deletions(-)

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ