Article View: linux.debian.bugs.dist
Article #6818Bug#1155865: frr: CVE-2026-120221 CVE-2026-120033
From: Moritz Mühlenhoff
Date: Sun, 29 Nov 2026 22:20
Date: Sun, 29 Nov 2026 22:20
67 lines
4961 bytes
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.
Technical Details
Message-ID:
<O4Vpv-f01d-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Moritz Mühlenhoff <jmm@inutil.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155865: frr: CVE-2026-120221 CVE-2026-120033 Date: Sun, 29 Nov 2026 23:20:01 +0100 Message-ID: <O4Vpv-f01d-9@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 29 22:11:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1155865@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, daniel@debian.org X-Debian-Pr-Message: report 1155865 X-Debian-Pr-Package: src:frr X-Debian-Pr-Keywords: security X-Debian-Pr-Source: frr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006001 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 29 Nov 2026 23:09:25 +0100 X-Original-Message-ID: <awyilTtILXnmTAh4@pisco.westfalen.local>