tencent cloud

TencentDB for MySQL

DocumentationTencentDB for MySQLKernel FeaturesChecking and Fixing Kernel IssuesThe Out-of-Bounds Access to ha_alter_info->key_info_buffer Causes Instance Crash

The Out-of-Bounds Access to ha_alter_info->key_info_buffer Causes Instance Crash

PDF
Focus Mode
Font Size
Last updated: 2026-03-11 09:45:23

Issue

Concurrent execution of DDL statements and repeated INSERT operations result in out-of-bounds access to ha_alter_info->key_info_buffer, causing an instance Crash.

Issue Triggering Scenarios

Rebuilding tables without primary keys may trigger out-of-bounds access to key_info_buffer when a duplicate row is inserted, causing an instance Crash.

Affected Kernel Versions

MySQL 5.6 versions 20210630 and later.
MySQL 5.7 versions 20211102 and earlier.

Fixed Kernel Version

MySQL 5.7 20240331.

Fixing Methods

1. To upgrade the kernel version to MySQL 5.7 20240331, see Upgrading Kernel Minor Version and Upgrading the database version of MySQL 5.6 for instructions.
2. Alternatively, you can add a primary key to a table without one. For the operation, see The primary and secondary instances have inconsistent query data.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback