Am 2022-01-12 16:46, schrieb Aurelien Jarno:
On 2022-01-12 16:14, Wolfgang Walter wrote:
Package: libc6
Version: 2.33-2
Severity: important

After upgrading from libc6 2.32 to 2.33 all machines with a VIA C7 or VIA
Eden show segfaults in libc (i.e. hostname fails to work, or rebooting
fails). Machines with VIA Nehemiah work fine.

Could you please provide more details? At least the content of dmesg
when it happens or ideally a core dump or a backtrace.

Not easy. These machines just boot into a initramfs (which is a very minimal debian sid) from an usb-stick and nothing survives a reboot. /bin/sh points to bash.

The system does not use systemd but sysv.

The login prompt is:

(none) login:


I cannot log into the machine, login seems also be broken, it always says "login incorrect".

If I try to reboot by entering ctrl-alt-del the reboot fails with:

INIT: Switching to runlevel: 6
INIT: No inittab.d directory found
INIT: Sending processes configured via /etc/inittab the TERM signal
[ 305.550677][ T1235] rc[1235]: segfault at 1c81000 ip b7ebf634 sp bfb5ce78 error 6 in libc-2.33.so[b7d8e000+158000] [ 305.550791][ T1235] Code: 95 04 00 03 1c 8b 01 ca ff e3 29 d9 8d b4 26 00 00 00 00 8d 76 00 0f 18 8a c0 03 00 00 0f 18 8a 80 03 00 00 81 eb 80 00 00 00 <66> 0f 7f 02 66 0f 7f 42 10 66 0f 7f 42 20 66 0f 7f 42 30 66 0f 7f
Give root password for maintenance
(or press Control-D to continue):



But I cannot login (Login incorrect). If I enter control-d instead, I get "sulogin: cannot read /dev/tty1: Operation not permitted".

The very same usb stick boots just fine with non VIA 7 / VIA Eden processors.


I modified it a bit an set --autologin for one getty. This did not worḱ, I get a lot of things like

[ ......][ T1231] login[1231]: segfault at bfd3d000 ip b7eb5656 sp bfd36978 error 6 in libc-2.33.so[b7d84000+158000]

or

[ ........][ T1241] sh[1241]: segfault at 12ac000 ip b7e03638 sp bff99ff8 error 6 in libc-2.33.so[b7cd2000+158000]


Now I tried  getty -n -l /bin/dash. This worked.

If I try to start bash, bash crashes with a segmentation fault. I have no debugger and no debugging symbols in this image at the moment, only strace

If I strace -f bash I get:

The last thing done is reading the first line of passwd, closing the file. Then there is a SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x12d9000}

When I do a strace -f bash 2> /tmp/blub the last system call is uname(), then again a SEGV_MAPPERR

When bash segfaults I get no log that it crashed in libc6.

ls, rm, mount  etc seem to work.

But vim crashes in libc6, again at +158000 and with Code "1c 8b 01 ca ff e3 29 d9 8d b4 26 00 00 00 00 8d 76 00 0f 18 8a c0 03 00 00 0f 18 8a 80 03 00 00 81 eb 80 00 00 00 <66> 0f 7f 02 66 0f 7f 42 10 66 0f 7f 42 20 66 0f 7f 42 30 66 0f"

Also ip link ls crashes, again in libc6, again at +158000 and with Code "0f 18 8a 80 03 00 00 81 eb 80 00 00 00 00 66 0f 7f 02 66 0f 7f 42 10 66 0f 7f 42 20 66 0f 7f 42 30 66 0f 7f 42 40 66 0f 7f 42 50 <66> 0f 7f 02 66 0f 7f 42 70 71 c2 80 00 00 00 81 fb 80 00 00 00"

or ip addr ls

or less, perl, ssh, sshd, rsyslogd

The Code is not always the same, but <66> 0f 7f 42 seems to be and the crash in libc-2.33.so[xxxxx+158000]


Thanks,
Aurelien

Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts

Reply via email to