[Bug 2121429] [NEW] [FFe] New probert rtnetlink implementation

Olivier Gayot 2121429 at bugs.launchpad.net
Tue Aug 26 08:34:05 UTC 2025


Public bug reported:

Request
-------
We want Subiquity to switch to the new probert rtnetlink implementation, which is written in pure Python instead of C. Earlier, we already switched to the new nl80211 implementation.

Why Needed
----------
In the past few cycles in Subiquity, there have been reports of python crashes (e.g., Segmentation fault) caused by poor implementation of probert network modules written in C.
To clear the possibility of memory safety vulnerabilities, we want to stop relying on memory unsafe code in Subiquity, ASAP.

Having this new implementation in 25.10 will give us more room for
addressing any potential bugs in the new implementation before the
change gets more wildely rolled  with the coming LTS.

What Changed
------------
* The new implementation is based on pyroute2 instead of libnl. When it comes to its behavior, it is designed to be as close in behavior as the old implementation in C.

Code to be merged
-----------------
* https://github.com/canonical/probert/pull/160

** Affects: probert
     Importance: Undecided
         Status: New

** Affects: subiquity
     Importance: Undecided
         Status: New

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: subiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: probert
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2121429

Title:
  [FFe] New probert rtnetlink implementation

Status in probert:
  New
Status in subiquity:
  New
Status in subiquity package in Ubuntu:
  New

Bug description:
  Request
  -------
  We want Subiquity to switch to the new probert rtnetlink implementation, which is written in pure Python instead of C. Earlier, we already switched to the new nl80211 implementation.

  Why Needed
  ----------
  In the past few cycles in Subiquity, there have been reports of python crashes (e.g., Segmentation fault) caused by poor implementation of probert network modules written in C.
  To clear the possibility of memory safety vulnerabilities, we want to stop relying on memory unsafe code in Subiquity, ASAP.

  Having this new implementation in 25.10 will give us more room for
  addressing any potential bugs in the new implementation before the
  change gets more wildely rolled  with the coming LTS.

  What Changed
  ------------
  * The new implementation is based on pyroute2 instead of libnl. When it comes to its behavior, it is designed to be as close in behavior as the old implementation in C.

  Code to be merged
  -----------------
  * https://github.com/canonical/probert/pull/160

To manage notifications about this bug go to:
https://bugs.launchpad.net/probert/+bug/2121429/+subscriptions




More information about the foundations-bugs mailing list