Skip to content

[PW_SID:960529] riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm#386

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw960529
Closed

[PW_SID:960529] riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm#386
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw960529

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 960529 applied to workflow__riscv__fixes

Name: riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=960529
Version: 1

Linux RISC-V bot and others added 2 commits May 6, 2025 09:20
When the prctl() interface for pointer masking was added, it did not
check that the pointer masking ISA extension was supported, only the
individual submodes. Userspace could still attempt to disable pointer
masking and query the pointer masking state. commit 81de1af
("riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL") disallowed
the former, as the senvcfg write could crash on older systems.
PR_GET_TAGGED_ADDR_CTRL state does not crash, because it reads only
kernel-internal state and not senvcfg, but it should still be disallowed
for consistency.

Fixes: 09d6775 ("riscv: Add support for userspace pointer masking")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 106.41 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 970.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1262.59 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 67.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 625be03 to 472f050 Compare May 8, 2025 16:53
@linux-riscv-bot linux-riscv-bot deleted the pw960529 branch May 8, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants