* [GIT PULL] gpio: fixes for v6.9
@ 2024-05-10 18:26 Bartosz Golaszewski
2024-05-10 21:39 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-05-10 18:26 UTC (permalink / raw)
To: Linus Torvalds
Cc: Linus Walleij, linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Linus,
Here are some last-minute fixes for this release from the GPIO subsystem.
The first two address a regression in performance reported to me after the
conversion to using SRCU in GPIOLIB that was merged during the v6.9 merge
window. The second patch is not technically a fix but since after the
first one we no longer need to use a per-descriptor SRCU struct, I think
it's worth to simplify the code before it gets released on Sunday.
The next two commits fix two memory issues: one use-after-free bug and
one instance of possibly leaking kernel stack memory to user-space.
Please pull,
Bartosz
The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:
Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.9
for you to fetch changes up to ee0166b637a5e376118e9659e5b4148080f1d27e:
gpiolib: cdev: fix uninitialised kfifo (2024-05-10 16:38:27 +0200)
----------------------------------------------------------------
gpio fixes for v6.9
- fix a performance regression in GPIO requesting and releasing after
the conversion to SRCU
- fix a use-after-free bug due to a race-condition
- fix leaking stack memory to user-space in a GPIO uABI corner case
----------------------------------------------------------------
Bartosz Golaszewski (2):
gpiolib: fix the speed of descriptor label setting with SRCU
gpiolib: use a single SRCU struct for all GPIO descriptors
Kent Gibson (1):
gpiolib: cdev: fix uninitialised kfifo
Zhongqiu Han (1):
gpiolib: cdev: Fix use after free in lineinfo_changed_notify
drivers/gpio/gpiolib-cdev.c | 18 ++++++++++++--
drivers/gpio/gpiolib.c | 58 ++++++++++++++++++++++++++++-----------------
drivers/gpio/gpiolib.h | 17 ++++++++-----
3 files changed, 63 insertions(+), 30 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] gpio: fixes for v6.9
2024-05-10 18:26 [GIT PULL] gpio: fixes for v6.9 Bartosz Golaszewski
@ 2024-05-10 21:39 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-05-10 21:39 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Linus Torvalds, Linus Walleij, linux-gpio, linux-kernel,
Bartosz Golaszewski
The pull request you sent on Fri, 10 May 2024 20:26:40 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.9
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cfb4be1a61200fbbd29f2699b11899789855bbe4
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-10 21:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10 18:26 [GIT PULL] gpio: fixes for v6.9 Bartosz Golaszewski
2024-05-10 21:39 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox