Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image signed without security counter does not get erased if anti rollback protection is enabled #2242

Open
Karambite opened this issue Mar 25, 2025 · 1 comment

Comments

@Karambite
Copy link
Contributor

If MCUboot sees an image that is signed without a security counter, it verifies but does not jump to application, which seems correct, but it does not erase the image.

Unless there is a specific reason to keep this image, an image that mcuboot rejects should not remain in flash.

@Karambite Karambite changed the title Image signed with security counter does not get erased if anti rollback protection is enabled Image signed without security counter does not get erased if anti rollback protection is enabled Mar 25, 2025
@nordicjm
Copy link
Collaborator

Does not look valid, since the upgrade slot is erased as per https://github.com/mcu-tools/mcuboot/blob/main/boot/bootutil/src/loader.c#L2387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants