Vulnerability record · RHEL 10
kernel: bpf: Fix UAF in sock clone early bailouts
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) component, specifically within the socket cloning mechanism. When a new socket is created and its cloning process fails prematurely, the new socket's BPF local storage may incorrectly reference the parent socket's storage. This can lead to a Use-After-Free (UAF) vulnerability, where the parent socket's BPF local storage is deallocated while still in use. An attacker could potentially exploit this to cause a system crash (denial of service) or achieve arbitrary code execution.
6.4/CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability
AV:LAC:HPR:HUI:NScope
S:UImpact
C:HI:HA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources