Files
docker-cli/components/engine/daemon
Aleksa Sarai 87c0724076 devicemapper: remove container rootfs mountPath after umount
libdm currently has a fairly substantial DoS bug that makes certain
operations fail on a libdm device if the device has active references
through mountpoints. This is a significant problem with the advent of
mount namespaces and MS_PRIVATE, and can cause certain --volume mounts
to cause libdm to no longer be able to remove containers:

  % docker run -d --name testA busybox top
  % docker run -d --name testB -v /var/lib/docker:/docker busybox top
  % docker rm -f testA
  [fails on libdm with dm_task_run errors.]

This also solves the problem of unprivileged users being able to DoS
docker by using unprivileged mount namespaces to preseve mounts that
Docker has dropped.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
Upstream-commit: 92e45b81e0a8b68d9567a2068247460a1ba59600
Component: engine
2017-09-06 20:11:01 +10:00
..
2017-08-24 15:08:31 -04:00
2017-07-31 13:16:46 -07:00
2017-08-24 15:08:31 -04:00
2017-08-18 14:23:44 -04:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-05-18 10:57:10 +08:00
2017-05-16 14:25:32 -07:00
2017-07-31 13:16:46 -07:00
2017-08-17 15:29:17 -07:00
2017-07-31 13:16:46 -07:00
2017-08-17 15:29:17 -07:00
2017-07-31 13:16:46 -07:00
2017-07-13 12:35:00 -07:00
2017-08-21 18:18:50 -04:00
2017-07-31 13:16:46 -07:00
2017-08-18 17:09:27 -07:00
2017-07-31 13:16:46 -07:00
2017-08-24 15:08:26 -04:00
2017-08-08 12:54:06 -07:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:18:50 -04:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-07-31 13:16:46 -07:00
2017-08-24 15:08:31 -04:00
2017-07-18 12:09:26 +08:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:18:50 -04:00
2017-08-18 14:23:44 -04:00
2017-08-18 14:23:44 -04:00
2017-08-18 17:09:27 -07:00
2017-07-31 13:16:46 -07:00
2016-12-27 21:46:52 +08:00
2017-07-31 13:16:46 -07:00
2017-05-16 11:30:06 -07:00
2017-07-31 13:16:46 -07:00
2017-08-18 14:23:44 -04:00
2017-08-18 14:23:44 -04:00
2017-07-03 13:13:09 -07:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00