#1153993 systemd: networkd aborts when a link with IPv6 RA data is removed (fixed upstream, not in 257.x)

Package:
systemd
Source:
systemd
Description:
system and service manager
Submitter:
Giuseppe Cici
Date:
2026-11-14 18:23:02 UTC
Severity:
normal
Tags:
#1153993#5
Date:
2026-11-14 18:20:30 UTC
From:
To:
Package: systemd
Version: 257.13-1~deb13u1
Severity: important
Tags: patch upstream fixed-upstream
systemd-networkd aborts when a managed link that carried data from
IPv6 Router Advertisements is removed:
Assertion 'q > 0' failed at src/network/networkd-link.c:307, function link_ref(). Aborting.
It is restarted by systemd and reconfigures all the other links
(another interface stayed 45 s without IPv4; routing policy rules of
other programs were lost).
Reproduced on armhf boards:

  *
unplugging a USB Ethernet adapter that had a route from RA: 3 out of 3;
  *
resume from suspend with a Wi-Fi driver (brcmfmac) that recreates
     *
the interface, DNS learnt from RA (RDNSS): 7 out of 7.

Fixed upstream by commit 2900f04c82b09d64a36e6b0c3f0d2195cf6f1264
("network: do not create state file for removed interface",
https://github.com/systemd/systemd/issues/40817), backported to
v258-stable and v259-stable but not to v257-stable, so trixie does not
get it through the 257.x updates. A backport to v257-stable has been
requested upstream: SYSTEMD ISSUE on github<https://github.com/systemd/systemd/issues/44822#issue-6394116291>
Workaround: IPv6AcceptRA=no on removable links; on Wi-Fi,
[IPv6AcceptRA] UseDNS=no, UseDomains=no, UseCaptivePortal=no.
Please consider including the patch in a trixie update.






[image003]

GIUSEPPE CICI

Chief Technical Officer



giuseppe.cici@terasrl.it<mailto:giuseppe.cici@terasrl.it>

[image005]<https://www.linkedin.com/company/tera-srl>[image004]<https://twitter.com/terasrl/>[image002]<https://www.facebook.com/terasrl/?ref=settings>[image001]<https://www.youtube.com/channel/UCEL7okanxt_JFt3YJUrV6cg>

TERA SRL

Via G. Lacalandra 35,

70014 Conversano (BA), Italy

P.: +39 080 2147775

www.terasrl.it<http://www.terasrl.it/>

info@terasrl.it<mailto:info@terasrl.it>



Nota di riservatezza: il contenuto di questo messaggio e gli eventuali documenti allegati sono strettamente riservati al destinatario e hanno carattere confidenziale e sono ad uso esclusivo del destinatario. Chiunque ricevesse questo messaggio per errore o lo leggesse senza esserne legittimato è avvisato che trattenerlo, copiarlo, divulgarlo, distribuirlo a persone diverse dal destinatario è severamente proibito. In caso di erronea ricezione o mancato recapito si prega di voler avvisare il mittente e cancellare il messaggio. Grazie.
------------------------- Disclaimer: ai sensi del Regolamento UE 2016/679 del Consiglio e del Parlamento Europeo del 27 Aprile 2016 e Decreto legislativo n. 101 del 10 Agosto 2018, si precisa che le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, la preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie. Disclaimer: this message may contain confidential and/or privileged information, according to the provisions of law UE 2016/679 and Dlgs n. 101/2018. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose this information to any other person or take any action based on this message. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. Contact giuseppe.cici@terasrl.it<mailto:giuseppe.cici@terasrl.it>