[Bug 1167561] New: hwinfo segfaults while scanning pci devices
http://bugzilla.suse.com/show_bug.cgi?id=1167561 Bug ID: 1167561 Summary: hwinfo segfaults while scanning pci devices Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: snwint@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The asm code in hd_is_xen() is incorrect and may influence surrounding code, depending on gcc optimizations. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Assignee|screening-team-bugs@suse.de |snwint@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 http://bugzilla.suse.com/show_bug.cgi?id=1167561#c1 --- Comment #1 from Steffen Winterfeldt <snwint@suse.com> --- Here's the orignal bugreport via email:
I have found that versions of hwinfo later than 21.58 crash on my machine unless I patch them. The crash (segmentation fault) occurs whenever the pci bus is scanned. Requests like --cpu and --bios go through normally.
I am running Slackware 14.2 on a Lenovo E50-00 Thinkcentre. The kernel is 4.4.199. I have traced the problem to one of the libhd source files, pci.c. Version 21.59 introduces a new PROGRESS call for hd_read_visorbus. If this is commented out, the program works. I then tried version 21.67 (which is where I first noticed the problem) and found that I needed to comment out another new PROGRESS, hd_read_mdio.
Obviously, that's a cludgy solution. There must be some code in both these functions that my hardware does not like and that could be adjusted, but I don't know enough C (or enough about hardware) to identify it.
Today I booted with the Slackware-current kernel 5.4.25, and can confirm the same behaviour, so it is unlikely to be a kernel bug.
If you would like any further information or there are any tests that you would like me to carry out, please let me know.
Hazel Russman
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trello.com/c/VfeRix | |XH -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 http://bugzilla.suse.com/show_bug.cgi?id=1167561#c2 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Steffen Winterfeldt <snwint@suse.com> --- fixed: https://github.com/openSUSE/hwinfo/pull/85 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 http://bugzilla.suse.com/show_bug.cgi?id=1167561#c4 --- Comment #4 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2020:1311-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1136475,1167561,1169682 CVE References: Sources used: SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): hwinfo-21.70-3.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1167561 http://bugzilla.suse.com/show_bug.cgi?id=1167561#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2020:0688-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1136475,1167561,1169682 CVE References: Sources used: openSUSE Leap 15.1 (src): hwinfo-21.70-lp151.2.6.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com