NetworkManager/libnm-core
Vojtech Bubela af3dadf95c libnm: fix crash in _nm_ip_route_validate_all for invalid route
backtrace from coredump, NetworkManager-1.30.6-1.fc34

  #0  verify
      (setting=0x55d081fe8690, connection=<optimized out>, error=0x7ffe0fa06870)
      at libnm-core/nm-setting-ip-config.c:5249
  #1  0x000055d081ab98d4 in verify
      (setting=0x55d081fe8690, connection=0x55d0820a2b80, error=0x7ffe0fa06870)
      at libnm-core/nm-setting-ip4-config.c:119
  #2  0x000055d081aa3d54 in _nm_connection_verify
      (connection=0x55d0820a2b80, error=0x7ffe0fa068c0)
      at libnm-core/nm-connection.c:1441
  #3  0x000055d081aa78ec in nm_connection_normalize
      (connection=0x55d0820a2b80, parameters=0x0, modified=0x0, error=0x7ffe0fa06de8)
      at libnm-core/nm-connection.c:1688
  #4  0x000055d081aa81f4 in _nm_connection_replace_settings
      (connection=0x55d0820a2b80, new_settings=<optimized out>, parse_flags=_NM_SETTING_PARSE_FLAGS_LAST, error=0x7ffe0fa06de8) at libnm-core/nm-connection.c:432
  #5  0x000055d081aa83a6 in _nm_simple_connection_new_from_dbus
      (dict=0x55d082089950, error=0x7ffe0fa06de8, parse_flags=_NM_SETTING_PARSE_FLAGS_LAST) at libnm-core/nm-simple-connection.c:77
  #6  0x000055d081bbf942 in settings_connection_update
      (self=0x55d081fdd9f0, is_update2=1, context=0x7fc06c021dd0, new_settings=0x55d082089950, flags=NM_SETTINGS_UPDATE2_FLAG_TO_DISK)
      at src/core/settings/nm-settings-connection.c:1637
  #7  0x000055d081bbfb09 in impl_settings_connection_update2
      (obj=0x55d081fdd9f0, interface_info=<optimized out>, method_info=<optimized out>, connection=<optimized out>, sender=<optimized out>, invocation=0x7fc06c021dd0, parameters=0x55d0820f5e60) at src/core/settings/nm-settings-connection.c:1796
  #8  0x00007fc08a9db482 in call_in_idle_cb.lto_priv () at /lib64/libgio-2.0.so.0

Fixes: bb6c2d7371 ('libnm: ensure stable behavior in _nm_ip_route_attribute_validate_all()')
(cherry picked from commit 0ed099374d)
(cherry picked from commit 00723dd5e8)
2021-12-01 14:57:20 +01:00
..
nm-libnm-core-aux all: add "nm-glib-aux/nm-default-glib-i18n-lib.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-libnm-core-intern bond: support the peer_notif_delay bond option 2021-07-16 18:16:19 +02:00
tests all: add a new ipv{4,6}.required-timeout property 2021-09-06 10:56:12 +02:00
meson.build libnm: move "nm-version-macros.h" from shared/ to libnm-core/ 2021-02-09 12:38:19 +01:00
nm-connection-private.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-connection.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-connection.h libnm/doc: consistently write "Since:" tag for enum values 2021-01-20 09:16:21 +01:00
nm-core-internal.h bond: avoid logging warning to set "ad_actor_system=00:00:00:00:00:00" 2021-02-23 14:18:33 +01:00
nm-core-types-internal.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-core-types.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-crypto-gnutls.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-crypto-impl.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-crypto-nss.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-crypto.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-crypto.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dbus-interface.h libnm/doc: consistently write "Since:" tag for enum values 2021-01-20 09:16:21 +01:00
nm-dbus-utils.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-default-libnm-core.h all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-errors.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-errors.h libnm/doc: consistently write "Since:" tag for enum values 2021-01-20 09:16:21 +01:00
nm-keyfile-internal.h libnm: merge libnm-keyfile into libnm-core 2021-02-09 12:38:19 +01:00
nm-keyfile-utils.c libnm: merge libnm-keyfile into libnm-core 2021-02-09 12:38:19 +01:00
nm-keyfile-utils.h libnm: merge libnm-keyfile into libnm-core 2021-02-09 12:38:19 +01:00
nm-keyfile.c libnm: merge libnm-keyfile into libnm-core 2021-02-09 12:38:19 +01:00
nm-keyfile.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-meta-setting-base-impl.c all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-base-impl.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-meta-setting-base.h all: move shared/nm-meta-setting.[hc] to libnm-core and clients 2021-02-09 12:38:19 +01:00
nm-property-compare.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-property-compare.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-6lowpan.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-6lowpan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-8021x.c setting-8021x: Fix descriptions for phase2-auth & phase2-autheap 2021-02-09 17:09:31 +01:00
nm-setting-8021x.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-adsl.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-adsl.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-bluetooth.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-bluetooth.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-bond.c bond: support the peer_notif_delay bond option 2021-07-16 18:16:19 +02:00
nm-setting-bond.h bond: support the peer_notif_delay bond option 2021-07-16 18:16:19 +02:00
nm-setting-bridge-port.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-bridge-port.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-bridge.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-bridge.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-cdma.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-cdma.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-connection.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-connection.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-dcb.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-dcb.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-dummy.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-dummy.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ethtool.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ethtool.h libnm,shared: move nm-ethtool helper to "libnm-base" 2021-01-15 11:32:41 +01:00
nm-setting-generic.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-generic.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-gsm.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-gsm.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-hostname.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-hostname.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-infiniband.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-infiniband.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ip-config.c libnm: fix crash in _nm_ip_route_validate_all for invalid route 2021-12-01 14:57:20 +01:00
nm-setting-ip-config.h libnm: expose nm_ip_address_dup(), nm_ip_route_dup() API in libnm 2021-10-05 09:35:48 +02:00
nm-setting-ip-tunnel.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ip-tunnel.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ip4-config.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ip4-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ip6-config.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ip6-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-macsec.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-macsec.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-macvlan.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-macvlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-match.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-match.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-olpc-mesh.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-olpc-mesh.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-bridge.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-bridge.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-dpdk.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-dpdk.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-external-ids.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-external-ids.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-interface.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-interface.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-patch.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-patch.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ovs-port.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ovs-port.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-ppp.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-ppp.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-pppoe.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-pppoe.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-private.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-proxy.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-proxy.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-serial.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-serial.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-sriov.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-sriov.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-tc-config.c ifcfg-rh: preserve an empty tc configuration 2021-06-17 17:07:05 +02:00
nm-setting-tc-config.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-team-port.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-team-port.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-team.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-team.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-tun.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-tun.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-user.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-user.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-veth.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-veth.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-vlan.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-vlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-vpn.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-vpn.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-vrf.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-vrf.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-vxlan.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-vxlan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wifi-p2p.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wifi-p2p.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wimax.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wimax.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wired.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wired.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wireguard.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wireguard.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wireless-security.c libnm: Don't crash if service tells us a new key management mode 2021-07-16 18:40:00 +02:00
nm-setting-wireless-security.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wireless.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wireless.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting-wpan.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting-wpan.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-setting.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-setting.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-simple-connection.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-simple-connection.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-team-utils.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-team-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-utils-private.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-utils.c libnm: fix leak in nm_utils_tc_tfilter_from_str() 2021-06-04 21:29:21 +02:00
nm-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-version-macros.h.in libnm: add NM_VERSION_1_30_8 2021-08-20 09:44:18 +02:00
nm-version.h libnm: add NM_VERSION_1_30_8 2021-08-20 09:44:18 +02:00
nm-vpn-dbus-interface.h libnm: fix NMVpnConnectionStateReason for glib-mkenums 2021-02-01 09:31:00 +01:00
nm-vpn-editor-plugin.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-vpn-editor-plugin.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-vpn-plugin-info.c all: add "libnm-core/nm-default-libnm-core.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-vpn-plugin-info.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00