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

Bug#1020787: linux-image-5.19.0-2-amd64: After updating to 5.19 kernel the VMs are started without XSAVE CPU flags



Package: src:linux
Version: 5.19.11-1
Severity: important

Dear Maintainer,

I have a XEN hypervisor running with some VMs (everything based on Debian). After updating to the Kernel to 5.19 (from 5.18.0-4), some
binaries are falling to execute. If the VMs are started with Kernel 5.18.0-4 they are running fine.
One example is wget which results in this kernel log:
[  366.744374] traps: wget[3327] trap invalid opcode ip:7fcabc94fb0a sp:7fffdd212c80 error:0 in libgnutls.so.30.34.1[7fcabc837000+12f000]

After googling a little I found this stackoverflow problem report:
https://stackoverflow.com/questions/65676095/illegal-instruction-core-dumped-after-packages-upgrade-on-centos-8

And indeed there is some difference in /proc/cpuinfo:
5.19:
flags           : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc rep_good nopl cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp fsgsbase bmi1 bmi2 erms rdseed adx clflushopt md_clear

5.18:
flags           : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc rep_good nopl cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp fsgsbase bmi1 avx2 bmi2 erms rdseed adx clflushopt xsaveopt xsavec xgetbv1 md_clear

So the flags for "fma xsave avx2 bmi2 xsaveopt xsavec xgetbv1 md_clear" are missing, which might result in gnutls failures.

regards

Patrick


-- Package-specific info:
** Version:
Linux version 5.19.0-2-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-6) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1 (2022-09-24)

** Command line:
root=/dev/xvda1 lockd.nlm_tcpport=61053 lockd.nlm_udpport=61053 ipv6.disable=1 net.ifnames=0 xen_blkfront.max_queues=3

** Tainted: W (512)
 * kernel issued warning

** Kernel log:
[  366.744374] traps: wget[3327] trap invalid opcode ip:7fcabc94fb0a sp:7fffdd212c80 error:0 in libgnutls.so.30.34.1[7fcabc837000+12f000]

** Model information

** Loaded modules:
tls
nft_chain_nat
xt_MASQUERADE
nf_nat
ipt_REJECT
nf_reject_ipv4
xt_owner
xt_mac
xt_conntrack
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
xt_multiport
nft_limit
xt_tcpudp
xt_LOG
nf_log_syslog
xt_limit
nft_compat
nf_tables
libcrc32c
nfnetlink
sunrpc
binfmt_misc
intel_rapl_msr
intel_rapl_common
intel_pmc_core_pltdrv
intel_pmc_core
ghash_clmulni_intel
aesni_intel
crypto_simd
cryptd
cfg80211
rfkill
evdev
pcspkr
drm
fuse
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
tun
xen_netfront
xen_blkfront
crct10dif_pclmul
crct10dif_common
crc32_pclmul
crc32c_intel

** PCI devices:

** USB devices:
not available


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
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-image-5.19.0-2-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20220630-3
ii  linux-base                              4.9

Versions of packages linux-image-5.19.0-2-amd64 recommends:
ii  apparmor             3.0.7-1
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.19.0-2-amd64 suggests:
pn  debian-kernel-handbook               <none>
pn  grub-pc | grub-efi-amd64 | extlinux  <none>
pn  linux-doc-5.19                       <none>

Versions of packages linux-image-5.19.0-2-amd64 is related to:
ii  firmware-amd-graphics     20210818-1
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20210818-1
ii  firmware-misc-nonfree     20210818-1
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information


Reply to: