lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871pq06728.fsf@wylie.me.uk>
Date: Mon, 28 Jul 2025 09:41:35 +0100
From: "Alan J. Wylie" <alan@...ie.me.uk>
To: linux-kernel@...r.kernel.org,
    Josh Poimboeuf <jpoimboe@...nel.org>,
    regressions@...ts.linux.dev,
    stable@...r.kernel.org,
    Linus Torvalds <torvalds@...ux-foundation.org>
Subject: "stack state/frame" and "jump dest instruction" errors (was Re:
 Linux 6.16)

#regzbot introduced: 6.15.8..6.16

Linus Torvalds <torvalds@...ux-foundation.org> writes:

> It's Sunday afternoon, and the release cycle has come to an end. Last
> week was nice and calm, and there were no big show-stopper surprises
> to keep us from the regular schedule, so I've tagged and pushed out
> 6.16 as planned.

Even after a "make mrproper" and "git clean -fxd" I'm seeing lots of
warnings and errors.

can't find jump dest instruction
stack state mismatch
return with modified stack frame
objtool: can't decode instruction
can't find starting instruction

gcc (Gentoo Hardened 14.3.0 p8) 14.3.0

I selected "Y" to the new config option "X86_NATIVE_CPU"

CPU is AMD FX-8350

.config attached

The build is fine on a cross-compile of a minimal kernel for an Intel
Atom server.

Possibly related to
https://lore.kernel.org/lkml/5263a182e608408bf42dc1ed12bc43dee9598ac9.1750980517.git.jpoimboe@kernel.org/



  LD [M]  arch/x86/events/amd/amd-uncore.o
arch/x86/events/amd/amd-uncore.o: warning: objtool: amd_uncore_df_ctx_scan+0x54: can't find jump dest instruction at .text+0x1b6
make[5]: *** [scripts/Makefile.build:502: arch/x86/events/amd/amd-uncore.o] Error 255
make[5]: *** Deleting file 'arch/x86/events/amd/amd-uncore.o'
make[4]: *** [scripts/Makefile.build:555: arch/x86/events/amd] Error 2
make[3]: *** [scripts/Makefile.build:555: arch/x86/events] Error 2
make[3]: *** Waiting for unfinished jobs....

  CC      fs/pidfs.o
crypto/cmac.o: warning: objtool: crypto_cmac_digest_setkey+0xc2: stack state mismatch: cfa1=4+32 cfa2=4+24

  CC [M]  sound/core/device.o
crypto/md4.o: warning: objtool: md4_final+0xd1: return with modified stack frame

  LD [M]  block/bfq.o
block/bfq.o: warning: objtool: bfq_timeout_sync_store+0x42: can't find jump dest instruction at .text+0x10f9
make[3]: *** [scripts/Makefile.build:502: block/bfq.o] Error 255
make[3]: *** Deleting file 'block/bfq.o'
make[2]: *** [scripts/Makefile.build:555: block] Error 2
make[2]: *** Waiting for unfinished jobs....

  CC      arch/x86/kernel/acpi/madt_wakeup.o
crypto/wp512.o: warning: objtool: wp512_init+0x58: return with modified stack frame
crypto/wp512.o: warning: objtool: wp512_process_buffer+0x149: stack state mismatch: cfa1=4+288 cfa2=4-352

  CC [M]  sound/core/vmaster.o
crypto/blake2b_generic.o: warning: objtool: crypto_blake2b_setkey+0x68: return with modified stack frame
crypto/blake2b_generic.o: warning: objtool: crypto_blake2b_finup.constprop.0.isra.0+0x132: return with modified stack frame

  CC      drivers/pci/pcie/err.o
crypto/ccm.o: warning: objtool: crypto_ccm_init_crypt+0x1b6: stack state mismatch: cfa1=4+56 cfa2=4+48
crypto/ccm.o: warning: objtool: crypto_ccm_auth+0x45e: return with modified stack frame

  CC      drivers/pci/pcie/pme.o
crypto/cryptd.o: warning: objtool: cryptd_enqueue_request+0x89: can't find jump dest instruction at .text+0x94c
make[3]: *** [scripts/Makefile.build:287: crypto/cryptd.o] Error 255
make[3]: *** Deleting file 'crypto/cryptd.o'
make[2]: *** [scripts/Makefile.build:555: crypto] Error 2

  LD [M]  sound/core/snd.o
sound/core/snd.o: warning: objtool: snd_ctl_open+0x10c: can't find jump dest instruction at .text+0x47c6
make[4]: *** [scripts/Makefile.build:502: sound/core/snd.o] Error 255
make[4]: *** Deleting file 'sound/core/snd.o'
make[4]: *** Waiting for unfinished jobs....

  LD [M]  sound/core/oss/snd-mixer-oss.o
sound/core/oss/snd-mixer-oss.o: warning: objtool: mixer_slot_clear+0x4c: return with modified stack frame

  CC      lib/crypto/mpi/mpi-mod.o
sound/core/oss/snd-pcm-oss.o: warning: objtool: mulaw_decode+0xf9: can't find jump dest instruction at .text+0x722b
make[5]: *** [scripts/Makefile.build:502: sound/core/oss/snd-pcm-oss.o] Error 255
make[5]: *** Deleting file 'sound/core/oss/snd-pcm-oss.o'
make[4]: *** [scripts/Makefile.build:555: sound/core/oss] Error 2

  CC      arch/x86/kernel/smpboot.o
drivers/char/ipmi/ipmi_msghandler.o: warning: objtool: ipmi_set_gets_events+0x155: can't find jump dest instruction at .text+0x21c8
make[4]: *** [scripts/Makefile.build:287: drivers/char/ipmi/ipmi_msghandler.o] Error 255
make[4]: *** Deleting file 'drivers/char/ipmi/ipmi_msghandler.o'
make[3]: *** [scripts/Makefile.build:555: drivers/char/ipmi] Error 2
make[3]: *** Waiting for unfinished jobs....

  CC      kernel/entry/kvm.o
lib/crypto/gf128mul.o: warning: objtool: gf128mul_init_64k_bbe+0x94: stack state mismatch: cfa1=5+16 cfa2=4+8

  CC [M]  sound/core/seq/oss/seq_oss_event.o
make[2]: *** [scripts/Makefile.build:555: drivers] Error 2

  LD [M]  sound/core/seq/snd-seq.o
sound/core/seq/snd-seq.o: warning: objtool: snd_seq_open+0xd7: can't find jump dest instruction at .text+0x2224
make[5]: *** [scripts/Makefile.build:502: sound/core/seq/snd-seq.o] Error 255
make[5]: *** Deleting file 'sound/core/seq/snd-seq.o'
make[5]: *** Waiting for unfinished jobs....

  LD [M]  lib/crypto/libdes.o
lib/crypto/libdes.o: warning: objtool: des3_ede_encrypt+0x86: can't find jump dest instruction at .text+0xcb8
make[4]: *** [scripts/Makefile.build:502: lib/crypto/libdes.o] Error 255
make[4]: *** Deleting file 'lib/crypto/libdes.o'
make[3]: *** [scripts/Makefile.build:555: lib/crypto] Error 2
make[2]: *** [scripts/Makefile.build:555: lib] Error 2

  LD [M]  sound/core/seq/oss/snd-seq-oss.o
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: alloc_seq_queue+0xc7: return with modified stack frame
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: delete_seq_queue.isra.0+0xb5: return with modified stack frame
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_synth_info_user+0xb7: return with modified stack frame
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_midi_info_user+0xa5: return with modified stack frame
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_process_event+0x73c: stack state mismatch: cfa1=4+72 cfa2=4+64
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_write+0x77: stack state mismatch: cfa1=4+120 cfa2=4+112
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_synth_setup+0x14c: return with modified stack frame
sound/core/seq/oss/snd-seq-oss.o: warning: objtool: snd_seq_oss_synth_make_info+0x17d: stack state mismatch: cfa1=4+160 cfa2=4+152
make[4]: *** [scripts/Makefile.build:555: sound/core/seq] Error 2
make[3]: *** [scripts/Makefile.build:555: sound/core] Error 2
make[3]: *** Waiting for unfinished jobs....

  LD [M]  sound/pci/hda/snd-hda-codec.o
sound/pci/hda/snd-hda-codec.o: error: objtool: can't decode instruction at .text:0xbf1c
make[5]: *** [scripts/Makefile.build:502: sound/pci/hda/snd-hda-codec.o] Error 255
make[5]: *** Deleting file 'sound/pci/hda/snd-hda-codec.o'
make[4]: *** [scripts/Makefile.build:555: sound/pci/hda] Error 2
make[3]: *** [scripts/Makefile.build:555: sound/pci] Error 2
make[2]: *** [scripts/Makefile.build:555: sound] Error 2

  CC      fs/ext4/mballoc.o
fs/binfmt_misc.o: warning: objtool: load_misc_binary+0xf4: can't find jump dest instruction at .text+0xf07
make[3]: *** [scripts/Makefile.build:287: fs/binfmt_misc.o] Error 255
make[3]: *** Deleting file 'fs/binfmt_misc.o'
make[3]: *** Waiting for unfinished jobs....

  LD [M]  fs/cramfs/cramfs.o
fs/cramfs/cramfs.o: warning: objtool: cramfs_blkdev_fill_super+0x2b2: return with modified stack frame

  AR      arch/x86/kernel/built-in.a
make[2]: *** [scripts/Makefile.build:555: arch/x86] Error 2

  LD [M]  fs/configfs/configfs.o
fs/configfs/configfs.o: error: objtool: configfs_create_link(): can't find starting instruction
make[4]: *** [scripts/Makefile.build:502: fs/configfs/configfs.o] Error 255
make[4]: *** Deleting file 'fs/configfs/configfs.o'
make[3]: *** [scripts/Makefile.build:555: fs/configfs] Error 2

  AR      fs/ext4/built-in.a
make[2]: *** [scripts/Makefile.build:555: fs] Error 2

  AR      kernel/built-in.a
make[1]: *** [/work/src.git/linux/Makefile:2003: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2


View attachment "config-6.16" of type "text/plain" (150743 bytes)


-- 
Alan J. Wylie     https://www.wylie.me.uk/     mailto:<alan@...ie.me.uk>

Dance like no-one's watching. / Encrypt like everyone is.
Security is inversely proportional to convenience

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ