I have two entries in the Favorites list that were added through the VeraCrypt GUI:
- Partition (password and PIM):
/dev/nvme0n1pX -> /media/docs
- File container (password only):
/media/docs/foo/bar/container -> /media/container
When I run veracrypt --auto-mount=favorites, VeraCrypt 1.26.29 mounts the first favorite volume successfully, but then hangs, consumes 100% of one CPU core, and never prompts for the credentials of the second favorite volume.
Both volumes can be mounted manually without any issues using the GUI. The problem only occurs when using veracrypt --auto-mount=favorites.
The same setup works correctly with VeraCrypt 1.26.24. The issue only appears after upgrading to version 1.26.29.
Expected behavior
Running the following command:
veracrypt --auto-mount=favorites
should automatically mount all volumes stored in Favorites.
Since my two favorite volumes use different passwords (and PIM), VeraCrypt should:
- Prompt for the password and PIM of the first volume.
- Mount the first volume.
- Prompt for the password of the second volume.
- Mount the second volume.
Observed behavior
When I run:
veracrypt --auto-mount=favorites
- VeraCrypt prompts for the password and PIM of the first volume.
- After entering the correct credentials, the first volume is mounted successfully.
- After that, VeraCrypt starts consuming 100% of one CPU core and approximately 1 GiB of RAM. The resource usage does not stop even after waiting for an extended period of time, and the second favorite volume is never mounted.
The only way to stop the process is to terminate it manually using kill. After killing the process, VeraCrypt displays an error message (see screenshot below).
My suspicion is that VeraCrypt may be repeatedly trying to unlock the second favorite volume using the password/PIM entered for the first volume instead of prompting for a new password. Another possibility is that VeraCrypt is hitting a race condition. But these are just my assumptions.
Steps to reproduce
- Add two encrypted volumes to the Favorites list using GUI.
- Run
veracrypt --auto-mount=favorites
- Enter the correct password and PIM for the first favorite volume.
- The first volume is mounted successfully.
- VeraCrypt never prompts for the credentials of the second favorite volume.
Instead, VeraCrypt starts consuming one CPU core at 100% and around 1 GiB of RAM indefinitely, while the second volume is never mounted.
- Terminate the process using
kill.
- VeraCrypt displays an error message (see screenshot).
Screenshots
Resource consumption after mounting the first volume:

The error message after terminating the VeraCrypt process with kill:

Your Environment
VeraCrypt version: 1.26.29
GitHub release file: veracrypt-1.26.29-Fedora-44-x86_64.rpm
Operating system and version:
- Fedora Linux 44 (KDE Plasma Desktop Edition): stable release and the latest updates
- Kernel: 7.1.3-200.fc44.x86_64
System type: x86_64
I have two entries in the Favorites list that were added through the VeraCrypt GUI:
/dev/nvme0n1pX -> /media/docs/media/docs/foo/bar/container -> /media/containerWhen I run
veracrypt --auto-mount=favorites, VeraCrypt 1.26.29 mounts the first favorite volume successfully, but then hangs, consumes 100% of one CPU core, and never prompts for the credentials of the second favorite volume.Both volumes can be mounted manually without any issues using the GUI. The problem only occurs when using
veracrypt --auto-mount=favorites.The same setup works correctly with VeraCrypt 1.26.24. The issue only appears after upgrading to version 1.26.29.
Expected behavior
Running the following command:
should automatically mount all volumes stored in Favorites.
Since my two favorite volumes use different passwords (and PIM), VeraCrypt should:
Observed behavior
When I run:
The only way to stop the process is to terminate it manually using
kill. After killing the process, VeraCrypt displays an error message (see screenshot below).My suspicion is that VeraCrypt may be repeatedly trying to unlock the second favorite volume using the password/PIM entered for the first volume instead of prompting for a new password. Another possibility is that VeraCrypt is hitting a race condition. But these are just my assumptions.
Steps to reproduce
veracrypt --auto-mount=favoritesInstead, VeraCrypt starts consuming one CPU core at 100% and around 1 GiB of RAM indefinitely, while the second volume is never mounted.
kill.Screenshots
Resource consumption after mounting the first volume:

The error message after terminating the VeraCrypt process with

kill:Your Environment
VeraCrypt version: 1.26.29
GitHub release file: veracrypt-1.26.29-Fedora-44-x86_64.rpm
Operating system and version:
System type: x86_64