Issue Information
| Issue Number | 701790a |
| Issue | In a POWER CPU environment, the beginning of memory is overwritten with zeros after a shared pool chunk is freed. This behavior can cause various problems depending on the state of the chunk at the time it is overwritten. If the chunk is in a free state, management metadata or the redzone area may be corrupted, potentially leading to serious errors such as infinite session loops or system shutdowns. |
| Cause | While processing the deallocation request queue in the memory allocator, the characteristics of the memory model on certain CPU architectures could cause the registration of the deallocation request and the actual memory deallocation to be applied in an order different from what was expected. As a result, initialization of a memory region that had already been freed or reallocated for another purpose could be applied after a delay, causing invalid data (UAF) when the memory region was accessed. |
| Solutions | A memory barrier was added to prevent CPU timing issues. |
| Occurrence Date | 26.11.05. |
| Required Patch Version | 6FS07PS 7FS02PS |
Patch Information
| Patch Name | FS02PS_701790a |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Issue where a shared pool chunk may become corrupted when freed on POWER CPUs |
| Available for Deployment | 26.11.27. |
| Platform | IBM-PPC, Linux-PPC, Linux-PPC (le) |
| Compatibility | • TAC rolling patch: Yes • TSC rolling patch: Yes • Backup data compatibility: Yes • Protocol compatibility: Yes • Data format compatibility: Yes |
| AP Impact | • Plan change: No • Result value change: No • SQL syntax change: No • System object change: No • Existing functionality change: No |
| Parameter | - |
| Workaround | - |