[Bug 1913423] Re: getgrouplist is not thread safe with libnss_systemd
Dan Streetman
1913423 at bugs.launchpad.net
Fri Feb 19 21:05:58 UTC 2021
** Description changed:
+ [impact]
+
+ programs calling getgrouplist() may crash as it is not thread-safe
+
+ [test case]
+
+ see upstream bug description for sample c program to reproduce:
+ https://github.com/systemd/systemd/issues/17007#issue-698123284
+
+ [regression potential]
+
+ any regression would likely occur when creating a hashmap in systemd, or
+ when any multi-threaded programs use the hashmap
+
+ [scope]
+
+ this is needed for f and b
+
+ this is fixed upstream by commit
+ ae0b700a856c0ae460d271bb50dccfaae84dbcab, already included in g/h (per
+ comment 1).
+
+ [original description]
+
This upstream issue (https://github.com/systemd/systemd/issues/17007) is
affecting the latest version of systemd in Ubuntu Focal. It has been
fixed upstream with https://github.com/systemd/systemd/pull/17033. Can
we have this patched for Focal please as it causes Mesos to randomly
segfault on start.
** Description changed:
[impact]
programs calling getgrouplist() may crash as it is not thread-safe
[test case]
see upstream bug description for sample c program to reproduce:
https://github.com/systemd/systemd/issues/17007#issue-698123284
[regression potential]
any regression would likely occur when creating a hashmap in systemd, or
- when any multi-threaded programs use the hashmap
+ when any multi-threaded programs concurrently create (and use) the
+ hashmap
[scope]
this is needed for f and b
this is fixed upstream by commit
ae0b700a856c0ae460d271bb50dccfaae84dbcab, already included in g/h (per
comment 1).
[original description]
This upstream issue (https://github.com/systemd/systemd/issues/17007) is
affecting the latest version of systemd in Ubuntu Focal. It has been
fixed upstream with https://github.com/systemd/systemd/pull/17033. Can
we have this patched for Focal please as it causes Mesos to randomly
segfault on start.
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Bionic)
Status: New => In Progress
** Changed in: systemd (Ubuntu Focal)
Status: New => In Progress
** Changed in: systemd (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: systemd (Ubuntu Bionic)
Importance: Undecided => Medium
** Changed in: systemd (Ubuntu Bionic)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Focal)
Assignee: (unassigned) => Dan Streetman (ddstreet)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1913423
Title:
getgrouplist is not thread safe with libnss_systemd
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
In Progress
Status in systemd source package in Focal:
In Progress
Bug description:
[impact]
programs calling getgrouplist() may crash as it is not thread-safe
[test case]
see upstream bug description for sample c program to reproduce:
https://github.com/systemd/systemd/issues/17007#issue-698123284
[regression potential]
any regression would likely occur when creating a hashmap in systemd,
or when any multi-threaded programs concurrently create (and use) the
hashmap
[scope]
this is needed for f and b
this is fixed upstream by commit
ae0b700a856c0ae460d271bb50dccfaae84dbcab, already included in g/h (per
comment 1).
[original description]
This upstream issue (https://github.com/systemd/systemd/issues/17007)
is affecting the latest version of systemd in Ubuntu Focal. It has
been fixed upstream with
https://github.com/systemd/systemd/pull/17033. Can we have this
patched for Focal please as it causes Mesos to randomly segfault on
start.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1913423/+subscriptions
More information about the foundations-bugs
mailing list