Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KCFI: -Csanitize-kcfi-arity support in rustc #138311

Open
ojeda opened this issue Mar 10, 2025 · 1 comment
Open

KCFI: -Csanitize-kcfi-arity support in rustc #138311

ojeda opened this issue Mar 10, 2025 · 1 comment
Assignees
Labels
A-control-flow-integrity Area: Control Flow Integrity (CFI) security mitigation A-rust-for-linux Relevant for the Rust-for-Linux project A-sanitizers Area: Sanitizers for correctness and code quality C-feature-request Category: A feature request, i.e: not implemented / a PR. PG-exploit-mitigations Project group: Exploit mitigations T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@ojeda
Copy link
Contributor

ojeda commented Mar 10, 2025

i.e. the equivalent of Clang's -fsanitize-kcfi-arity.

https://clang.llvm.org/docs/ControlFlowIntegrity.html#fsanitize-kcfi-arity
https://lore.kernel.org/lkml/20250224123703.843199044@infradead.org/

Cc @rcvalle @maurer @samitolvanen @Darksonn
@rustbot label A-rust-for-linux

(We can reuse this for the tracking issue eventually, if any)

@rustbot rustbot added needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. A-rust-for-linux Relevant for the Rust-for-Linux project labels Mar 10, 2025
@jieyouxu jieyouxu added C-feature-request Category: A feature request, i.e: not implemented / a PR. A-sanitizers Area: Sanitizers for correctness and code quality T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Mar 10, 2025
@rcvalle rcvalle changed the title -Csanitize-kcfi-arity support in rustc KCFI: -Csanitize-kcfi-arity support in rustc Mar 11, 2025
@rcvalle rcvalle added PG-exploit-mitigations Project group: Exploit mitigations A-control-flow-integrity Area: Control Flow Integrity (CFI) security mitigation labels Mar 11, 2025
@rcvalle
Copy link
Member

rcvalle commented Mar 11, 2025

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-control-flow-integrity Area: Control Flow Integrity (CFI) security mitigation A-rust-for-linux Relevant for the Rust-for-Linux project A-sanitizers Area: Sanitizers for correctness and code quality C-feature-request Category: A feature request, i.e: not implemented / a PR. PG-exploit-mitigations Project group: Exploit mitigations T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants