Public bug reported:

Since updating to 25.04 and the docker.io update that came along my deamon 
crashes when pulling multiple images at the same time.
Unfortunately dockerd bring down all containers with it when crashing, casuing 
service outages.

Package version: 27.5.1-0ubuntu3

This worked before on 24.10 .

It appears to be an issue with the go version docker is built (see
following related issues).

Related issues:
https://github.com/moby/moby/issues/49886#issuecomment-2834357625
https://github.com/moby/moby/issues/49513

LOG:

```
Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.375138705+02:00" level=debug msg="Applied tar 
sha256:705a020407cee71d8469fb3ad868f679f1130574cc657ba1f30c6c709ea709ef to 
50be82696951304dd4aeb29d6f80a46a6a92eb7e654824d81e>
Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.426652168+02:00" level=debug msg="Using 
/usr/bin/unpigz to decompress"
Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.446758524+02:00" level=debug msg="Applying tar in 
/var/lib/docker/overlay2/7db906385d1c811f0909d4307fa4e8ddbffaf21a5890fb72fb617bb1999a2e22/diff"
 storage-driver=overlay2
Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Main process exited, 
code=dumped, status=11/SEGV
Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Failed with result 
'core-dump'.
Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Consumed 1min 11.435s CPU 
time, 999M memory peak, 8.4M memory swap peak.
Apr 27 13:01:18 lx0001 bash[11531]: unexpected EOF
Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Scheduled restart job 
immediately on client request, restart counter is at 1.
Apr 27 13:01:18 lx0001 systemd[1]: Starting docker.service - Docker Application 
Container Engine...
Apr 27 13:01:18 lx0001 dockerd[39517]: 
time="2025-04-27T13:01:18.837408099+02:00" level=info msg="Starting up"
Apr 27 13:01:18 lx0001 dockerd[39517]: 
time="2025-04-27T13:01:18.837458617+02:00" level=warning msg="Runnin
```

segfaults:
```
Apr 25 09:52:57 lx0001 kernel: sh[2798344]: segfault at 7ffd272aaf08 ip 
00007dbde51223ad sp 00007ffd272aaf00 error 6 in 
ld-musl-x86_64.so.1[4f3ad,7dbde50e7000+4c000] likely on CPU 2 (core 2, socket 0)
Apr 25 10:55:39 lx0001 kernel: sh[128816]: segfault at 7ffdbe4f9ff8 ip 
000077db734079e4 sp 00007ffdbe4fa000 error 6 in 
ld-musl-x86_64.so.1[4e9e4,77db733cd000+4c000] likely on CPU 1 (core 1, socket 0)
Apr 27 12:48:43 lx0001 kernel: sh[1294496]: segfault at 7ffe6f3b6f28 ip 
000076dce56783ad sp 00007ffe6f3b6f20 error 6 in 
ld-musl-x86_64.so.1[4f3ad,76dce563d000+4c000] likely on CPU 1 (core 1, socket 0)
Apr 27 12:51:40 lx0001 kernel: sh[1300594]: segfault at 7ffc9a24dfe0 ip 
00007020b68569f8 sp 00007ffc9a24dfe0 error 6 in 
ld-musl-x86_64.so.1[4e9f8,7020b681c000+4c000] likely on CPU 0 (core 0, socket 0)
Apr 27 13:01:20 lx0001 kernel: sh[3354]: segfault at 7fffaefb7f28 ip 
00007416cd9ce3ad sp 00007fffaefb7f20 error 6 in 
ld-musl-x86_64.so.1[4f3ad,7416cd993000+4c000] likely on CPU 0 (core 0, socket 0)
Apr 27 13:22:16 lx0001 kernel: sh[43851]: segfault at 7ffc00869f90 ip 
00007988909ce9f8 sp 00007ffc00869f90 error 6 in 
ld-musl-x86_64.so.1[4e9f8,798890994000+4c000] likely on CPU 3 (core 3, socket 0)
```

docker Info:
```
Client:
 Version:    27.5.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.23.0
    Path:     /usr/local/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.35.1
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 56
  Running: 24
  Paused: 0
  Stopped: 32
 Images: 52
 Server Version: 27.5.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: journald
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version:
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.14.0-15-generic
 Operating System: Ubuntu 25.04
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 15.56GiB
 Name: lx0001
 ID: 2dab5412-cfed-4ba0-b5aa-751cdba4a48b
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 341
  Goroutines: 254
  System Time: 2025-04-27T13:14:00.216965029+02:00
  EventsListeners: 1
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Default Address Pools:
   Base: 10.1.0.0/16, Size: 24
   Base: fd00:1337:ffff::/64, Size: 64
```

** Affects: docker.io (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: plucky

** Summary changed:

- Dockerd crashes with SEGV
+ Dockerd crashes with SEGV during image pull / docker cp

** Description changed:

  Since updating to 25.04 and the docker.io update that came along my deamon 
crashes when pulling multiple images at the same time.
  Unfortunately dockerd bring down all containers with it when crashing, 
casuing service outages.
  
  Package version: 27.5.1-0ubuntu3
  
  This worked before on 24.10 .
  
- It appears to be an issue with the go version docker is built.
+ It appears to be an issue with the go version docker is built (see
+ following related issues).
  
  Related issues:
  https://github.com/moby/moby/issues/49886#issuecomment-2834357625
  https://github.com/moby/moby/issues/49513
  
  LOG:
  
  ```
  Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.375138705+02:00" level=debug msg="Applied tar 
sha256:705a020407cee71d8469fb3ad868f679f1130574cc657ba1f30c6c709ea709ef to 
50be82696951304dd4aeb29d6f80a46a6a92eb7e654824d81e>
  Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.426652168+02:00" level=debug msg="Using 
/usr/bin/unpigz to decompress"
  Apr 27 13:01:17 lx0001 dockerd[1295]: 
time="2025-04-27T13:01:17.446758524+02:00" level=debug msg="Applying tar in 
/var/lib/docker/overlay2/7db906385d1c811f0909d4307fa4e8ddbffaf21a5890fb72fb617bb1999a2e22/diff"
 storage-driver=overlay2
  Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Main process exited, 
code=dumped, status=11/SEGV
  Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Failed with result 
'core-dump'.
  Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Consumed 1min 11.435s CPU 
time, 999M memory peak, 8.4M memory swap peak.
  Apr 27 13:01:18 lx0001 bash[11531]: unexpected EOF
  Apr 27 13:01:18 lx0001 systemd[1]: docker.service: Scheduled restart job 
immediately on client request, restart counter is at 1.
  Apr 27 13:01:18 lx0001 systemd[1]: Starting docker.service - Docker 
Application Container Engine...
  Apr 27 13:01:18 lx0001 dockerd[39517]: 
time="2025-04-27T13:01:18.837408099+02:00" level=info msg="Starting up"
  Apr 27 13:01:18 lx0001 dockerd[39517]: 
time="2025-04-27T13:01:18.837458617+02:00" level=warning msg="Runnin
  ```
  
  segfaults:
  ```
  Apr 25 09:52:57 lx0001 kernel: sh[2798344]: segfault at 7ffd272aaf08 ip 
00007dbde51223ad sp 00007ffd272aaf00 error 6 in 
ld-musl-x86_64.so.1[4f3ad,7dbde50e7000+4c000] likely on CPU 2 (core 2, socket 0)
  Apr 25 10:55:39 lx0001 kernel: sh[128816]: segfault at 7ffdbe4f9ff8 ip 
000077db734079e4 sp 00007ffdbe4fa000 error 6 in 
ld-musl-x86_64.so.1[4e9e4,77db733cd000+4c000] likely on CPU 1 (core 1, socket 0)
  Apr 27 12:48:43 lx0001 kernel: sh[1294496]: segfault at 7ffe6f3b6f28 ip 
000076dce56783ad sp 00007ffe6f3b6f20 error 6 in 
ld-musl-x86_64.so.1[4f3ad,76dce563d000+4c000] likely on CPU 1 (core 1, socket 0)
  Apr 27 12:51:40 lx0001 kernel: sh[1300594]: segfault at 7ffc9a24dfe0 ip 
00007020b68569f8 sp 00007ffc9a24dfe0 error 6 in 
ld-musl-x86_64.so.1[4e9f8,7020b681c000+4c000] likely on CPU 0 (core 0, socket 0)
  Apr 27 13:01:20 lx0001 kernel: sh[3354]: segfault at 7fffaefb7f28 ip 
00007416cd9ce3ad sp 00007fffaefb7f20 error 6 in 
ld-musl-x86_64.so.1[4f3ad,7416cd993000+4c000] likely on CPU 0 (core 0, socket 0)
  Apr 27 13:22:16 lx0001 kernel: sh[43851]: segfault at 7ffc00869f90 ip 
00007988909ce9f8 sp 00007ffc00869f90 error 6 in 
ld-musl-x86_64.so.1[4e9f8,798890994000+4c000] likely on CPU 3 (core 3, socket 0)
  ```
  
  docker Info:
  ```
  Client:
-  Version:    27.5.1
-  Context:    default
-  Debug Mode: false
-  Plugins:
-   buildx: Docker Buildx (Docker Inc.)
-     Version:  v0.23.0
-     Path:     /usr/local/lib/docker/cli-plugins/docker-buildx
-   compose: Docker Compose (Docker Inc.)
-     Version:  v2.35.1
-     Path:     /usr/local/lib/docker/cli-plugins/docker-compose
+  Version:    27.5.1
+  Context:    default
+  Debug Mode: false
+  Plugins:
+   buildx: Docker Buildx (Docker Inc.)
+     Version:  v0.23.0
+     Path:     /usr/local/lib/docker/cli-plugins/docker-buildx
+   compose: Docker Compose (Docker Inc.)
+     Version:  v2.35.1
+     Path:     /usr/local/lib/docker/cli-plugins/docker-compose
  
  Server:
-  Containers: 56
-   Running: 24
-   Paused: 0
-   Stopped: 32
-  Images: 52
-  Server Version: 27.5.1
-  Storage Driver: overlay2
-   Backing Filesystem: extfs
-   Supports d_type: true
-   Using metacopy: false
-   Native Overlay Diff: true
-   userxattr: false
-  Logging Driver: journald
-  Cgroup Driver: systemd
-  Cgroup Version: 2
-  Plugins:
-   Volume: local
-   Network: bridge host ipvlan macvlan null overlay
-   Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
-  Swarm: inactive
-  Runtimes: io.containerd.runc.v2 runc
-  Default Runtime: runc
-  Init Binary: docker-init
-  containerd version: 
-  runc version: 
-  init version: 
-  Security Options:
-   apparmor
-   seccomp
-    Profile: builtin
-   cgroupns
-  Kernel Version: 6.14.0-15-generic
-  Operating System: Ubuntu 25.04
-  OSType: linux
-  Architecture: x86_64
-  CPUs: 4
-  Total Memory: 15.56GiB
-  Name: lx0001
-  ID: 2dab5412-cfed-4ba0-b5aa-751cdba4a48b
-  Docker Root Dir: /var/lib/docker
-  Debug Mode: true
-   File Descriptors: 341
-   Goroutines: 254
-   System Time: 2025-04-27T13:14:00.216965029+02:00
-   EventsListeners: 1
-  Experimental: true
-  Insecure Registries:
-   127.0.0.0/8
-  Live Restore Enabled: false
-  Default Address Pools:
-    Base: 10.1.0.0/16, Size: 24
-    Base: fd00:1337:ffff::/64, Size: 64
+  Containers: 56
+   Running: 24
+   Paused: 0
+   Stopped: 32
+  Images: 52
+  Server Version: 27.5.1
+  Storage Driver: overlay2
+   Backing Filesystem: extfs
+   Supports d_type: true
+   Using metacopy: false
+   Native Overlay Diff: true
+   userxattr: false
+  Logging Driver: journald
+  Cgroup Driver: systemd
+  Cgroup Version: 2
+  Plugins:
+   Volume: local
+   Network: bridge host ipvlan macvlan null overlay
+   Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
+  Swarm: inactive
+  Runtimes: io.containerd.runc.v2 runc
+  Default Runtime: runc
+  Init Binary: docker-init
+  containerd version:
+  runc version:
+  init version:
+  Security Options:
+   apparmor
+   seccomp
+    Profile: builtin
+   cgroupns
+  Kernel Version: 6.14.0-15-generic
+  Operating System: Ubuntu 25.04
+  OSType: linux
+  Architecture: x86_64
+  CPUs: 4
+  Total Memory: 15.56GiB
+  Name: lx0001
+  ID: 2dab5412-cfed-4ba0-b5aa-751cdba4a48b
+  Docker Root Dir: /var/lib/docker
+  Debug Mode: true
+   File Descriptors: 341
+   Goroutines: 254
+   System Time: 2025-04-27T13:14:00.216965029+02:00
+   EventsListeners: 1
+  Experimental: true
+  Insecure Registries:
+   127.0.0.0/8
+  Live Restore Enabled: false
+  Default Address Pools:
+    Base: 10.1.0.0/16, Size: 24
+    Base: fd00:1337:ffff::/64, Size: 64
  ```

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

Title:
  Dockerd crashes with SEGV during image pull / docker cp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/2109499/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to