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.
Published: 2026-06-03
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is a race condition in the NFC HCI SHDLC part of the Linux kernel. During deinitialization, the llc_shdlc structure is freed while its timers and state‑machine work are still active. Timer callbacks may schedule sm_work, which accesses the SHDLC state and packet queues. If teardown occurs concurrently with queued or running work, the freed object can be accessed again, leading to a use‑after‑free and potentially corrupting kernel memory or triggering a crash.

Affected Systems

Any Linux kernel that loads the llc_shdlc (NFC HCI SHDLC) driver is affected. The issue exists in configurations that include this driver, regardless of the exact kernel version, as long as the unpatched code is present.

Risk and Exploitability

EPSS score is <1% and the vulnerability is not listed in CISA KEV. The CVSS score is 7.8. Kernel‑space use‑after‑free errors are high severity, and exploitation requires certain conditions. The likely attack vector requires local privileged access or a scenario where an attacker can trigger module teardown while work items are pending. If exploited, it can lead to denial of service or arbitrary code execution in kernel mode.

Generated by OpenCVE AI on June 9, 2026 at 22:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit that stops timers and cancels work before freeing the SHDLC context
  • If an upgrade cannot be performed immediately, unload or disable the llc_shdlc module to prevent the race condition
  • Continuously monitor dmesg and system logs for SHDLC‑related errors to detect any remaining activity

Generated by OpenCVE AI on June 9, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 04 Jun 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-636

Thu, 04 Jun 2026 00:15:00 +0000


Wed, 03 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-636

Wed, 03 Jun 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title nfc: hci: shdlc: Stop timers and work before freeing context
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-03T15:50:09.035Z

Reserved: 2026-05-13T15:03:33.108Z

Link: CVE-2026-46267

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-03T18:16:28.320

Modified: 2026-06-09T19:48:21.260

Link: CVE-2026-46267

cve-icon Redhat

Severity :

Publid Date: 2026-06-03T00:00:00Z

Links: CVE-2026-46267 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T22:30:14Z

Weaknesses