Skip to content

Harden wolfTPM client parsing - #631

Merged
dgarske merged 14 commits into
wolfSSL:masterfrom
aidangarske:fenrir-fixes-14016-15863
Oct 15, 2026
Merged

dgarske merged 14 commits into
wolfSSL:masterfrom
aidangarske:fenrir-fixes-14016-15863

Conversation

@aidangarske

Copy link
Copy Markdown
Member

F-14016 - 3742442 - ML-DSA public areas with an empty scheme now parse without reading nonexistent scheme data.

F-14088 - ce4211a - Cryptographic response buffers are now cleared when response processing fails.

F-14089 - a0cb8ff - The command parameter hash is cleared after it is consumed.

F-14222 - dc00ba6 - Encrypted command parameter ranges are now validated before encryption.

F-14223 - f6d0562 - Oversized public areas now set a packet error instead of allowing parsing to continue.

F-14232 - 0713b3c - Temporary data used to hash NV public metadata is now wiped.

F-14440 - c5bb260 - Secret response fields are now cleared when unmarshalling fails.

F-14701 - 2b78957 - Failed keyed-hash commands now clear returned digest data.

F-15701 - cc3eeba - PCR policy update commands now declare and process the required authorization handle.

F-15702 - 485c5ce - GPIO configuration commands now declare and process their authorization handle.

F-15715 - a3c0fbc - Sensitive-area parsing now rejects lengths that exceed the enclosing packet.

F-15729 - d26a776 - Command parameter encryption now applies the decrypt and encrypt session attributes correctly.

F-15840 - 6291966 - Public-key capability parsing now rejects unsupported capability selectors.

F-15863 - 6a4c9a7 - Failed response parsing now clears partially populated output structures.

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fenrir Automated Review — PR #631

Scan targets checked: wolftpm-src, wolftpm-bugs
Coverage: 2 of 3 in-scope changed file(s) opened by the reviewer; not opened: src/tpm2_param_enc.c

Fenrir result: Approved ✅

No new issues found in the changed files.

Advisory only — this automated result does not count as a GitHub approval.

Review tier: Lite

@dgarske
dgarske merged commit 27912af into wolfSSL:master Oct 15, 2026
234 checks passed
@aidangarske
aidangarske deleted the fenrir-fixes-14016-15863 branch October 15, 2026 17:12
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

Successfully merging this pull request may close these issues.

3 participants