Bug #95055 Buffer overflow after server upgrade
Submitted: 18 Apr 2019 12:37 Modified: 24 Apr 2019 16:42
Reporter: d t Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:8.0.15 OS:CentOS
Assigned to: MySQL Verification Team CPU Architecture:x86

[18 Apr 2019 12:37] d t
Description:
After upgrading the database from version 8.0.13 to 8.0.15, the database server generates buffer overflows as soon client starts using it. The crash log is provided as attachment.

The server is installed from the RPM provided here:

https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

The crash does not reproduce on the debug build. The client that triggers the crash is Percona PMM.

How to repeat:
The issue can be reproduced using Docker containers and data files that I can provide if desired, amounting to approximately 11 MB of data in total.
[18 Apr 2019 12:40] d t
Crash log

Attachment: log.txt (text/plain), 30.19 KiB.

[24 Apr 2019 16:42] MySQL Verification Team
Hi,

I did the upgrade from 8.0.13 to 8.0.15 3 times in a row now with different data in the database and different configs and it worked properly every time.

I notice you are not using Oracle MySQL binaries for client so I guess the issue is with your installation

thanks
Bogdan
[26 Apr 2019 16:43] MySQL Verification Team
I've confirmed the bug exists on 8.0.15 but not on 8.0.16.
Please upgrade to 8.0.16..

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-16.html
Long client host names could cause unexpected server behavior. (Bug #28936359)