CVE-2026-46267
JSON

7.8high

nfc: hci: shdlc: Stop timers and work before freeing context

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4a61cd6687fc6348d08724676d34e38160d6cf9b before c60f41022eaad2a1dafecd3ae6f249a3bd6d4b6e, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before a24a676329d40481b2331bfa1418a679577dfd3a, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before 77eef9f2eef045c3c37a3df82d3e661afb866b98, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before cf70cedce327833296ebe6043364d1e44b76a2ab, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before 276820278e9717cc7d4bb32381892dd3ddf418d4, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before 1cb97b1225450af3f7b728777929ba50c6a58ced, from 4a61cd6687fc6348d08724676d34e38160d6cf9b before c9efde1e537baed7648a94022b43836a348a074f, 3.7
Not affected: before 3.7, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.14 up to 6.18.*
CVE List
linux linux_kernelfrom 3.7 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.14, from 6.19 before 6.19.4NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nfc: hci: shdlc: Detener temporizadores y trabajo antes de liberar el contexto llc_shdlc_deinit() purga las colas skb de SHDLC y libera la estructura llc_shdlc mientras sus temporizadores y el trabajo de la máquina de estados aún pueden estar activos. Las devoluciones de llamada del temporizador pueden programar sm_work, y sm_work accede al estado de SHDLC y a las colas skb. Si el desmantelamiento ocurre en paralelo con un elemento de trabajo en cola/en ejecución, puede llevar a UAF y otras condiciones de carrera de apagado. Detener todos los temporizadores SHDLC y cancelar sm_work sincrónicamente antes de purgar las colas y liberar el contexto. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46267 changed 2026-06-03CVE Terms of Use
NVDCVE-2026-46267 changed 2026-07-22Public domain