Skip to content

Conversation

@nvlsianpu
Copy link
Contributor

The firmware loader shall not be allowed to modify its own partition. It was caught that it could erase itself.

This patch mitigates the issue by removal of the slot1_partition mapping (it belongs to the firmware loader). MCUmgr couldn't erase the partition as it is not mapped anymore.

ref.: NCSDK-36684

The firmware loader shall not be allowed to modify its own partition.
It was caught that it could erase itself.

This patch mitigates the issue by removal of the slot1_partition
mapping (it belongs to the firmware loader). MCUmgr couldn't erase
the partition as it is not mapped anymore.

ref.: NCSDK-36684

Signed-off-by: Andrzej Puzdrowski <[email protected]>
@nvlsianpu nvlsianpu requested a review from a team as a code owner December 5, 2025 16:44
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 5, 2025
@nvlsianpu nvlsianpu added the bug Something isn't working label Dec 5, 2025
@nvlsianpu nvlsianpu added this to the v1.0.0 milestone Dec 5, 2025
@nvlsianpu nvlsianpu requested review from a team, kszromek-nordic and michalek-no December 5, 2025 16:45
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

You can find the documentation preview for this PR here.

@eivindj-nordic
Copy link
Contributor

@nvlsianpu Please rebase on latest main to get the DFU test updates.

@nvlsianpu nvlsianpu added the DNM Do not merge label Dec 8, 2025
@nvlsianpu nvlsianpu changed the title subsys: storage: flash_map: Preserve firmware loader from himself [DNM] subsys: storage: flash_map: Preserve firmware loader from himself Dec 8, 2025
@eivindj-nordic
Copy link
Contributor

Replaced by #556

@eivindj-nordic eivindj-nordic removed this from the v1.0.0 milestone Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM Do not merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants