CVE Database›Document archive›CVE-2023-53836

CVE-2023-53836

kernel: bpf, sockmap: Fix skb refcnt race after locking changes

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 9, 2025

Updated · August 5, 2026

Description

A use-after-free vulnerability was found in the BPF sockmap implementation in the Linux kernel. A race condition exists between the sk_psock_backlog processing and userspace consumption of socket buffers. When userspace calls recvmsg() and consumes an skb, it can free the buffer via consume_skb() while the backlog worker still holds a reference to it through the ingress_skb queue. This leads to a use-after-free when skb_dequeue() is subsequently called.

Statement

This is a use-after-free vulnerability in the BPF sockmap subsystem that can cause kernel crashes. The vulnerability requires the use of BPF sockmap programs and specific socket configurations.

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

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-911 · Improper Update of Reference Count