Skip to content

Security Issues in libmctp #3

@sumbhat90

Description

@sumbhat90

Opening issue to discuss libmctp security related topics.

If MCTP packets are received with End of message (EOM) or start of message (SOM) not set, they get added to context buffer. If context buffer is full , it gets reallocated to 2* its previous size.
This allows peripheral device to DoS BMC by causing large memory resource to be locked.

Security impact: Peripheral MCTP device can generate malformed packets to corrupt BMC memory and overflow heap.

This issue probably can be handled by limiting number of "middle packets" per context buffer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions