Skip to content

[release-25.11] incus-lts: mark knownVulnerabilities - #527134

Merged
adamcstephens merged 1 commit into
NixOS:release-25.11from
adamcstephens:push-vzpsyornplzz
Jun 2, 2026
Merged

adamcstephens merged 1 commit into
NixOS:release-25.11from
adamcstephens:push-vzpsyornplzz

Conversation

@adamcstephens

@adamcstephens adamcstephens commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Upstream has yet to make progress on patching this release. LTS version 7 is now available in unstable/26.05 and 25.11 (as incus).

Closes: #518342
Closes: #518014
Closes: #518012
Closes: #518009
Closes: #517666
Closes: #517664
Closes: #517660

Things done

nixpkgs-commit-check[bot]

This comment was marked as resolved.

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Jun 2, 2026
nixpkgs-commit-check[bot]

This comment was marked as resolved.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team June 2, 2026 13:49
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 4.workflow: backport This targets a stable branch labels Jun 2, 2026

@herbetom herbetom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add an actionable recommendation to the List?

Something like "The incus-lts v6 Release contains as of yet unpatched vulnerabilities. Consider switching to either the incus package or upgrading to NixOS 26.05."

Upstream has yet to make progress on patching this release.
LTS version 7 is now available in unstable/26.05 and 25.11 (as `incus`).
nixpkgs-commit-check[bot]

This comment was marked as resolved.

@herbetom

herbetom commented Jun 2, 2026

Copy link
Copy Markdown
Member

Thanks a lot for taking care of this!

This now looks like quite an sensible and actionable Error:


       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Package ‘incus-lts-6.0.6-unstable-2026-03-27’ in /home/tom/git/NixOS/nixpkgs/pkgs/by-name/in/incus/generic.nix:209 is marked as insecure, refusing to evaluate.


       Known issues:
        - CVE-2026-35527 (Moderate)
        - CVE-2026-40195 (Moderate)
        - CVE-2026-40197 (Moderate)
        - CVE-2026-40251 (Moderate)
        - CVE-2026-41647 (Moderate)
        - CVE-2026-41684 (Moderate)
        - CVE-2026-41685 (Moderate)
        - CVE-2026-40243 (Low)
        - CVE-2026-41648 (Low)
        - incus-lts v6 is no longer supported in nixpkgs given the unpatched security vulnerabilities.
       Please upgrade to NixOS 26.05 which includes incus-lts v7 or switch to the incus package.


       You can install it anyway by allowing this package, using the
       following methods:

       a) To temporarily allow all insecure packages, you can use an environment
          variable for a single invocation of the nix tools:

            $ export NIXPKGS_ALLOW_INSECURE=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) for `nixos-rebuild` you can add ‘incus-lts-6.0.6-unstable-2026-03-27’ to
          `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
          like so:

            {
              nixpkgs.config.permittedInsecurePackages = [
                "incus-lts-6.0.6-unstable-2026-03-27"
              ];
            }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
          ‘incus-lts-6.0.6-unstable-2026-03-27’ to `permittedInsecurePackages` in
          ~/.config/nixpkgs/config.nix, like so:

            {
              permittedInsecurePackages = [
                "incus-lts-6.0.6-unstable-2026-03-27"
              ];
            }

Hoewer, as i noticed this break both the nixosTest.incus-lts as well as the nixosTest.incus. Not quite sure why that's the case yet. I don't think the packaging is the cause here. Might just be the test?
Otherwise this looks good and as long as this only breaks the test i'm in favour of merging this.

@adamcstephens

Copy link
Copy Markdown
Contributor Author

Yeah, it appears to just be the tests (and only the VM tests at that). Fixed in #527223 but won't backport to 25.11

@adamcstephens
adamcstephens added this pull request to the merge queue Jun 2, 2026
Merged via the queue into NixOS:release-25.11 with commit 93bfd38 Jun 2, 2026
26 checks passed
@adamcstephens
adamcstephens deleted the push-vzpsyornplzz branch June 2, 2026 17:42
@adamcstephens

Copy link
Copy Markdown
Contributor Author

Actually, this breaks the images too. I tried to remove it from the merge queue, but stupid fucking github refused to honor multiple requests.

@adamcstephens

Copy link
Copy Markdown
Contributor Author

#527231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 4.workflow: backport This targets a stable branch 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants