HOMEVULNERABILITIESCVE-2026-23319
NONE

CVE-2026-23319

Published: March 25, 2026· Updated: Mar 25, 2026

EPSS:0.02%probability of exploitation in 30 daysPercentile:6.5th

Official Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix a UAF issue in bpf_trampoline_link_cgroup_shim

The root cause of this bug is that when 'bpf_link_put' reduces the

refcount of 'shim_link->link.link' to zero, the resource is considered

released but may still be referenced via 'tr->progs_hlist' in

'cgroup_shim_find'. The actual cleanup of 'tr->progs_hlist' in

'bpf_shim_tramp_link_release' is deferred. During this window, another

process can cause a use-after-free via 'bpf_trampoline_link_cgroup_shim'.

Based on Martin KaFai Lau's suggestions, I have created a simple patch.

To fix this:

Add an atomic non-zero check in 'bpf_trampoline_link_cgroup_shim'.

Only increment the refcount if it is not already zero.

Testing:

I verified the fix by adding a delay in

'bpf_shim_tramp_link_release' to make the bug easier to trigger:

static void bpf_shim_tramp_link_release(struct bpf_link *link)

{

/* ... */

if (!shim_link->trampoline)

return;

+ msleep(100);

WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link,

shim_link->trampoline, NULL));

bpf_trampoline_put(shim_link->trampoline);

}

Before the patch, running a PoC easily reproduced the crash(almost 100%)

with a call trace similar to KaiyanM's report.

After the patch, the bug no longer occurs even after millions of

iterations.

NVD Source

Technical Analysis

CVE-2026-23319 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

Affected Vendors & Products

Mentioned vendors (from description):
Linux
CPE data not yet available in NVD for this CVE.

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

All References (6)

Quick Facts

CVE IDCVE-2026-23319
SeverityNONE
CISA KEVNo
EPSS (30d)0.02%
PublishedMar 25, 2026

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-23319 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.