Skip to content

Mark Alive shared memory exclusive - #822

Merged
MaciejKaszynski merged 1 commit into
eclipse-score:mainfrom
etas-contrib:shmem_excl
Oct 21, 2026
Merged

MaciejKaszynski merged 1 commit into
eclipse-score:mainfrom
etas-contrib:shmem_excl

Conversation

@NicolasFussberger

Copy link
Copy Markdown
Contributor

There is a theoretical security and FFI issue when tolerating to open a preexisting shared memory which may have been created by something else.

This case should not exist in normal operation as the memory is first unlinked if it already existed.
But still there is a theoretical time period where an attacker could create the shared memory in the time btw. unlinking and shm_open.

shm_open with O_EXCL will fail in this case if the shared memory already exists.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-822: https://eclipse-score.github.io/lifecycle/pr-822/

@MaciejKaszynski
MaciejKaszynski added this pull request to the merge queue Oct 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 21, 2026
@MaciejKaszynski
MaciejKaszynski added this pull request to the merge queue Oct 21, 2026
Merged via the queue into eclipse-score:main with commit c5d8cd1 Oct 21, 2026
28 of 29 checks passed
@MaciejKaszynski
MaciejKaszynski deleted the shmem_excl branch October 21, 2026 13:01
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Oct 21, 2026

This branch was successfully deployed

1 active deployment
workflow-approval — 8cc88a27 Deployed Oct 20, 2026 by NicolasFussberger via Build and test unit-tests-arm64-qnx / approval #1610
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants