On Linux, the call to System.Net.Socket.Poll(0, SelectMode.SelectError) returns true for some cases when consumed in SqlClient.
If the SqlClient ignores the Socket poll result and continues to use the socket, there is no problem reading from the socket.
Based on the investigation @pgavlin figured out that this is a bug with linux Native implementation for Poll.
On Linux, the call to System.Net.Socket.Poll(0, SelectMode.SelectError) returns true for some cases when consumed in SqlClient.
If the SqlClient ignores the Socket poll result and continues to use the socket, there is no problem reading from the socket.
Based on the investigation @pgavlin figured out that this is a bug with linux Native implementation for Poll.