Skip to content

Fix the vulnerability of mbed-os #15462 issue#374

Merged
multiplemonomials merged 1 commit into
mbed-ce:masterfrom
smartsentry:CE_HCI
Oct 17, 2024
Merged

Fix the vulnerability of mbed-os #15462 issue#374
multiplemonomials merged 1 commit into
mbed-ce:masterfrom
smartsentry:CE_HCI

Conversation

@chrissnow
Copy link
Copy Markdown

Based on
ARMmbed#15474

Summary of changes
Set the stateRx variable to HCI_RX_STATE_IDLE when an invalid HCI packet type is detected, to prevent overflow in the hdrRx buffer.

Impact of changes
Migration actions required
Documentation
Pull request type
[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)
Test results
[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

…ket type is detected, to prevent overflow in the hdrRx buffer.
@Diff-fusion
Copy link
Copy Markdown

This PR fixes CVE-2024-48981

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