[Bug 2047155] Re: "Could not create socket" with apt update when update libc6 to 2.35-0ubuntu3.5 and using nscd

Launchpad Bug Tracker 2047155 at bugs.launchpad.net
Wed Jan 10 12:17:35 UTC 2024


This bug was fixed in the package glibc - 2.35-0ubuntu3.6

---------------
glibc (2.35-0ubuntu3.6) jammy-security; urgency=medium

  * SECURITY REGRESSION: incorrect processing of address family with nscd
    (LP: #2047155)
    - debian/patches/lp2047155/lp2047155-refactor-bits-for-readability.patch:
      split out line processing for 'label', 'precedence' and 'scopev4' into
      separate functions (gaiconf_inet).
    - debian/patches/lp2047155/lp2047155-avoid-if-to-else-jump.patch: clean up
      another antipattern where code flows from an if condition to its else
      counterpart with a goto (gai_init).
    - debian/patches/lp2047155/lp2047155-refactor-code-for-readability.patch:
      refactor the code and make it easier to follow by removing the confusing
      close_retry goto jump (getaddrinfo).
    - debian/patches/lp2047155/
      lp2047155-get-nscd-addresses-fix-subscript-typos.patch: fix the
      subscript on air->family, which was accidentally set to 'count' when it
      should have remained as 'i' (get_nscd_addresses).
    - CVE-2023-4806

 -- Camila Camargo de Matos <camila.camargodematos at canonical.com>  Tue,
02 Jan 2024 10:22:42 -0300

** Changed in: glibc (Ubuntu)
       Status: In Progress => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-4806

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

Title:
  "Could not create socket" with apt update when update libc6 to
  2.35-0ubuntu3.5 and using nscd

Status in glibc package in Ubuntu:
  Fix Released

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 22.04.3 LTS
  Release:	22.04

  2) apt-cache policy libc6
  libc6:
    Installed: 2.35-0ubuntu3.5
    Candidate: 2.35-0ubuntu3.5
    Version table:
   *** 2.35-0ubuntu3.5 500
          500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
          500 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2.35-0ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

  3) apt-get update or apt update are successfully done.

  4) Could not create a socket and failure command.
  Error messages are followings.

  $ sudo apt update 
  Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Ign:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
  Err:5 http://archive.ubuntu.com/ubuntu jammy Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:6 http://archive.ubuntu.com/ubuntu jammy-updates Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:7 http://archive.ubuntu.com/ubuntu jammy-backports Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:8 http://archive.ubuntu.com/ubuntu jammy-security Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Reading package lists... Done
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-security Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.

  To reproduce
  * Install OS
  * Having only IPv6 interface
  * Install nscd
  * Upgrade libc6 to 2.35-0ubuntu3.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2047155/+subscriptions




More information about the foundations-bugs mailing list