Skip to content

CBL-8735: Pusher UAF in ChangesFeed's DB-change observer - #2527

Merged
jianminzhao merged 2 commits into
release/4.1from
cbl-8735
Aug 20, 2026
Merged

CBL-8735: Pusher UAF in ChangesFeed's DB-change observer#2527
jianminzhao merged 2 commits into
release/4.1from
cbl-8735

Conversation

@jianminzhao

Copy link
Copy Markdown
Contributor

The root cause is that the changes notifier is not timely removed from the SequenceTracker. We remove it whent the status turns to Stoppped.

The removal and the use of the notifier callback are under Collection's lock on the SequenceTracker; the removal has to wait for the callback to complete.

The root cause is that the changes notifier is not timely removed from the SequenceTracker. We remove it whent the status turns to Stoppped.

The removal and the use of the notifier callback are under Collection's lock on the SequenceTracker; the removal has to wait for the callback to complete.
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

This is a release branch and commits are restricted.

Please confirm this PR is one of the following:

  • A response to a customer ask
  • A change per our security policy
  • A non-functional change (e.g. changes needed for building an older version)
  • A bug fix for a x.y.0 release
  • A change that has been granted an exception (please comment)

@cbl-bot

cbl-bot commented Aug 18, 2026

Copy link
Copy Markdown

Code Coverage Results:

Type Percentage
branches 64.41
functions 77.4
instantiations 71.03
lines 75.93
regions 72.15

@jianminzhao
jianminzhao requested a review from pasin August 20, 2026 05:10
@jianminzhao
jianminzhao merged commit b6c7909 into release/4.1 Aug 20, 2026
9 checks passed
@jianminzhao
jianminzhao deleted the cbl-8735 branch August 20, 2026 17:53
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.

3 participants