← Back to Pull requests

build(deps): Bump github.com/opencontainers/runc from 1.5.1 to 1.5.2 #2166

Closed
unknown closed this pull request without merging on Oct 27, 2026 00:57 UTC
View on GitHub
unknown unknown commented on Oct 25, 2026 05:41 UTC
Author

Bumps github.com/opencontainers/runc from 1.5.1 to 1.5.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/opencontainers/runc/releases">github.com/opencontainers/runc's releases</a>.</em></p>
<blockquote>
<h2>runc v1.5.2 -- &quot;Всё сбудется, стоит только расхотеть!&quot;</h2>
<p>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.</p>
<h3>Fixed</h3>
<ul>
<li><code>runc exec -p</code> with a process.json lacking <code>env</code> now sets <code>HOME</code> again
(a regression in runc 1.3.0). (<a href="https://redirect.github.com/opencontainers/runc/issues/5265">#5265</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5266">#5266</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5459">#5459</a>)</li>
<li>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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li><code>runc exec --cgroup</code> (and the equivalent libcontainer <code>Process.SubCgroupPaths</code>
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
<code>--cgroup</code> requires the same privileges as running <code>runc exec</code> itself, so
this is a correctness rather than a security fix. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5457">#5457</a>)</li>
<li>Fixed a missing <code>O_CLOEXEC</code> when opening the cgroup v2 directory to set up
device rules. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li>Some long-standing file-descriptor leaks on the eBPF devices cgroups were
fixed. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li>When <code>rootfsPropagation</code> is set to <code>rslave</code>, 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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5192">#5192</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5200">#5200</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5458">#5458</a>)</li>
<li>runc no longer misdetects a non-initial user namespace as the initial one
when that namespace has a full identity ID mapping (<code>0 0 4294967295</code>), as
used by systemd &gt;= 260 units with <code>PrivateUsers=full</code>. Previously this made
runc skip its user namespace code paths, so starting a container in such a
unit failed with <code>bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted</code>.
(<a href="https://redirect.github.com/opencontainers/runc/issues/5396">#5396</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5411">#5411</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5451">#5451</a>, <a href="https://redirect.github.com/moby/sys/issues/239">moby/sys#239</a>)</li>
<li>Fixed a <code>runc init</code> 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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5438">#5438</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5439">#5439</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5442">#5442</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5448">#5448</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5449">#5449</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5467">#5467</a>,
<a href="https://redirect.github.com/opencontainers/runc/issues/5469">#5469</a>)</li>
<li>Fixed various issues when the libseccomp version runc is run with differs
from the one it was compiled against (e.g. built with libseccomp &gt;= 2.6.0 and
run with an older one), by updating to libseccomp-golang v0.12.0. This also
supersedes the <code>SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV</code> workaround added in
runc 1.5.1. (<a href="https://redirect.github.com/opencontainers/runc/issues/5436">#5436</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5461">#5461</a>)</li>
<li>The libseccomp library statically linked into release binaries is now built
with optimizations enabled (the default <code>-g -O2</code> <code>CFLAGS</code>); previously it was
built unoptimized. (<a href="https://redirect.github.com/opencontainers/runc/issues/5464">#5464</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5465">#5465</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/opencontainers/runc/blob/main/CHANGELOG.md">github.com/opencontainers/runc's changelog</a>.</em></p>
<blockquote>
<h2>[1.5.2] - 2026-09-25</h2>
<blockquote>
<p>Всё сбудется, стоит только расхотеть!</p>
</blockquote>
<h3>Fixed</h3>
<ul>
<li><code>runc exec -p</code> with a process.json lacking <code>env</code> now sets <code>HOME</code> again
(a regression in runc 1.3.0). (<a href="https://redirect.github.com/opencontainers/runc/issues/5265">#5265</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5266">#5266</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5459">#5459</a>)</li>
<li>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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li><code>runc exec --cgroup</code> (and the equivalent libcontainer <code>Process.SubCgroupPaths</code>
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
<code>--cgroup</code> requires the same privileges as running <code>runc exec</code> itself, so
this is a correctness rather than a security fix. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5457">#5457</a>)</li>
<li>Fixed a missing <code>O_CLOEXEC</code> when opening the cgroup v2 directory to set up
device rules. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li>Some long-standing file-descriptor leaks on the eBPF devices cgroups were
fixed. (<a href="https://redirect.github.com/opencontainers/runc/issues/5403">#5403</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5428">#5428</a>)</li>
<li>When <code>rootfsPropagation</code> is set to <code>rslave</code>, 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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5192">#5192</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5200">#5200</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5458">#5458</a>)</li>
<li>runc no longer misdetects a non-initial user namespace as the initial one
when that namespace has a full identity ID mapping (<code>0 0 4294967295</code>), as
used by systemd &gt;= 260 units with <code>PrivateUsers=full</code>. Previously this made
runc skip its user namespace code paths, so starting a container in such a
unit failed with <code>bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted</code>. (<a href="https://redirect.github.com/opencontainers/runc/issues/5396">#5396</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5411">#5411</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5451">#5451</a>, <a href="https://redirect.github.com/moby/sys/issues/239">moby/sys#239</a>)</li>
<li>Fixed a <code>runc init</code> 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. (<a href="https://redirect.github.com/opencontainers/runc/issues/5438">#5438</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5439">#5439</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5442">#5442</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5448">#5448</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5449">#5449</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5467">#5467</a>,
<a href="https://redirect.github.com/opencontainers/runc/issues/5469">#5469</a>)</li>
<li>Fixed various issues when the libseccomp version runc is run with differs
from the one it was compiled against (e.g. built with libseccomp &gt;= 2.6.0 and
run with an older one), by updating to libseccomp-golang v0.12.0. This also
supersedes the <code>SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV</code> workaround added in
runc 1.5.1. (<a href="https://redirect.github.com/opencontainers/runc/issues/5436">#5436</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5461">#5461</a>)</li>
<li>The libseccomp library statically linked into release binaries is now built
with optimizations enabled (the default <code>-g -O2</code> <code>CFLAGS</code>); previously it was
built unoptimized. (<a href="https://redirect.github.com/opencontainers/runc/issues/5464">#5464</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/5465">#5465</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Switched to opencontainers/cgroups v0.1.0, which no longer uses the</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/opencontainers/runc/commit/29dd3dc2b13b4123162e5fe132504bb4b15569f1"><code>29dd3dc</code></a> VERSION: release v1.5.2</li>
<li><a href="https://github.com/opencontainers/runc/commit/59e1324d8603ec22a7eb4a6d7775ac94664ba274"><code>59e1324</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/5490">#5490</a> from kolyshkin/1.5-5487</li>
<li><a href="https://github.com/opencontainers/runc/commit/7bb23c50869702a6c50175a6d66f760fb6e2e173"><code>7bb23c5</code></a> CHANGELOG: Mention eBPF fd leaks are fixed now</li>
<li><a href="https://github.com/opencontainers/runc/commit/d55c39d0d28b08a992e35e575ba61ada5a5831b2"><code>d55c39d</code></a> libct: Don't exclude BPF fds from leaks</li>
<li><a href="https://github.com/opencontainers/runc/commit/f6851541f1a927e9cd81d03f92dde197cea5be10"><code>f685154</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/5465">#5465</a> from kolyshkin/1.5-5464</li>
<li><a href="https://github.com/opencontainers/runc/commit/80cc7995172409cb47d521dbb21eaa995abd0abc"><code>80cc799</code></a> script: do not modify CFLAGS in set_cross_vars</li>
<li><a href="https://github.com/opencontainers/runc/commit/6dd495967397f3cac905737ea45526fb751ff687"><code>6dd4959</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/5458">#5458</a> from kolyshkin/1.5-5200</li>
<li><a href="https://github.com/opencontainers/runc/commit/ec3b6928cf355f9605a4b3e86f36ffa9fc686f04"><code>ec3b692</code></a> fix(libcontainer): bats test for rootfs propagation</li>
<li><a href="https://github.com/opencontainers/runc/commit/2bf8dc58fed74bc466f46dd24f7404bf362ef69a"><code>2bf8dc5</code></a> fix(libcontainer): preserve rootfs slave propagation</li>
<li><a href="https://github.com/opencontainers/runc/commit/a76b3b70d4378adaee74c19786a7940195e2f7b1"><code>a76b3b7</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/5457">#5457</a> from kolyshkin/1.5-5403</li>
<li>Additional commits viewable in <a href="https://github.com/opencontainers/runc/compare/v1.5.1...v1.5.2">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: cdesiniotis Review duration: 2596m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2166"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%