PT-2025-41089 · Linux+2 · Linux Kernel+2

Published

2024-04-30

·

Updated

2025-11-28

·

CVE-2023-53645

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.3.0-rc7-02231-g723de1a718a2
Description A flaw exists in the Linux kernel's BPF (Berkeley Packet Filter) subsystem related to reference counting. Specifically, the bpf refcount acquire function incorrectly assumed it could always succeed when called on non-owning references. This assumption was broken by earlier patches that introduced failure behavior to rbtree add and list push {front, back}. The issue could lead to a use-after-free condition, potentially resulting in kernel warnings or crashes. The patch resolves this by making bpf refcount acquire fallible for non-owning references, using refcount inc not zero instead of refcount inc, and marking bpf refcount acquire as potentially returning NULL. Additional bookkeeping was added to track whether a reference is an owning reference to ensure correct behavior.
Recommendations Update to a version later than 6.3.0-rc7-02231-g723de1a718a2.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

ALSA-2025_16880
CVE-2023-53645
RHSA-2024:2394
RHSA-2024_2394
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4301-1

Affected Products

Linux Kernel
Red Hat
Suse