Skip to content

crypto/tls: aes-gcm nonce data race #79517

Description

@thatnealpatel

readHandshake calls sendAlertLocked (no lock) from handlePostHandshakeMessage (TLS 1.3).
Concurrent Write goroutine holds c.out.Lock().
Both call writeRecordLocked -> encrypt -> xorNonceAEAD.Seal simultaneously.
Data race on nonce state.

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.FixPendingIssues that have a fix which has not yet been reviewed or submitted.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions