Skip to content

Correctly validate block tags in rocqchk demarshaller. - #22408

Open
ppedrot wants to merge 1 commit into
rocq-prover:masterfrom
ppedrot:fix-checker-analyze-block-tag-check
Open

Correctly validate block tags in rocqchk demarshaller.#22408
ppedrot wants to merge 1 commit into
rocq-prover:masterfrom
ppedrot:fix-checker-analyze-block-tag-check

Conversation

@ppedrot

@ppedrot ppedrot commented Aug 26, 2026

Copy link
Copy Markdown
Member

Contrarily to the recommended fix in the report, we rely on the OCaml Obj API that exposes bounds on the valid block tags.

Fixes #22407: rocqchk admits no-scan-tag blocks into validated .vo values.

Contrarily to the recommended fix in the report, we rely on the OCaml
Obj API that exposes bounds on the valid block tags.

Fixes rocq-prover#22407: rocqchk admits no-scan-tag blocks into validated .vo values.
@ppedrot ppedrot added this to the 9.2.1 milestone Aug 26, 2026
@ppedrot
ppedrot requested a review from a team as a code owner August 26, 2026 15:04
@ppedrot ppedrot added kind: fix This fixes a bug or incorrect documentation. request: full CI Use this label when you want your next push to trigger a full CI. labels Aug 26, 2026
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Aug 26, 2026
@ppedrot

ppedrot commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

I don't think this deserves a critical entry, handcrafted vo files are in my opinion outside of our attacker model.

@JasonGross

Copy link
Copy Markdown
Member

I don't think this deserves a critical entry, handcrafted vo files are in my opinion outside of our attacker model.

I think we should consider hand-crafted .vo files as part of the attacker model for rocqchk but not rocqc. Or else we should have a rocqchk safe variant that is supposed to be robust against hand-crafted .vo files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: fix This fixes a bug or incorrect documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rocqchk admits no-scan-tag blocks into validated .vo values, causing a GC-invisible use-after-free and type confusion in the standalone verifier

2 participants