Bug 1215629 - segfault at 2c ip 00007f8fae76deb5 sp 00007ffd1974e818 error 4 in libc.so.6
Summary: segfault at 2c ip 00007f8fae76deb5 sp 00007ffd1974e818 error 4 in libc.so.6
Status: REOPENED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 09:41 UTC by Klaus Kämpf
Modified: 2023-10-08 03:35 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kämpf 2023-09-23 09:41:54 UTC
Connecting an "Openbench Logic Sniffer" via USB results in GLIBC segfaults on multiple cores.

Tumbleweed 20230917
Kernel 6.5.3-1-default #1 SMP PREEMPT_DYNAMIC Thu Sep 14 08:46:53 UTC 2023 (786e0d6) x86_64 x86_64 x86_64 GNU/Linux

journalctl shows:

Sep 23 11:36:45 yoga kernel: usb 1-2: new full-speed USB device number 8 using xhci_hcd
Sep 23 11:36:46 yoga kernel: usb 1-2: New USB device found, idVendor=04d8, idProduct=fc92, bcdDevice= 1.00
Sep 23 11:36:46 yoga kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 23 11:36:46 yoga kernel: usb 1-2: Product: Logic Sniffer CDC-232
Sep 23 11:36:46 yoga kernel: usb 1-2: Manufacturer: Microchip Technology Inc.
Sep 23 11:36:46 yoga kernel: cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Sep 23 11:36:46 yoga mtp-probe[31880]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-2"
Sep 23 11:36:46 yoga mtp-probe[31880]: bus: 1, device: 8 was not an MTP device
Sep 23 11:36:46 yoga kernel: show_signal_msg: 2 callbacks suppressed
Sep 23 11:36:46 yoga kernel: w[32024]: segfault at 2c ip 00007f8fae76deb5 sp 00007ffd1974e818 error 4 in libc.so.6[7f8fae626000+16c000] likely on CPU 6 (core 3, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[32189]: segfault at 2c ip 00007f1980b6deb5 sp 00007ffd8d8bd408 error 4 in libc.so.6[7f1980a26000+16c000] likely on CPU 1 (core 0, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[32326]: segfault at 2c ip 00007fbda596deb5 sp 00007ffdfde1a638 error 4 in libc.so.6[7fbda5826000+16c000] likely on CPU 2 (core 1, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[32443]: segfault at 2c ip 00007fe96036deb5 sp 00007ffef3f7ae78 error 4 in libc.so.6[7fe960226000+16c000] likely on CPU 15 (core 7, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[32687]: segfault at 2c ip 00007f1b2fb6deb5 sp 00007ffca35d6e98 error 4 in libc.so.6[7f1b2fa26000+16c000] likely on CPU 5 (core 2, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[365]: segfault at 2c ip 00007f4d27d6deb5 sp 00007ffc478c65f8 error 4 in libc.so.6[7f4d27c26000+16c000] likely on CPU 8 (core 4, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[504]: segfault at 2c ip 00007f5a1cb6deb5 sp 00007ffeec97aab8 error 4 in libc.so.6[7f5a1ca26000+16c000] likely on CPU 5 (core 2, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[675]: segfault at 2c ip 00007f79c5b6deb5 sp 00007ffe31fe9888 error 4 in libc.so.6[7f79c5a26000+16c000] likely on CPU 10 (core 5, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[888]: segfault at 2c ip 00007fd12c76deb5 sp 00007ffd1c84c718 error 4 in libc.so.6[7fd12c626000+16c000] likely on CPU 14 (core 7, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga kernel: w[1037]: segfault at 2c ip 00007f87a076deb5 sp 00007fffd5546758 error 4 in libc.so.6[7f87a0626000+16c000] likely on CPU 15 (core 7, socket 0)
Sep 23 11:36:46 yoga kernel: Code: 90 90 90 f3 0f 1e fa 66 90 48 85 f6 74 36 49 89 f0 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 7b 02 00 00 <c5> fd 74 0f c5 fd d7 c1 48 83 fe 20 76 1d 85 c0 74 79 f3 0f bc c0
Sep 23 11:36:46 yoga mtp-probe[1411]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-2"
Sep 23 11:36:46 yoga mtp-probe[1411]: bus: 1, device: 8 was not an MTP device
Comment 1 Klaus Kämpf 2023-09-23 11:39:31 UTC
Generic USB stack error, happens with every USB device :facepalm:
Comment 2 Klaus Kämpf 2023-09-27 07:12:06 UTC
Need to reopen. Still happens.

As said before, happens with any USB device. The devices appear to be functional though.

Andreas, any idea ? ;-)
Comment 3 Andreas Schwab 2023-09-27 09:04:19 UTC
strlen on NULL+0x2c.
Comment 4 Klaus Kämpf 2023-09-27 09:23:37 UTC
Thanks Andreas, for taking a look.

I'm confused that this triggers on multiple cores ...