Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix sk_redir use-after-free in send verdict sk_psock_msg_verdict()… (CVE-2026-74589)

0
Medium
Published: 08/22/2026 (08/22/2026, 18:30:25 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's BPF sockmap implementation was fixed. The flaw occurs in the sk_psock_msg_verdict() function where a socket reference is mishandled, leading to a potential use-after-free scenario during concurrent sendmsg() calls on the same socket. The issue was detected by KASAN and involves improper reference counting and locking around the sk_redir pointer. The fix involves taking a temporary socket reference while holding the source socket lock to prevent premature freeing.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 23:10:32 UTC

Technical Analysis

The vulnerability in the Linux kernel affects the BPF sockmap code path, specifically in the sk_psock_msg_verdict() function. The function takes a socket reference for psock->sk_redir, but tcp_bpf_send_verdict() copies this pointer without taking a reference before dropping the socket lock. Concurrent sendmsg() calls on the same source socket can cause the cached verdict reference to be released while another thread still uses the raw pointer, leading to a use-after-free condition. KASAN detected this slab-use-after-free during tcp_bpf_sendmsg_redir execution. The patch fixes this by taking a temporary socket reference while the source socket lock protects psock->sk_redir and releasing it only after tcp_bpf_sendmsg_redir returns, ensuring safe concurrent use.

Potential Impact

This vulnerability can lead to a use-after-free condition in the Linux kernel, potentially causing kernel crashes or memory corruption. However, no known exploits in the wild have been reported. The impact is limited to kernel stability and security in environments using BPF sockmap features.

Mitigation Recommendations

A fix has been applied to the Linux kernel to address this use-after-free vulnerability by properly managing socket references and locking. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the specific patched versions and apply them accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-h943-r25q-4c77
Osv Schema Version
1.4.0
Aliases
["CVE-2026-74589"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a8a27f3acd9273b499bc8b2

Added to database: 08/22/2026, 22:51:31 UTC

Last enriched: 08/22/2026, 23:10:32 UTC

Last updated: 08/23/2026, 01:50:19 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses