[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121448: /usr/lib/linux-kbuild-6.18/tools/objtool/objtool: objtool crashes with coredump



Package: linux-kbuild-6.18
Version: 6.18~rc7-1~exp1
Severity: normal
File: /usr/lib/linux-kbuild-6.18/tools/objtool/objtool

Dear Maintainer,

I'm trying to install the package *nvidia-kernel-dkms* (550.163.01-4) on my
system which triggers dkms. This fails, because objtool crashes. Here is the
core dump:

           PID: 219805 (objtool.real-x8)
           UID: 1000 (joerg)
           GID: 1000 (joerg)
        Signal: 11 (SEGV)
     Timestamp: Wed 2025-11-26 14:11:01 CET (3min 37s ago)
  Command Line: /usr/src/linux-headers-6.18-amd64/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --ibt --orc --retpoline --rethunk --sls --static-call --uaccess --prefix=16 --link --module nvidia.o
    Executable: /usr/lib/linux-kbuild-6.18/tools/objtool/objtool.real-x86
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-xterm-31934.scope
          Unit: user@1000.service
     User Unit: app-gnome-xterm-31934.scope
         Slice: user-1000.slice
     Owner UID: 1000 (joerg)
       Boot ID: 31de29b563df4019b7e2ab8c62b9f795
    Machine ID: 523cb54753234ed08c13ec497d0d3b64
      Hostname: zenbook
       Storage: /var/lib/systemd/coredump/core.objtool\x2ereal-x8.1000.31de29b563df4019b7e2ab8c62b9f795.219805.1764162661000000.zst (present)
  Size on Disk: 110M
       Message: Process 219805 (objtool.real-x8) of user 1000 dumped core.

[New LWP 219805]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/src/linux-headers-6.18-amd64/tools/objtool/objtool --hacks=jump_label --ha'.
Program terminated with signal SIGSEGV, Segmentation fault.
Download failed: Invalid argument.  Continuing without source file ./tools/objtool/./tools/objtool/elf.c.
#0  find_reloc_by_dest_range (elf=0x5b04b9247c70, sec=sec@entry=0x5b04b924b820, offset=24, len=<optimized out>) at ./tools/objtool/elf.c:285

warning: 285    ./tools/objtool/elf.c: No such file or directory

Thread 1 (Thread 0x7941780f8f00 (LWP 219805)):
#0  find_reloc_by_dest_range (elf=0x5b04b9247c70, sec=sec@entry=0x5b04b924b820, offset=24, len=<optimized out>) at ./tools/objtool/elf.c:285
        reloc = 0xaaaaaaaaaaaaaaaa
        r = 0x7941727b3010
        rsec = 0x5b04b924b8e0
        o = 16
#1  0x00005b04b2253187 in insn_reloc (file=<optimized out>, insn=0x5b04b92bac40) at ./tools/objtool/check.c:1268
        reloc = <optimized out>
#2  add_jump_destinations (file=<optimized out>) at ./tools/objtool/check.c:1503
        func = 0x79417366fcd0
        __sec = 0x5b04b924b820
        __fake = <optimized out>
        insn = 0x5b04b92bac40
        jump_dest = <optimized out>
        reloc = <optimized out>
        dest_sec = <optimized out>
        dest_off = <optimized out>
        ret = <optimized out>
#3  decode_sections (file=file@entry=0x5b04b2279e80 <file>) at ./tools/objtool/check.c:2573
        ret = <optimized out>
#4  0x00005b04b2254c70 in check (file=file@entry=0x5b04b2279e80 <file>) at ./tools/objtool/check.c:4773
        ret = 0
        warnings = 0
#5  0x00005b04b225891a in objtool_run (argc=<optimized out>, argv=0x7fff8147cc08) at ./tools/objtool/builtin-check.c:328
        file = 0x5b04b2279e80 <file>
        ret = 0
#6  0x000079417820dca8 in __libc_start_call_main (main=main@entry=0x5b04b22456f0 <main>, argc=argc@entry=15, argv=argv@entry=0x7fff8147cc08) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140735362354184, 2401228595235890281, 0, 140735362354312, 133322097692672, 100075726927544, -2401014395131550615, -3184026318482856855}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fff8147cc08, 0xf}, data = {prev = 0x0, cleanup = 0x0, canceltype = -2126001144}}}
        not_first_call = <optimized out>
#7  0x000079417820dd65 in __libc_start_main_impl (main=0x5b04b22456f0 <main>, argc=15, argv=0x7fff8147cc08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8147cbf8) at ../csu/libc-start.c:360
No locals.
#8  0x00005b04b2245761 in _start ()
No symbol table info available.
--- END ---


Best regards

Jörg

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-kbuild-6.18 depends on:
ii  libc6       2.41-12
ii  libelf1t64  0.194-1
ii  libssl3t64  3.5.4-1
ii  pahole      1.31-1
ii  python3     3.13.7-1
ii  zlib1g      1:1.3.dfsg+really1.3.1-1+b1

linux-kbuild-6.18 recommends no packages.

linux-kbuild-6.18 suggests no packages.

-- no debconf information

Reply to: