CVE-2026-46267
Received Received - Intake
Use-After-Free in Linux Kernel NFC HCI SHDLC

Publication date: 2026-06-03

Last updated on: 2026-06-03

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: nfc: hci: shdlc: Stop timers and work before freeing context llc_shdlc_deinit() purges SHDLC skb queues and frees the llc_shdlc structure while its timers and state machine work may still be active. Timer callbacks can schedule sm_work, and sm_work accesses SHDLC state and the skb queues. If teardown happens in parallel with a queued/running work item, it can lead to UAF and other shutdown races. Stop all SHDLC timers and cancel sm_work synchronously before purging the queues and freeing the context. Found by Linux Verification Center (linuxtesting.org) with SVACE.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-03
Last Modified
2026-06-03
Generated
2026-06-04
AI Q&A
2026-06-03
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's NFC HCI SHDLC component. The issue occurs because timers and work items related to the SHDLC state machine are not properly stopped before the context is freed. Specifically, the function llc_shdlc_deinit() frees the SHDLC structure and purges its queues while timers and state machine work may still be active. This can cause use-after-free (UAF) errors and race conditions during shutdown, as timer callbacks can schedule work that accesses freed memory.

The fix involves stopping all SHDLC timers and synchronously canceling the state machine work before purging the queues and freeing the context, preventing these unsafe accesses.


How can this vulnerability impact me? :

This vulnerability can lead to use-after-free conditions and race conditions in the Linux kernel NFC subsystem. Such issues may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or cause denial of service by exploiting the improper shutdown sequence of the SHDLC context.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability involves timers and work items in the Linux kernel NFC HCI SHDLC driver that may still be active during context freeing, leading to use-after-free and shutdown races.

To mitigate this vulnerability, ensure that all SHDLC timers are stopped and the sm_work is cancelled synchronously before purging the skb queues and freeing the context.

Practically, this means applying the patch or update that stops all SHDLC timers and cancels sm_work before freeing the context, as described in the fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart