🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Moritz Mühlenhoff Sun, 29 Nov 2026 22:20
Bug#1155865: frr: CVE-2026-120221 CVE-2026-120033
#6818
Author: Moritz Mühlenhoff
Date: Sun, 29 Nov 2026 22:20
67 lines
4961 bytes
Source: frr
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for frr.

CVE-2026-120221[0]:
| In FRRouting, bgpd frees the same memory twice when dynamic BGP
| neighbors disconnect, if the peer-group used by a "bgp listen range"
| also has a Site-of-Origin configured ("neighbor PG soo"). Each
| dynamic neighbor shares the peer-group's SoO value instead of
| getting its own copy, but frees it as its own when the neighbor is
| deleted, which happens as soon as its connection closes. The first
| disconnect leaves the peer-group pointing at freed memory, and the
| second disconnect frees it again, causing bgpd to abort and drop all
| BGP sessions on the router. Any host whose address falls inside the
| listen range can trigger this by opening and closing two TCP
| connections to the BGP port, without sending any BGP message and
| without knowing the AS number, and can repeat it each time bgpd
| restarts. If the peer-group has a TCP-MD5 password, only hosts that
| know the password can trigger it. Two ordinary flaps of legitimate
| dynamic neighbors have the same effect. Between the two frees,
| displaying the configuration ("show running-config") or establishing
| a dynamic neighbor also reads the freed memory, which can crash bgpd
| after a single disconnect. Only configurations that combine a listen
| range with a SoO on the same peer-group are affected.

 https://github.com/FRRouting/frr/pull/21685
 Fixed by: https://github.com/FRRouting/frr/commit/6a96f515760dc278147fbf802777956ba80c7edd

CVE-2026-120033[1]:
| In FRRouting, bgpd does not correctly close a BGP session when the
| Send Hold Timer (RFC 9687) expires, i.e. when a neighbor has stopped
| accepting data from the router for twice the hold time. The
| connection is closed, but bgpd still considers the session to be up.
| A BGP neighbor that keeps sending KEEPALIVEs but stops reading from
| its connection, at a time when the router has a large amount of data
| to send to it (for example while sending it a full routing table),
| can trigger this. If the neighbor announced Graceful Restart
| support, bgpd crashes shortly after the session is closed, taking
| down all BGP sessions on the router, and the neighbor can repeat
| this each time bgpd restarts. Otherwise, the session stays stuck in
| the Established state: the neighbor's routes stay installed and keep
| being advertised to other peers, and the neighbor cannot reconnect
| until an operator clears the session manually. The neighbor does not
| need to be malicious; an overloaded or stuck peer can trigger the
| same behavior. No special configuration is required: any established
| BGP neighbor can trigger the issue, and Graceful Restart helper
| mode, which leads to the crash, is enabled by default.

 Fixed by: https://github.com/FRRouting/frr/commit/57a7f3eb48837359d6e3ee5ebd4acea8f49320e5


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-120221
    https://www.cve.org/CVERecord?id=CVE-2026-120221
[1] https://security-tracker.debian.org/tracker/CVE-2026-120033
    https://www.cve.org/CVERecord?id=CVE-2026-120033

Please adjust the affected versions in the BTS as needed.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads