Skip to content

CFI: asan.module_ctor is missing a type hash #1742

Description

@samitolvanen

From Mark Rutland:

Looks like CFI && KASAN is borked on both arm64 and x86; the implicitly-generated asan.module_ctor functions aren't given a type hash by the compiler, so when those get invoked by do_ctors() the calls fail

cc @kees @nickdesaulniers @nathanchance @lvwr

Metadata

Metadata

Assignees

No one assigned

    Labels

    [BUG] llvm (main)A bug in an unreleased version of LLVM (this label is appropriate for regressions)[FEATURE] CFIRelated to building the kernel with Clang Control Flow Integrity[FIXED][LINUX] 6.2This bug was fixed in Linux 6.2[FIXED][LLVM] mainThis bug was only present and fixed in an unreleased version of LLVM

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions