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: <50a5b4a5-18ae-6dda-bdbd-db67e112bc1b@kernel.org>
Date: Thu, 6 Nov 2025 15:52:22 -0700 (MST)
From: Paul Walmsley <pjw@...nel.org>
To: torvalds@...ux-foundation.org
cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] RISC-V updates for v6.18-rc5


Linus,

The following changes since commit dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa:

  Linux 6.18-rc3 (2025-10-26 15:59:49 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux tags/riscv-for-linus-6.18-rc5

for you to fetch changes up to 2e448567839c65768486d56612c88cb327d26050:

  cpuidle: riscv-sbi: Replace deprecated strcpy in sbi_cpuidle_init_cpu (2025-10-27 23:38:13 -0600)


- Paul
----------------------------------------------------------------
RISC-V updates for v6.18-rc5

Some RISC-V updates for v6.18-rc5, including:

- A fix to disable KASAN checks while walking a non-current task's
  stackframe (following x86)

- A fix for a kvrealloc()-related memory leak in
  module_frob_arch_sections()

- Two replacements of strcpy() with strscpy()

- A change to use the RISC-V .insn assembler directive when possible
  to assemble instructions from hex opcodes

- Some low-impact fixes in the ptdump code and kprobes test code

----------------------------------------------------------------
Ben Dooks (1):
      riscv: asm: use .insn for making custom instructions

Chunyan Zhang (1):
      riscv: stacktrace: Disable KASAN checks for non-current tasks

Josephine Pfeiffer (1):
      riscv: ptdump: use seq_puts() in pt_dump_seq_puts() macro

Miaoqian Lin (1):
      riscv: Fix memory leak in module_frob_arch_sections()

Thorsten Blum (2):
      riscv: KGDB: Replace deprecated strcpy in kgdb_arch_handle_qxfer_pkt
      cpuidle: riscv-sbi: Replace deprecated strcpy in sbi_cpuidle_init_cpu

Vivian Wang (2):
      riscv: tests: Rename kprobes_test_riscv to kprobes_riscv
      riscv: tests: Make RISCV_KPROBES_KUNIT tristate

 arch/riscv/include/asm/asm.h                    |  6 ++++++
 arch/riscv/include/asm/insn-def.h               |  8 ++++----
 arch/riscv/include/asm/vendor_extensions/mips.h |  6 +++---
 arch/riscv/kernel/kgdb.c                        |  4 ++--
 arch/riscv/kernel/module-sections.c             |  8 ++++++--
 arch/riscv/kernel/stacktrace.c                  | 21 +++++++++++++++++++--
 arch/riscv/kernel/tests/Kconfig.debug           |  2 +-
 arch/riscv/kernel/tests/kprobes/Makefile        |  4 +++-
 arch/riscv/kernel/tests/kprobes/test-kprobes.c  |  5 ++++-
 arch/riscv/mm/ptdump.c                          |  2 +-
 drivers/cpuidle/cpuidle-riscv-sbi.c             |  5 +++--
 11 files changed, 52 insertions(+), 19 deletions(-)

vmlinux size differences in bytes (from v6.18-rc3):
 text  data bss    dec   hex filename                             
 -112   +64   .    -48   -30 vmlinux.defconfig.gcc-15             
 -104   +64   .    -40   -28 vmlinux.nosmp_defconfig.gcc-15       
 -112  +160   .    +48   +30 vmlinux.rv32_defconfig.gcc-15        
  +32   +96   .   +128   +80 vmlinux.rv32_nosmp_defconfig.gcc-15  
  +24   +64   .    +88   +58 vmlinux.nommu_virt_defconfig.gcc-15  
  +32   +96   .   +128   +80 vmlinux.defconfig.clang-20           
  +24   +96   .   +120   +78 vmlinux.nosmp_defconfig.clang-20     
  +40   +96   .   +136   +88 vmlinux.rv32_defconfig.clang-20      
  +32  +160   .   +192   +c0 vmlinux.rv32_nosmp_defconfig.clang-20
   +8   +64   .    +72   +48 vmlinux.nommu_virt_defconfig.clang-20
 -112  +128   .    +16   +10 vmlinux.defconfig.gcc-14             
 -104   +64   .    -40   -28 vmlinux.nosmp_defconfig.gcc-14       
 -104   +96   .     -8    -8 vmlinux.rv32_defconfig.gcc-14        
  +24  +160   .   +184   +b8 vmlinux.rv32_nosmp_defconfig.gcc-14  
  +24   +64   .    +88   +58 vmlinux.nommu_virt_defconfig.gcc-14  
  +36  +128   .   +164   +a4 vmlinux.defconfig.clang-19           
  +40   +96   .   +136   +88 vmlinux.nosmp_defconfig.clang-19     
  +40   +96   .   +136   +88 vmlinux.rv32_defconfig.clang-19      
  +48  +128   .   +176   +b0 vmlinux.rv32_nosmp_defconfig.clang-19
  +16     .   .    +16   +10 vmlinux.nommu_virt_defconfig.clang-19
    .     .   .      .     . vmlinux.allnoconfig.gcc-14           
-5937 -4656   . -10593 -2961 vmlinux.allmodconfig.gcc-14          

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ