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

security: Backport madvise() for lockedpool sensitive data from 1.21-dev #2673

Merged
merged 2 commits into from
Nov 6, 2021

Conversation

patricklodder
Copy link
Member

Backports f852030 and d831831 to avoid exposure of sensitive data allocated with secure_allocator in core dumps and swap.

Fixes #2672 for both Linux and FreeBSD.

Cherry-pick was clean - no integration issues.

luke-jr and others added 2 commits November 5, 2021 08:26
This is a followup to
23991ee / bitcoin/bitcoin#15600
to also use madvise(2) on FreeBSD to avoid sensitive data allocated
with secure_allocator ending up in core files in addition to preventing
it from going to the swap.
@patricklodder patricklodder added this to the 1.14.5 milestone Nov 5, 2021
@patricklodder patricklodder requested a review from a team November 5, 2021 12:31
@patricklodder patricklodder added this to In progress in 1.14.5 via automation Nov 5, 2021
@patricklodder patricklodder linked an issue Nov 5, 2021 that may be closed by this pull request
Copy link
Contributor

@fdoving fdoving left a comment

Choose a reason for hiding this comment

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

ACK, clean pick from bitcoin.

Copy link
Contributor

@rnicoll rnicoll left a comment

Choose a reason for hiding this comment

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

utACK

1.14.5 automation moved this from In progress to Reviewer approved Nov 6, 2021
@rnicoll rnicoll merged commit 97c98cf into dogecoin:1.14.5-dev Nov 6, 2021
1.14.5 automation moved this from Reviewer approved to Done Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Potential Wallet Address Book Info Leakage
6 participants