Skip to main content

In the Linux kernel, the following vulnerability has been resolved: fou: reject omitted FOU_ATTR_IPPROTO on FOU_ENCAP_DIRECT Commit 7a9bc9e3f423… (CVE-2026-98541)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:53 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's fou (foo-over-UDP) module allowed creation of a FOU_ENCAP_DIRECT socket without specifying the required FOU_ATTR_IPPROTO attribute, leading to a memory leak of sk_buff structures when receiving packets. The issue was fixed by rejecting attempts to create such sockets without the protocol attribute, preventing the leak.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:48:43 UTC

Technical Analysis

The Linux kernel fou module's netlink interface accepts an optional attribute FOU_ATTR_IPPROTO. When creating a FOU_ENCAP_DIRECT socket via FOU_CMD_ADD, omitting this attribute caused the kernel to default the protocol to 0. This led to fou_udp_recv() returning 0, which signals the UDP tunnel layer that the packet was consumed without freeing it, resulting in a leak of sk_buff memory buffers. The patch enforces rejection of FOU_ENCAP_DIRECT socket creation when FOU_ATTR_IPPROTO is omitted, returning -EINVAL to prevent the leak. This fix preserves normal operation of other commands like FOU_CMD_DEL and FOU_CMD_GET.

Potential Impact

Exploitation of this vulnerability causes a memory leak in the kernel's network stack, specifically leaking sk_buff structures for each UDP packet received on the affected socket. This can lead to increased kernel memory usage and potential resource exhaustion over time. There is no indication of privilege escalation or remote code execution from the provided data.

Mitigation Recommendations

A patch has been applied to the Linux kernel that rejects creation of FOU_ENCAP_DIRECT sockets without the FOU_ATTR_IPPROTO attribute, returning an error and preventing the memory leak. Users should update to a kernel version that includes this fix. No other mitigation actions are indicated or necessary.

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-rj48-hq74-h6fv
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98541"]

Threat ID: 6ad520af2cdf04f656993ac0

Added to database: 10/18/2026, 19:40:31 UTC

Last enriched: 10/18/2026, 20:48:43 UTC

Last updated: 10/18/2026, 22:08:13 UTC

Views: 2

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