CVE-2026-48754
CVE-2026-48754 · Incus: Nil-pointer dereference in createDependentVolumesFromBackup on disk.{Volume,VolumeSnapshots,Pool}
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Incus is a system container and virtual machine manager. Prior to version 7.1.0, `(*backend).createDependentVolumesFromBackup` in `internal/server/storage/backend.go` contains a cluster of unguarded pointer derefs on every dependent-volume entry's `VolumeSnapshots[i]`, `Volume`, and `Pool` sub-fields. An authenticated user with `can_create_instances` permission on any project can crash the `incusd` daemon by uploading an instance backup tarball whose `dependent_volumes[*]` block contains a nil snapshot pointer (or omits `volume:` / `pool:`). This is a sibling-field variant of the 2026-05-04 batch fix `d768f81c0a1d985f35ae56219519822b080bf5e3` ("Properly check dependent volumes on import"). That commit added `if disk == nil` at the top of the outer loop, but did not guard the four sub-pointer fields the loop body dereferences naked. Version 7.1.0 contains an updated patch.
CVSS 2.1 · Low · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
incus
- Versions
- < 7.1.0: Affected
No fix published
incus Debian:14
- Versions
- 6.0.4-2
- 6.0.4-3
- 6.0.5-1
- 6.0.5-2
- 6.0.5-3
- 6.0.5-4
- 6.0.5-5
- 6.0.5-6
- 6.0.5-7
- 6.0.5-8
- 6.0.6-1
- 6.0.6-2
- 6.0.6-3
- 6.14.0-1~exp1
- 6.15.0-1~exp1
- 6.16.0-1~exp1
- 6.17.0-1~exp1
- 6.20.0-1~exp1
- 6.21.0-1~exp1
- 6.22.0-1~exp1
- 6.23.0-1~exp1
- 7.0.0-1
- 7.0.0-1~bpo13+1
- 7.0.0-2~bpo13+1
- Affected ranges
- ECOSYSTEM: < 7.0.0-2
Update to 7.0.0-2
incus Ubuntu:Pro:24.04:LTS
- Versions
- 0.4-1ubuntu1
- 0.5.1-1
- 0.5.1-3
- 0.6-1
- 6.0.0-1
- 6.0.0-1ubuntu0.1
- 6.0.0-1ubuntu0.2
- 6.0.0-1ubuntu0.2+esm1
- 6.0.0-1ubuntu0.3
- 6.0.0-1ubuntu0.3+esm1
- 6.0.0-1ubuntu0.3+esm2
- 6.0.0-1ubuntu0.3+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:25.10
- Versions
- 6.0.3-4
- 6.0.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:26.10
- Versions
- 6.0.5-8
- 7.0.1-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
incus Ubuntu:Pro:26.04:LTS
- Versions
- 6.0.4-2
- 6.0.5-8
- 6.0.5-8ubuntu0.26.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published