Skip to contentSkip to conversation

kmalloc_obj fixes for v7.0-rc2

GIT PULL Merged Kees Cook 2 participants 2 messages Feb 26

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Linus,

Please pull these handful of collected kmalloc_obj conversion fixes for v7.0-rc2.

Thanks!

-Kees

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/kmalloc_obj-v7.0-rc2

for you to fetch changes up to 795469820c638b4449f3bb90ee5e98ebccfbc480:

kcsan: test: Adjust "expect" allocation type for kmalloc_obj (2026-02-26 09:54:08 -0800)

----------------------------------------------------------------
kmalloc_obj fixes for v7.0-rc2

- Fix pointer-to-array allocation types for ubd and kcsan

- Force size overflow helpers to __always_inline

- Bump __builtin_counted_by_ref to Clang 22.1 from 22.0 (Nathan Chancellor)

----------------------------------------------------------------
Kees Cook (3):
ubd: Use pointer-to-pointers for io_thread_req arrays
overflow: Make sure size helpers are always inlined
kcsan: test: Adjust "expect" allocation type for kmalloc_obj

Nathan Chancellor (1):
init/Kconfig: Adjust fixed clang version for __builtin_counted_by_ref

 init/Kconfig               |  2 +-
 include/linux/overflow.h   |  8 ++++----
 arch/um/drivers/ubd_kern.c | 10 +++++-----
 kernel/kcsan/kcsan_test.c  |  2 +-
 4 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 26 Feb 2026 09:58:16 -0800:

The pull request you sent on Thu, 26 Feb 2026 09:58:16 -0800:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/kmalloc_obj-v7.0-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3f4a08e64442340f4807de63e30aef22cc308830

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html