aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorFabian Vogt <fvogt@suse.de>2022-07-27 11:44:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-09-06 18:34:18 +0200
commitc399271c10bd00714504e8d4dfbec8aebf996dd4 (patch)
treecacc72fa87a9c8b1508012abaa16010303a028b4 /NEWS
parentb46412fb17e8bfc6c9e1f144bbcf833320c80f8a (diff)
downloadglibc-c399271c10bd00714504e8d4dfbec8aebf996dd4.zip
glibc-c399271c10bd00714504e8d4dfbec8aebf996dd4.tar.gz
glibc-c399271c10bd00714504e8d4dfbec8aebf996dd4.tar.bz2
nscd: Fix netlink cache invalidation if epoll is used [BZ #29415]
Processes cache network interface information such as whether IPv4 or IPv6 are enabled. This is only checked again if the "netlink timestamp" provided by nscd changed, which is triggered by netlink socket activity. However, in the epoll handler for the netlink socket, it was missed to assign the new timestamp to the nscd database. The handler for plain poll did that properly, copy that over. This bug caused that e.g. processes which started before network configuration got unusuable addresses from getaddrinfo, like IPv6 only even though only IPv4 is available: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1041 It's a bit hard to reproduce, so I verified this by checking the timestamp on calls to __check_pf manually. Without this patch it's stuck at 1, now it's increasing on network changes as expected. Signed-off-by: Fabian Vogt <fvogt@suse.de> (cherry picked from commit 02ca25fef2785974011e9c5beecc99b900b69fd7)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 10a7613..9360596 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ Security related changes:
The following bugs are resolved with this release:
[28846] CMSG_NXTHDR may trigger -Wstrict-overflow warning
+ [29415] nscd: Fix netlink cache invalidation if epoll is used
[29446] _dlopen now ignores dl_caller argument in static mode
[29485] Linux: Terminate subprocess on late failure in tst-pidfd
[29490] alpha: New __brk_call implementation is broken