Skip to main content

In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: Fix race condition in accept_queue lifecycle In… (CVE-2026-98580)

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

Description

A race condition vulnerability in the Linux kernel's NFC LLCP socket handling was resolved. The flaw involved concurrent unlinking and releasing of the same child socket due to improper synchronization between socket release and accept dequeue operations, leading to potential use-after-free or NULL pointer dereference. The fix replaces a bottom-half lock with a process-context lock, defers final resource release to a workqueue to avoid sleeping in atomic context, and adds safeguards to prevent object resurrection and listener hangs. The vulnerability affects the NFC LLCP socket lifecycle and was addressed with multiple synchronization and lifecycle management improvements.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability in the Linux kernel NFC LLCP socket subsystem arises from a race condition between nfc_llcp_socket_release() and nfc_llcp_accept_dequeue() during socket lifecycle management. The original code used bh_lock_sock() in socket release, which does not synchronize with the process-context lock_sock() used during accept dequeue. This allowed concurrent unlinking and releasing of the same child socket, causing use-after-free or NULL pointer dereference in nfc_llcp_accept_unlink(). The fix involves replacing bh_lock_sock() with lock_sock() in socket release, popping sockets under a write lock before locking, deferring final release to a workqueue to avoid sleeping in atomic context, preventing resurrection of local objects, verifying listener socket state after timeout, unlinking unaccepted child sockets properly, and making unlinking idempotent by guarding parent access with NULL checks.

Potential Impact

The race condition could lead to use-after-free or NULL pointer dereference in the NFC LLCP socket handling code, potentially causing kernel crashes or instability. There is no indication of remote code execution or privilege escalation from the provided data. The impact is limited to kernel reliability and stability related to NFC socket operations.

Mitigation Recommendations

A fix is available and has been applied to the Linux kernel source code. Users and administrators should update to the fixed kernel version containing this patch. No additional mitigation steps are indicated or required beyond applying the official fix.

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-f48w-jg7j-gjm2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98580"]

Threat ID: 6ad520ae2cdf04f656993a99

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

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

Last updated: 10/18/2026, 22:48:26 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