Re: [tip: x86/fpu] x86/fpu/xstate: Define new functions for clearing fpregs and xstates
From: Ivan Zahariev
Date: Tue Nov 29 2022 - 06:26:48 EST
Hello gentlemen,
Hello Yu-cheng Yu,
Can you please take a look into this bug which syzbot tracked to a
commit of yours (b860eb8dce5906b14e3a7f3c771e0b3d6ef61b94). Even since
we switched from kernel 4.14 to 5.15 we are experiencing often random
segmentation faults with the following error in "dmesg":
post.sh[2237] bad frame in rt_sigreturn frame:00007ad24b2f8df8
ip:733cfa4351d1 sp:7ad24b2f9398 orax:ffffffffffffffff in
libc-2.28.so[733cfa36d000+147000]
Most commonly Bash is getting hit by this problem but other binaries
also experience the it less often.
Thomas Gleixner has already provided some insight and a simple
reproducer:
https://groups.google.com/g/syzkaller-bugs/c/rbdQkahfwE4/m/RyWIrlA0BQAJ
If there is no simple fix, can we simply revert the faulty commit?
Best regards.
--Ivan