Skip to content

Zebra crashes with signal 11 upon deletion of VRF with table ID 254 #18699

@reshmasreekumar

Description

@reshmasreekumar

Description

Creation of a VRF in kernel sharing the same table ID as main table, and later deleting it causes zebra to crash :

sudo ip link add newvrf type vrf table 254
sudo ip link set newvrf up
sudo ip l del dev newvrf

Logs:

kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: Received signal 11 at 1745316075 (si_addr 0x55d8032857f1, PC 0x7f59a7a5d630); aborting...
kern.crit: Apr 22 10:01:15  ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x6f) [0x7f59a7a1800f]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xf5) [0x7f59a7a18215]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0x1016e1) [0x7f59a7a516e1]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7f59a761a050]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(route_node_get+0x130) [0x7f59a7a5d630]
kern.crit: Apr 22 10:01:15  ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(srcdest_rnode_get+0xf) [0x7f59a7a562df]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/frr/zebra(+0xeee79) [0x55dd5af93e79]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(event_call+0x81) [0x7f59a7a63db1]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xc0) [0x7f59a7a0f940]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/frr/zebra(main+0x3e6) [0x55dd5af2a6e6]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f59a760524a]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f59a7605305]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: /usr/lib/frr/zebra(_start+0x21) [0x55dd5af2b691]
kern.crit: Apr 22 10:01:15 ZEBRA[2776914]: in thread rib_process_dplane_results scheduled from ../zebra/zebra_rib.c:4998 rib_dplane_results()

Version

FRRouting 10.0.1

How to reproduce

sudo ip link add newvrf type vrf table 254
sudo ip link set newvrf up
sudo ip l del dev newvrf

Expected behavior

No effect on FRR

Actual behavior

Zebra crashes with signal 11

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions