getgrouplist is not thread safe with libnss_systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman | ||
Focal |
Fix Released
|
Medium
|
Dan Streetman |
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:/
[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 ae0b700a856c0ae
[original description]
This upstream issue (https:/
tags: | added: rls-ff-incoming |
description: | updated |
description: | updated |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Medium |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Fixed in v247 and v246.5 in Hirsute and Groovy.