Skip to main content

In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: Fix list corruption / refcount desync in nfc_llcp_recv_dm()… (CVE-2026-98581)

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

Description

A vulnerability in the Linux kernel's NFC LLCP socket handling was resolved. The flaw involves improper locking and unlinking of sockets in the nfc_llcp_recv_dm() function, leading to list corruption and reference count desynchronization. This can cause kernel socket objects to leak without being freed, potentially resulting in memory exhaustion and denial of service. The issue affects local unprivileged processes interacting with LLCP sockets and receiving specific DM messages from remote peers. The fix involves proper locking and unlinking of sockets to prevent double reference decrements and list corruption.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:18:20 UTC

Technical Analysis

The Linux kernel NFC LLCP implementation had a flaw in the nfc_llcp_recv_dm() function where sockets in the connecting_sockets list were not properly locked or unlinked when handling DM(NOBOUND)/DM(REJ) messages. This caused the socket state to be set to LLCP_CLOSED while still linked on connecting_sockets, leading to incorrect unlinking under the wrong lock in llcp_sock_release(). Concurrent operations could corrupt the connecting_sockets list and desynchronize socket reference counting, causing kernel socket objects to leak and never be freed. This memory leak can be triggered by an unprivileged local process holding LLCP sockets with DM messages from a remote peer, potentially causing denial of service via memory exhaustion. The fix applies locking and unlinking steps similar to a previous fix for a related issue in nfc_llcp_recv_cc(), ensuring proper socket state transitions and reference management.

Potential Impact

An unprivileged local user can cause kernel socket objects to leak by triggering list corruption and reference count desynchronization in the NFC LLCP socket handling code. This leads to memory exhaustion in the kernel, resulting in a denial of service condition. There is no indication of privilege escalation or remote code execution. The impact is limited to local denial of service via resource exhaustion.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to properly lock and unlink sockets in the nfc_llcp_recv_dm() function, preventing list corruption and reference count desynchronization. Users should update to the fixed kernel version containing this patch. No additional mitigation is required once the fix is applied.

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-h227-88m5-f744
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98581"]

Threat ID: 6ad520ae2cdf04f656993a93

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

Last enriched: 10/18/2026, 21:18:20 UTC

Last updated: 10/18/2026, 23:08:16 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