RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2158365 - segfault when modifying ECMP route
Summary: segfault when modifying ECMP route
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Fernando F. Mancera
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-05 08:18 UTC by Gris Ge
Modified: 2023-05-09 10:24 UTC (History)
8 users (show)

Fixed In Version: NetworkManager-1.41.8-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:17:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-176 0 None None None 2023-01-25 15:01:04 UTC
Red Hat Issue Tracker RHELPLAN-143993 0 None None None 2023-01-05 08:19:08 UTC
Red Hat Product Errata RHBA-2023:2485 0 None None None 2023-05-09 08:18:33 UTC
freedesktop.org Gitlab NetworkManager NetworkManager-ci merge_requests 1291 0 None opened ipv4: add test converting ECMP routes to non-ECMP 2023-01-16 11:14:25 UTC

Description Gris Ge 2023-01-05 08:18:11 UTC
Description of problem:

NetworkManager crashes when modifying ECMP routes:

[ 4877.289177] NetworkManager[2952]: segfault at 0 ip 00005634dd5ed217 sp 00007fff401f2df0 error 4 in NetworkManager[5634dd5de000+24d000]
[ 4877.289194] Code: bd 18 fe ff ff 48 89 85 10 fe ff ff e8 32 8e 18 00 48 8b bd 10 fe ff ff e8 c6 61 ff ff 8b 85 10 fe ff ff 89 03 4c 89 e0 eb d4 <48> 8b 04 25 00 00 00 00 0f 0b f3 0f 1e fa 48 89 c3 4d 85 ff 74 08




Version-Release number of selected component (if applicable):
NetworkManager-1.41.7-31563.copr.a92a0725b9.el9.x86_64


How reproducible:
100%

Steps to Reproduce:

nmcli c del dummy1 || true

nmcli c add type dummy \
    ifname dummy1 \
    connection.id dummy1 \
    ipv4.method manual \
    ipv4.address 192.0.2.5/24 \
    ipv4.routes "198.51.100.0/24 192.0.2.254 101 weight=1, \
                 198.51.100.0/24 192.0.2.253 101 weight=25"

nmcli c modify dummy1 \
    ipv4.routes "198.51.100.0/24 192.0.2.254 101, \
                 198.51.100.0/24 192.0.2.253 101"

nmcli c up dummy1


Actual results:

NetworkManager daemon crashes

Expected results:

NetworkManager daemon no crash


Additional info:

Since this is 100% reproducable and my VM seems not collecting crash coredump,
please do not ask me for coredump file.

Comment 1 Thomas Haller 2023-01-05 09:51:53 UTC
the crash should be fixed by https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/6c81f281eb324706615f649d4dd23e531ca58ee5

Fernando, please review (after already being merged).

Comment 5 errata-xmlrpc 2023-05-09 08:17:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2485


Note You need to log in before you can comment on or make changes to this bug.