Skip to content

fw/popups/notifications/window: fix crash due to cross-app free#827

Merged
gmarull merged 1 commit intocoredevices:mainfrom
teslabs:fix-crash-notifications
Feb 13, 2026
Merged

fw/popups/notifications/window: fix crash due to cross-app free#827
gmarull merged 1 commit intocoredevices:mainfrom
teslabs:fix-crash-notifications

Conversation

@gmarull
Copy link
Member

@gmarull gmarull commented Feb 13, 2026

If a notification was received (KernelMain) while viewing a notification from the notifications app, a cross-app free would occur because the prv_do_notification_vibe() call gets the current item from the swap layer (allocated by app), UUID would not match, causing a swap layer reload and so a timeline_item_destroy, freeing app-heap memory.

Fixes FIRM-1322

If a notification was received (KernelMain) while viewing a notification
from the notifications app, a cross-app free would occur because the
prv_do_notification_vibe() call gets the current item from the swap
layer (allocated by app), UUID would not match, causing a swap layer
reload and so a timeline_item_destroy, freeing app-heap memory.

Fixes FIRM-1322

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
@gmarull gmarull requested a review from jplexer February 13, 2026 11:38
@gmarull gmarull merged commit ddcf87c into coredevices:main Feb 13, 2026
30 checks passed
@gmarull gmarull deleted the fix-crash-notifications branch February 13, 2026 13:22
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.

2 participants