[PATCH V2] selftests: lsm: Refactor `flags_overset_lsm_set_self_attr` test

2024-11-16 Thread Amit Vadhavana
Remove the temporary context variable `tctx` to simplify the code. use the original context `ctx` directly in calls to `lsm_get_self_attr`, eliminating redundancy without any functional changes. Reviewed-by: Casey Schaufler Reviewed-by: Shuah Khan Signed-off-by: Amit Vadhavana --- V1:- https://

Re: [PATCH v4] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

2024-11-16 Thread Suraj Sonawane
On 16/11/24 01:00, Ira Weiny wrote: Suraj Sonawane wrote: Fix an issue detected by syzbot with KASAN: BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/ core.c:416 [inline] BUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0 drivers/acpi/nfit/core.c:459 The issue

Re: [PATCH 0/2] module: Block modules by Tuxedo from accessing GPL symbols

2024-11-16 Thread Werner Sembach
Hello Uwe, Am 16.11.24 um 18:49 schrieb Uwe Kleine-König: Hello, On Thu, Nov 14, 2024 at 12:14:16PM +0100, Uwe Kleine-König wrote: On 11/14/24 11:49, Werner Sembach wrote: Am 14.11.24 um 11:31 schrieb Uwe Kleine-König: the kernel modules provided by Tuxedo on https://gitlab.com/tuxedocompute

Re: [PATCH 0/2] module: Block modules by Tuxedo from accessing GPL symbols

2024-11-16 Thread Uwe Kleine-König
Hello, On Thu, Nov 14, 2024 at 12:14:16PM +0100, Uwe Kleine-König wrote: > On 11/14/24 11:49, Werner Sembach wrote: > > Am 14.11.24 um 11:31 schrieb Uwe Kleine-König: > > > the kernel modules provided by Tuxedo on > > > https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers > > > a

Re: [PATCH v5 2/2] module: Block a module by TUXEDO from accessing GPL symbols

2024-11-16 Thread Uwe Kleine-König
On Sat, Nov 16, 2024 at 09:15:55AM +0100, Daniel Gomez wrote: > On Fri Nov 15, 2024 at 7:50 PM CET, Werner Sembach wrote: > > From: Uwe Kleine-König > > > > TUXEDO has not yet relicensed a module for GPLv2+ as a reply from former > > contributers the committed code under GPLv3+ is awaited. > > FY

Re: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-16 Thread stsp
16.11.2024 04:10, Kuniyuki Iwashima пишет: [PATCH v2] net/unix: pass pidfd flags via SCM_PIDFD cmsg Please specify the target tree; net for fixes, net-next for others. https://www.kernel.org/doc/html/v6.11/process/maintainer-netdev.html [PATCH net-next v3] af_unix: pass ... Thanks for the l

Re: [PATCH] selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels

2024-11-16 Thread IBM
Michael Ellerman writes: > Currently the mount_setattr_test fails on machines with a 64K PAGE_SIZE, > with errors such as: > > # RUN mount_setattr_idmapped.invalid_fd_negative ... > mkfs.ext4: No space left on device while writing out and closing file system > # mount_setattr_tes

[PATCH v5] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

2024-11-16 Thread Suraj Sonawane
Fix an issue detected by syzbot with KASAN: BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/ core.c:416 [inline] BUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0 drivers/acpi/nfit/core.c:459 The issue occurs in cmd_to_func when the call_pkg->nd_reserved2 array i

[PATCH] dt-bindings: remoteproc: Consolidate SC8180X and SM8150 PAS files

2024-11-16 Thread Konrad Dybcio
es: @@ -115,6 +121,7 @@ allOf: properties: compatible: enum: +- qcom,sc8180x-slpi-pas - qcom,sm8150-slpi-pas - qcom,sm8250-adsp-pas - qcom,sm8250-slpi-pas --- base-commit: 744cf71b8bdfcdd77aaf58395e068b7457634b2c chang

Re: [syzbot] [acpi?] [nvdimm?] KASAN: vmalloc-out-of-bounds Read in acpi_nfit_ctl (2)

2024-11-16 Thread Suraj Sonawane
#syz test On Tue, Nov 5, 2024 at 8:58 PM syzbot < syzbot+7534f060ebda6b8b5...@syzkaller.appspotmail.com> wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:2e1b3cc9d7f7 Merge tag 'arm-fixes-6.12-2' of > git://git.ker.. > git tree: upstream > console output: https:/

Re: [syzbot] [acpi?] [nvdimm?] KASAN: vmalloc-out-of-bounds Read in acpi_nfit_ctl (2)

2024-11-16 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-by: syzbot+7534f060ebda6b8b5...@syzkaller.appspotmail.com Tested-by: syzbot+7534f060ebda6b8b5...@syzkaller.appspotmail.com Tested on: commit: e8bdb3c8 Merge tag 'riscv-for-linus-6.12-rc8'

[PATCH net-next v3] af_unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-16 Thread Stas Sergeev
Currently SCM_PIDFD cmsg cannot be sent via unix socket (returns -EINVAL) and SO_PASSPIDFD doesn't support flags. The created pidfd always has flags set to 0. This patch implements SCM_PIDFD cmsg in AF_UNIX socket, which can be used to send flags to SO_PASSPIDFD-enabled recipient. Self-test is ad

Re: [PATCH v5 01/19] scripts: move genksyms crc32 implementation to a common include

2024-11-16 Thread Masahiro Yamada
On Thu, Nov 14, 2024 at 2:54 AM Sami Tolvanen wrote: > > Hi, > > On Mon, Nov 11, 2024 at 8:06 PM Masahiro Yamada wrote: > > > > On Thu, Oct 31, 2024 at 2:01 AM Sami Tolvanen > > wrote: > > > > > > To avoid duplication between host programs, move the crc32 code to a > > > shared header file. > >

Re: [PATCH v5 2/2] module: Block a module by TUXEDO from accessing GPL symbols

2024-11-16 Thread Daniel Gomez
On Fri Nov 15, 2024 at 7:50 PM CET, Werner Sembach wrote: > From: Uwe Kleine-König > > TUXEDO has not yet relicensed a module for GPLv2+ as a reply from former > contributers the committed code under GPLv3+ is awaited. FYI, the SPDX identifier GPL-2.0+ is deprecated as of 2.0rc2 [1]. I think you'