Skip to content

Conversation

@ydbot
Copy link
Collaborator

@ydbot ydbot commented Dec 6, 2025

Changelog entry

heap-use-after-free in a PQ tablet: Issue #30258

The BeginDeletePartitions method uses a value that can previously be deleted in TryDeleteWriteId.

Changelog category

  • Bugfix

Description for reviewers

Original PR(s)

Metadata

Git Cherry-Pick Log

=== Cherry-picking 25029c1 ===
Auto-merging ydb/core/persqueue/pqtablet/pq_impl.cpp
[cherry-pick-stable-25-3-251206-135057 59873950832] heap-use-after-free in a PQ tablet (#30257)
 Author: Alek5andr-Kotov <akotov@ydb.tech>
 Date: Sat Dec 6 14:23:11 2025 +0300
 1 file changed, 2 insertions(+), 1 deletion(-)

PR was created by cherry-pick workflow run

@ydbot ydbot requested a review from a team as a code owner December 6, 2025 13:51
@ydbot ydbot enabled auto-merge December 6, 2025 13:51
@github-actions
Copy link

github-actions bot commented Dec 6, 2025

🟢 2025-12-06 13:54:26 UTC The validation of the Pull Request description is successful.

@github-actions
Copy link

github-actions bot commented Dec 6, 2025

2025-12-06 13:54:38 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0375fa2 has started.
2025-12-06 13:54:56 UTC Artifacts will be uploaded here
2025-12-06 13:58:23 UTC ya make is running...
🟡 2025-12-06 15:19:00 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31140 29819 0 9 1293 19

2025-12-06 15:21:25 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-12-06 15:35:23 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
991 (only retried tests) 978 0 0 0 13

🟢 2025-12-06 15:35:33 UTC Build successful.
🟢 2025-12-06 15:35:47 UTC ydbd size 2.3 GiB changed* by -64 Bytes, which is <= 0 Bytes vs stable-25-3: OK

ydbd size dash stable-25-3: 22845bd merge: 0375fa2 diff diff %
ydbd size 2 443 670 080 Bytes 2 443 670 016 Bytes -64 Bytes -0.000%
ydbd stripped size 522 989 480 Bytes 522 989 416 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 6, 2025

2025-12-06 13:55:01 UTC Pre-commit check linux-x86_64-release-asan for 0375fa2 has started.
2025-12-06 13:55:17 UTC Artifacts will be uploaded here
2025-12-06 13:58:49 UTC ya make is running...
🟡 2025-12-06 16:04:01 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15628 15160 0 175 270 23

🟢 2025-12-06 16:05:15 UTC Build successful.
🟢 2025-12-06 16:05:46 UTC ydbd size 3.8 GiB changed* by -256 Bytes, which is <= 0 Bytes vs stable-25-3: OK

ydbd size dash stable-25-3: 22845bd merge: 0375fa2 diff diff %
ydbd size 4 067 113 544 Bytes 4 067 113 288 Bytes -256 Bytes -0.000%
ydbd stripped size 1 515 153 760 Bytes 1 515 153 632 Bytes -128 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@ydbot ydbot merged commit 75d68ee into stable-25-3 Dec 6, 2025
12 checks passed
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.

4 participants