Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

buffer: prevent cache corruption #7808

Merged
merged 1 commit into from
Jun 30, 2023
Merged

buffer: prevent cache corruption #7808

merged 1 commit into from
Jun 30, 2023

Commits on Jun 15, 2023

  1. buffer: prevent cache corruption

    Recent research discovered a set of potential issues related with
    cache prefetch. Specifically it seems like uncached access to memory
    can cause cache prefetch. This can cause problems in buffer_attach()
    and buffer_detach() where buffers are added to or removed from lists
    respectively via uncached addresses, after which they can be used via
    cached addresses. Add proper cache synchronisation and interrupt
    locking to protect against such memory corruption.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9eb4579 View commit details
    Browse the repository at this point in the history