Issue Information
| Issue Number | 701053c |
| Issue | A use-after-free (UAF) occurs when accessing memory areas released during the process of cleaning up buffer cache removed bh. Depending on timing, an Internal Error may occur. |
| Cause | After cleaning the SO for the removed bh, the buffer handle SO must be cleaned, but the order of SO cleanup may be reversed. |
| Solutions | When an error occurs for some reason during CR build, the process was modified to immediately clean up the CR bh while holding the buffer cache hash bucket lock after releasing the buffer pin. Even if the buffer pin is released, as long as the bucket lock is not released, the target bh will not be reused by another session, so the process from buffer pin release to CR bh cleanup can be performed atomically. |
| Occurrence Date | August 3, 2026 |
| Versions Requiring Patch | 6FS07PS 7FS02PS |
Patch Information
| Patch Name | FS02PS_701053c |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Issue Resolution for Breaking Buffer Cache Hash Bucket Chain |
| Release Date | August 6, 2026 |
| Compatibility | โข TAC rolling patch: Supported โข TSC rolling patch: Supported โข Backup data compatibility: Supported โข Protocol compatibility: Supported โข Data format compatibility: Supported |
| AP Impact | โข Plan change: No โข Result value change: No โข SQL syntax change: No โข System object change: No โข Existing feature change: No |
| Parameters | - |
| Workaround | - |