nfc: hci: shdlc: Stop timers and work before freeing context
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1cb97b1225450af3f7b728777929ba50c6a58ced, Kernel 276820278e9717cc7d4bb32381892dd3ddf418d4, Kernel 77eef9f2eef045c3c37a3df82d3e661afb866b98 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.7, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <1cb97b1225450af3f7b728777929ba50c6a58ced, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <276820278e9717cc7d4bb32381892dd3ddf418d4, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <77eef9f2eef045c3c37a3df82d3e661afb866b98, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <a24a676329d40481b2331bfa1418a679577dfd3a, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <c60f41022eaad2a1dafecd3ae6f249a3bd6d4b6e, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <c9efde1e537baed7648a94022b43836a348a074f, >=4a61cd6687fc6348d08724676d34e38160d6cf9b <cf70cedce327833296ebe6043364d1e44b76a2ab | 1cb97b1225450af3f7b728777929ba50c6a58ced, 276820278e9717cc7d4bb32381892dd3ddf418d4, 77eef9f2eef045c3c37a3df82d3e661afb866b98, a24a676329d40481b2331bfa1418a679577dfd3a, c60f41022eaad2a1dafecd3ae6f249a3bd6d4b6e, c9efde1e537baed7648a94022b43836a348a074f, cf70cedce327833296ebe6043364d1e44b76a2ab |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket