Bug 25888 - nscd: Concurrency issues with cache.
Summary: nscd: Concurrency issues with cache.
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: nscd (show other bugs)
Version: 2.32
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 16:33 UTC by Carlos O'Donell
Modified: 2020-04-29 13:50 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
carlos: security-


Attachments
glibc-nscd-c11-atomics.patch (41.01 KB, patch)
2020-04-28 16:33 UTC, Carlos O'Donell
Details | Diff
glibc-nscd-atomics8b.patch (580 bytes, patch)
2020-04-28 16:34 UTC, Carlos O'Donell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos O'Donell 2020-04-28 16:33:35 UTC
Created attachment 12493 [details]
glibc-nscd-c11-atomics.patch

nscd has identified concurrency issues with the cache:

Patch posted here:
https://sourceware.org/legacy-ml/libc-alpha/2016-06/msg00530.html

And attached patch here is WIP, and DJ Delorie and Florian Weimer have seen this patch and commented on it internally. I'm making this old patch public so we can have further discussions about the status of this work and how much cleanup is really needed in nscd to fix the cache.
Comment 1 Carlos O'Donell 2020-04-28 16:34:02 UTC
Created attachment 12494 [details]
glibc-nscd-atomics8b.patch