CVE Database›Document archive›CVE-2026-98300

CVE-2026-98300

kernel: tcp: Don't call skb_clone_and_charge_r() for close()d listener in tcp_v6_do_rcv()

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · October 6, 2026

Updated · October 15, 2026

Description

A flaw was found in the Linux kernel. A race condition in the Transmission Control Protocol (TCP) IPv6 implementation occurs when an incoming network packet is processed concurrently while a listening socket is being closed. An attacker could exploit this timing window to cause improper memory accounting, potentially resulting in a kernel crash and a Denial of Service (DoS).

Statement

A race between IPv6 TCP packet processing and close of a listening socket can change the socket state from TCP_LISTEN to TCP_CLOSE before tcp_v6_do_rcv checks it. This may cause skb_clone_and_charge_r to run without the expected socket locking and leave sk_forward_alloc accounting inconsistent, which is detected as a warning during inet_sock_destruct. Reliable triggering requires an incoming IPv6 TCP packet, enabled receive option processing, control over a listening socket, and a narrow timing window around close. For the CVSS the PR:L reflects that a local user or process normally needs to create and close the listener even though network traffic contributes to the race. The issue is not treated as independently remotely exploitable because a remote sender cannot normally control the required local close operation. The demonstrated impact is limited availability degradation and a kernel warning. A host crash is plausible mainly on systems configured with panic_on_warn, while no UAF, OOB access, information leak, or write primitive is established.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-366 · Race Condition within a Thread