Skip to content

Releases

runc v1.6.0 -- "All's well that ends well."

Choose a tag to compare

@kolyshkin kolyshkin released this 27 Nov 21:17
Immutable release. Only release title and notes can be modified.
v1.6.0

This is the first stable release of the 1.6.z release branch of runc.
It contains a handful of fixes and a few dependency bumps, including
one fixing a medium security issue.

This release follows our release and support policy (see RELEASES.md
for more details). This means that, as of this release:

  • The runc 1.3.z (and earlier) release branches are now unsupported.
  • The runc 1.4.z release branch will now only receive high severity
    CVE fixes, and will no longer be supported in less than 6 months
    (end of April 2027).
  • The runc 1.5.z release branch will now only receive security and
    "significant" bugfixes.
  • Users are encouraged to plan migrating to runc 1.6.0 as soon as
    possible.
  • Despite this release being delayed by almost a month, users should
    still expect a runc 1.7.0 release in late April 2027.

Security

This release includes github.com/moby/sys/user v0.5.1, which fixes the
following medium-severity security issue:

  • CVE-2026-135844 allowed unbounded reads when parsing user and group
    files. In runc, a malicious image with a huge /etc/passwd could make
    runc init consume excessive memory and CPU while looking up the user's
    home directory (which is done when HOME is not set in the process
    environment). (#5631)

Added

  • THREAT_MODEL.md describes what runc does and does not consider a security
    vulnerability, to help security researchers and automated scanners. It is
    linked from SECURITY.md. (#5361, #5566)

Fixed

  • When the container does not have its own cgroup namespace, runc no longer
    mounts a new cgroup v2 filesystem instance for /sys/fs/cgroup, as doing so
    could change host cgroupfs mount options such as nsdelegate. Instead, the
    existing cgroup v2 hierarchy is bind mounted. (#5258, #5267)
  • Fixed a buffer overflow in runc init when more than 5 user namespace ID
    mappings are set using newuidmap/newgidmap (as it happens with rootless
    runc), which resulted in a failed to execv: Bad address error. Up to 340
    mappings (the kernel limit) are now supported. (#5507)
  • The bash completion is now in sync with runc commands and options, and
    a CI test ensures it stays that way. (#5299, #5568)
  • The --pidfd-socket option is now documented in runc-create(8),
    runc-exec(8) and runc-run(8) man pages. (#5568)

Changed

  • Switched to opencontainers/cgroups v0.1.2, which no longer depends on
    cilium/ebpf and, indirectly, crypto packages. The new version also fixes
    CPU quota overflow and cpu.max rounding in the systemd driver, and adds
    support for zswap unified resources. (#5612, #5623)
  • Updated dependencies: golang.org/x/sys to v0.50.0, golang.org/x/net to
    v0.63.0. (#5618, #5632)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.6.0-rc.2 -- "To celebrate the fact that we've seen the back of another black day."

Choose a tag to compare

@kolyshkin kolyshkin released this 12 Nov 09:30
Immutable release. Only release title and notes can be modified.
v1.6.0-rc.2

This is the second release candidate of the upcoming runc 1.6.0 release.
It includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, a couple of new
features, and various fixes and improvements.

This version includes all of the patches backported to runc v1.5.3.

Users are strongly encouraged to test our release candidates so we can
fix issues before the general release.

Security

This release includes a fix for the following high-severity security issue:

  • CVE-2026-119101 allowed a malicious image, using crafted symlinks in
    its rootfs, to confuse the way runc names external mounts for CRIU, and so
    make runc restore bind-mount an arbitrary host directory into the restored
    container, read-write. Only users who both checkpoint and later restore
    containers running untrusted images are affected (checkpoint/restore
    requires root, so rootless runc is not affected). The same issue was found
    in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.

    In addition, runc restore no longer makes read-only bind mounts writable,
    even temporarily, while preparing the container mounts.

Breaking

  • A mount destination prefixed with the container rootfs path is no longer
    treated specially (previously, the prefix was stripped). As the runtime spec
    says, the destination is a path inside the container, and it is now used
    as such. (#5556)

Added

  • New --cgroup-manager global option, to select the cgroup manager
    (cgroupfs or systemd). This is compatible with crun. (#5570)
  • docs/spec-conformance.md now documents the known deviations from the
    runtime spec. (#1846, #5528)

Deprecated

  • libcontainer.Stats.Interfaces and types.Stats.NetworkInterfaces (shown
    as network_interfaces in runc events --stats output) are deprecated, as
    they are always empty since the removal of veth network strategy in runc
    1.0.0-rc6. (#5523)
  • The --systemd-cgroup global option is deprecated in favor of
    --cgroup-manager=systemd. It still works, and there are no plans to
    remove it. (#5570)

Changed

  • A container configuration which uses --no-pivot or sets
    linux.rootfsPropagation, but does not have its own mount namespace, is now
    refused. Previously, --no-pivot resulted in host's /proc and /sys being
    unmounted, and rootfsPropagation changed the propagation of host mounts.
    (#5535)
  • Using / as container rootfs is now refused. Previously, it failed with a
    mount namespace, and without one, container mounts (such as /proc) were
    mounted on top of the host ones. (#5535)
  • Mount errors now quote the source, destination and mount data, so that
    control characters in them can not hide or garble the error message.
    (#5320, #5560)
  • The log file (--log) is no longer opened with O_SYNC, which made every
    log write wait for the data to reach the disk. (#5547)
  • runc no longer prints CRIU requests and responses in debug logs (CRIU logs
    what it does in its own log files anyway). Together with not linking in the
    DNS resolver and godbus/dbus TCP transports (the new godbus_no_tcp build
    tag), this makes the runc binary about 200 KB smaller. (#5515, #5516, #5546)
  • The bash completion file no longer has a shebang line, as it is sourced,
    not executed. (#5526)
  • Updated dependencies: checkpoint-restore/go-criu to v8.5.0,
    moby/sys/mountinfo to v0.7.3, moby/sys/user to v0.5.0, golang.org/x/net to
    v0.62.0, and golang.org/x/sys to v0.49.0. (#5553, #5555, #5562, #5578,
    #5603, #5604, #5607)

Fixed

  • runc now errors out when seccomp defaultErrnoRet or errnoRet is set for
    an action which does not support it (i.e. anything other than
    SCMP_ACT_ERRNO and SCMP_ACT_TRACE), as required by the runtime spec.
    Previously, such values were silently ignored. (#5550, #5564)
  • runc no longer hangs if runc init is partially killed (for example, by a
    seccomp SCMP_ACT_KILL rule hitting its main thread). (#5087, #5431)
  • runc run and runc exec run as a background job of a shell no longer
    occasionally busy-loop when reading from the terminal; instead, they are
    stopped by SIGTTIN, as expected, and can be resumed with fg.
    (#1430, #5525)
  • A network device name (linux.netDevices) of 16 bytes is now rejected
    during validation. Previously, runc failed later, after the host interface
    was already set down, leaving it down. (#5606)
  • Some file descriptors opened by runc were not marked close-on-exec, and so
    could leak into the container processes (notably, an inotify fd used for
    OOM notifications leaked into every runc exec process). (#5480)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.5.3 -- "Let me hear you make decisions without your television."

Choose a tag to compare

@kolyshkin kolyshkin released this 12 Nov 09:30
Immutable release. Only release title and notes can be modified.
v1.5.3

This is the third patch release in the 1.5.z release series of runc. It
includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, as well as a few
other fixes. Users are encouraged to update.

Security

This release includes a fix for the following high-severity security issue:

  • CVE-2026-119101 allowed a malicious image, using crafted symlinks in
    its rootfs, to confuse the way runc names external mounts for CRIU, and so
    make runc restore bind-mount an arbitrary host directory into the restored
    container, read-write. Only users who both checkpoint and later restore
    containers running untrusted images are affected (checkpoint/restore
    requires root, so rootless runc is not affected). The same issue was found
    in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.

    In addition, runc restore no longer makes read-only bind mounts writable,
    even temporarily, while preparing the container mounts.

Fixed

  • Running a container which does not have its own mount namespace no longer
    changes the propagation of host's / and of the parent mount of the
    container rootfs (they were made private or slave). (#5537, #5581)
  • When making the container rootfs read-only (root.readonly), runc no longer
    clears the nosuid, nodev, noexec and nosymfollow flags of the rootfs
    mount (this only happened when not using a user namespace). (#5588, #5601)
  • The defaults mount option is no longer passed to the kernel as
    filesystem-specific mount data, which made mounting filesystems that do not
    accept it (such as tmpfs) fail. (#5500, #5520, #5602)

Changed

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.4.4 -- "Never again is what you swore the time before."

Choose a tag to compare

@kolyshkin kolyshkin released this 12 Nov 09:30
Immutable release. Only release title and notes can be modified.
v1.4.4

This is the fourth patch release of the 1.4.z series of runc. It
includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, a workaround for
a Linux kernel bug causing random runc crashes when using cgroup v2, and
other fixes. Users are encouraged to update.

Security

This release includes a fix for the following high-severity security issue:

  • CVE-2026-119101 allowed a malicious image, using crafted symlinks in
    its rootfs, to confuse the way runc names external mounts for CRIU, and so
    make runc restore bind-mount an arbitrary host directory into the restored
    container, read-write. Only users who both checkpoint and later restore
    containers running untrusted images are affected (checkpoint/restore
    requires root, so rootless runc is not affected). The same issue was found
    in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.

    In addition, runc restore no longer makes read-only bind mounts writable,
    even temporarily, while preparing the container mounts.

Added

  • runc version and runc features now provide version information about
    libpathrs when runc is built with the libpathrs build tag. (#5291, #5328)

Changed

  • For users making use of the libpathrs build tag, runc now depends on
    libpathrs v0.2.5 or later, and attempting to build with older versions will
    cause compilation errors. (#5291, #5333)
  • Switched to opencontainers/cgroups v0.1.0, which no longer uses the
    high-level cilium/ebpf API to manage cgroup v2 device rules. As a result,
    the runc binary shrunk by about 1 MiB (7.5%) on amd64. (#5403, #5583)
  • Updated builds to Go 1.26. (#5413, #5583)
  • Updated github.com/moby/sys/capability to v0.5.0. (#5598, #5599)
  • Various CI improvements. (#5383, #5395, #5401, #5408, #5279, #5613)

Fixed

  • Worked around a Linux kernel bug (present since kernel v6.17, fixed in v7.2)
    which caused the kernel to write past the end of the structure
    provided by userspace (runc). This resulted in memory corruption inside runc
    (manifesting as random crashes) when configuring device rules on cgroup v2
    systems. (#5403, #5583)
  • runc exec --cgroup (and the equivalent libcontainer Process.SubCgroupPaths
    API) no longer accepts a sub-cgroup path that escapes the container's cgroup
    into a sibling cgroup sharing the same name prefix. Note that using
    --cgroup requires the same privileges as running runc exec itself, so
    this is a correctness rather than a security fix. (#5403, #5583)
  • Fixed a missing O_CLOEXEC when opening the cgroup v2 directory to set up
    device rules. (#5403, #5583)
  • Running a container which does not have its own mount namespace no longer
    changes the propagation of host's / and of the parent mount of the
    container rootfs (they were made private or slave). (#5537, #5582)
  • Since runc 1.3.0, the org.opencontainers.runc.version annotation included
    in runc features contained an extraneous \n, possibly causing issues with
    tools that parse the output. It is now properly stripped. (#5329, #5330,
    #5331, #5335, #5336)
  • On Ubuntu Focal (20.04), the maskPaths optimisation added in runc 1.4.3
    failed, as mounting tmpfs with the nr_inodes=1 option is rejected there
    due to a downstream kernel patch. We now fall back to nr_inodes=2 if the
    operation fails. (#5348, #5353, #5356, #5358, #5360)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.3.7 -- "Your optimistic eyes seem like paradise to someone like me."

Choose a tag to compare

@kolyshkin kolyshkin released this 12 Nov 09:30
Immutable release. Only release title and notes can be modified.
v1.3.7

This is the seventh (and probably the last) patch release of the 1.3.z series
of runc. It includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, as well as a few other
fixes. Users are encouraged to update.

Security

This release includes a fix for the following high-severity security issue:

  • CVE-2026-119101 allowed a malicious image, using crafted symlinks in
    its rootfs, to confuse the way runc names external mounts for CRIU, and so
    make runc restore bind-mount an arbitrary host directory into the restored
    container, read-write. Only users who both checkpoint and later restore
    containers running untrusted images are affected (checkpoint/restore
    requires root, so rootless runc is not affected). The same issue was found
    in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.

    In addition, runc restore no longer makes read-only bind mounts writable,
    even temporarily, while preparing the container mounts.

Fixed

  • The org.opencontainers.runc.version annotation reported by runc features
    no longer contains a trailing newline (a regression in runc 1.3.0), and now
    includes EXTRA_VERSION. (#5329, #5331, #5335, #5337)

Changed

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.6.0-rc.1 -- "Lo bueno, si breve, dos veces bueno."

Choose a tag to compare

@kolyshkin kolyshkin released this 06 Oct 20:37
Immutable release. Only release title and notes can be modified.
v1.6.0-rc.1

This is the first release candidate of the upcoming runc 1.6.0 release.
It contains a couple of new features, but is mostly made up of various
cleanups (such as the removal of many deprecated APIs) and improvements.

This version includes all of the patches backported to runc v1.5.2.

Users are strongly encouraged to test our release candidates so we can
fix issues before the general release.

libcontainer API

  • configs.ToCPUSet now returns a unix.CPUSetDynamic instead of a
    *unix.CPUSet, and the Initial/Final fields of configs.CPUAffinity and
    the Nodes field of configs.LinuxMemoryPolicy have changed type
    accordingly. This lifts the previous 1024 CPUs/nodes limit. (#5343)
  • The deprecated libcontainer/devices package has been removed. Use
    github.com/moby/sys/devices instead. (#5142, #5223, #5495)
  • The deprecated RecvFile, SendFile, and SendRawFd functions have been
    removed from libcontainer/utils. (#5227, #5231, #5495)

Removed

  • The deprecated EXTRA_BUILDTAGS make variable has been removed, and setting
    it is now an error. Use RUNC_BUILDTAGS instead. (#5171, #5198, #5511)

Fixed

  • The poststart hooks are now executed after starting the user-specified
    process, fixing a runtime-spec conformance issue. (#4347, #5186)
  • process.user.umask is now honored for a container which does not have its
    own mount namespace. Previously it was silently ignored, and not even the
    default umask of 022 was set. (#5479)
  • When an AppArmor profile is not loaded, runc now says so explicitly and
    names the profile, instead of returning a confusing no such file or directory error about a procfs file. (#5438, #5441)

Changed

  • runc now requires Go 1.26+ to build. (#5413)
  • The runc binary is now built with the urfave_cli_no_template build tag,
    which, together with removing the reflect-based logging of CRIU options,
    re-enables the linker's dead code elimination of exported methods. As a
    result, the runc binary shrunk by about 2 MB (15%) on amd64. (#5486, #5506)
  • The cpuAffinity and NUMA memoryPolicy settings are no longer limited
    to 1024 CPUs/nodes, as runc now uses a dynamically-sized CPU mask. (#5343)
  • A container configuration which asks for a read-only rootfs
    (root.readonly), a read-only tmpfs mount, or a read-only /dev, but does
    not have its own mount namespace, is now refused. Previously such a
    container was silently started with those filesystems left writable, since
    making them read-only requires a remount, which is only possible in a
    private mount namespace. This is consistent with how maskedPaths and
    readonlyPaths, which have the same requirement, were already treated.
    (#5371, #5479)
  • Switched from urfave/cli v1 (which is in maintenance mode) to v3. The
    command-line syntax is intended to remain the same, but the help output
    looks different. Please report any regressions in command-line parsing.
    The urfave_cli_no_docs build tag is no longer used. (#5184)
  • runc start now waits for the container's init process using poll(2) and
    pidfd (where available), instead of a goroutine with a 100ms polling
    timeout. (#5251, #5271)
  • runc no longer sets up a signal forwarder for detached containers, as
    there is nothing to forward the signals to. (#4661)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.5.2 -- "Всё сбудется, стоит только расхотеть!"

Choose a tag to compare

@kolyshkin kolyshkin released this 25 Sep 21:13
Immutable release. Only release title and notes can be modified.
v1.5.2

This is the second patch release in the 1.5.z release series of runc,
which primarily includes a workaround for a Linux kernel bug causing
random runc crashes when using cgroup v2, and other fixes.

Fixed

  • runc exec -p with a process.json lacking env now sets HOME again
    (a regression in runc 1.3.0). (#5265, #5266, #5459)
  • Worked around a Linux kernel bug (present since kernel v6.17, fixed in v7.2)
    which caused the kernel to write past the end of the structure
    provided by userspace (runc). This resulted in memory corruption inside runc
    (manifesting as random crashes) when configuring device rules on cgroup v2
    systems. (#5403, #5428)
  • runc exec --cgroup (and the equivalent libcontainer Process.SubCgroupPaths
    API) no longer accepts a sub-cgroup path that escapes the container's cgroup
    into a sibling cgroup sharing the same name prefix. Note that using
    --cgroup requires the same privileges as running runc exec itself, so
    this is a correctness rather than a security fix. (#5403, #5457)
  • Fixed a missing O_CLOEXEC when opening the cgroup v2 directory to set up
    device rules. (#5403, #5428)
  • Some long-standing file-descriptor leaks on the eBPF devices cgroups were
    fixed. (#5403, #5428)
  • When rootfsPropagation is set to rslave, the rootfs parent mount is no
    longer made private before pivoting into the rootfs, so unmount/remount
    events on host mountpoints under the rootfs are now propagated to the
    running container. (#5192, #5200, #5458)
  • runc no longer misdetects a non-initial user namespace as the initial one
    when that namespace has a full identity ID mapping (0 0 4294967295), as
    used by systemd >= 260 units with PrivateUsers=full. Previously this made
    runc skip its user namespace code paths, so starting a container in such a
    unit failed with bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted.
    (#5396, #5411, #5451, moby/sys#239)
  • Fixed a runc init panic (SIGABRT) on the error path, caused by SELinux
    labels being reset after the cached libpathrs procfs handle was already
    closed. This is fixed both by not resetting the labels on the init error
    path, and by updating to libpathrs v0.2.6, which now handles a closed
    procfs handle gracefully. (#5438, #5439, #5442, #5448, #5449, #5467,
    #5469)
  • Fixed various issues when the libseccomp version runc is run with differs
    from the one it was compiled against (e.g. built with libseccomp >= 2.6.0 and
    run with an older one), by updating to libseccomp-golang v0.12.0. This also
    supersedes the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV workaround added in
    runc 1.5.1. (#5436, #5461)
  • The libseccomp library statically linked into release binaries is now built
    with optimizations enabled (the default -g -O2 CFLAGS); previously it was
    built unoptimized. (#5464, #5465)

Changed

  • Switched to opencontainers/cgroups v0.1.0, which no longer uses the
    high-level cilium/ebpf API to manage cgroup v2 device rules. As a result,
    the runc binary shrunk by about 1 MiB (7.5%) on amd64. This also means runc
    no longer calls the cilium/ebpf code affected by GO-2026-6238. (#5403, #5428)
  • Updated golang.org/x/net to v0.55.0. (#5379, #5381)
  • Updated builds to libseccomp v2.6.1. (#5376, #5460)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

runc v1.5.1 -- "El lujo es vulgaridad, dijo, y me conquistó."

Choose a tag to compare

@cyphar cyphar released this 14 Jul 01:36
v1.5.1
8f2685a

This is the first patch release in the 1.5.z release series of runc, and
primarily includes a fix for a serious regression on Ubuntu 20.04
kernels.

Fixed

  • There was a regression reported in with the maskPaths optimisation added in
    1.5.0-rc.3 (#5275). On Ubuntu Focal (20.04), attempts to mount tmpfs with
    the nr_inodes=1 option will fail due to a downstream kernel patch
    (ironically originating from AUFS). We now have a fallback path using
    nr_inodes=2 instead if the operation fails. (#5348, #5358, #5359)
  • Properly handle EINVAL for seccomp SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
    when trying to rewrite the filter. This appears to only happen if you compile
    runc with libseccomp >= 2.6.0 and then run it with an < 2.6.0 libseccomp.
    (#5347, #5354)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

runc v1.5.0 -- "Why do we even have that lever?!"

Choose a tag to compare

@cyphar cyphar released this 19 Jun 11:44
v1.5.0
c4bb595

This is the somewhat-delayed^Wlong-awaited first stable release of the
1.5.z release branch of runc. It contains a handful of fixes for issues
found in 1.5.0-rc.3 and an important dependency bump for libpathrs.

This is the third release of runc following our new release and support
policy (see RELEASES.md for more details). This means that, as of this
release:

  • The runc 1.2.z (and earlier) release branches are now completely
    unsupported.
  • The runc 1.3.z release branch will now only receive high severity
    CVE fixes, and will no longer be supported in less than 6 months (end
    of October 2026).
  • The runc 1.4.z release branch will now only recieve security and
    "significant" bugfixes.
  • Users are encouraged to plan migrating to runc 1.5.0 as soon as
    possible.
  • Despite this release being delayed by over a month, users should
    still expect a runc 1.6.0 release in late October 2026.

Added

  • runc version and runc features now provide version information about
    libpathrs (when runc is built with the libpathrs build tag). (#5291, #5328)

Fixed

  • Since runc 1.3.0, the org.opencontainers.runc.version annotation included
    in runc features contained an extraneous \n, possibly causing issues with
    tools that parse the output. It is now properly stripped. (#5329, #5330,
    #5331, #5335)

Changed

  • runc (when built with the libpathrs build tag) now depends on libpathrs
    v0.2.5
    or later, and attempting to build with older versions will cause
    compilation errors. (#5291, #5328)
  • Switched to go-criu v8.3.0, which reduces our binary size from ~16MB to
    ~14MB. (#5312, #5326)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors who made this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

runc 1.5.0-rc.3 -- "The best way to get a drink out of a Vogon is to stick your finger down his throat."

Choose a tag to compare

@cyphar cyphar released this 13 Jun 17:24
v1.5.0-rc.3
b33d1c2

This is the third release candidate for the 1.5.z series of runc. Among
some performance improvements and bugfixes, it includes a fix for a
low-severity vulnerability (CVE-2026-41579) and users are encouraged to
update. As it was a low-severity vulnerability and it was reported by
multiple people, we decided to release it publicly with NO EMBARGO.

We plan to release 1.5.0 in the next two weeks.

Security

This release includes a fix for the following low-severity security issue:

  • CVE-2026-41579 allowed a malicious image with a /dev symlink to have
    limited write access to the host filesystem in ways that our analysis
    indicates was too limited to be problematic in practice. This bug was very
    similar to those fixed in CVE-2025-31133, CVE-2025-52565,
    CVE-2025-31133 and was simply missed at the time when we hardened the
    rootfs preparation code. We have conducted a deeper audit and not found any
    other problematic cases.

libcontainer API

  • The cmsg helpers from github.com/opencontainers/runc/libcontainer/utils
    have been moved to an internal package. We have included wrapper functions
    but they will be removed in runc 1.6. (#5227, #5231)
  • Added //go:fix inline to ease migration for libcontainer/devices symbols
    that are deprecated and scheduled for removal in runc 1.6. (#5223, #5225)

Fixed

Changed

  • When masking directories with maskPaths, runc will now re-use a single
    tmpfs instance (which is not writable) to reduce the number tmpfs
    superblocks that need to be reaped when containers die (in particular,
    Kubernetes applies masks to per-CPU sysfs directories which get expensive
    quickly). (#5275, #5280)

Static Linking Notices

The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.

However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors for making this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

⌂ 换网址