Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

chrissnow
Copy link

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.
@multiplemonomials multiplemonomials merged commit 2692df3 into mbed-ce:master Oct 17, 2024
52 checks passed
@chrissnow chrissnow deleted the CE_HCI branch October 17, 2024 17:05
@Diff-fusion
Copy link

This PR fixes CVE-2024-48981

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants