Input: byd - synchronize timer deletion before freeing private data
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.185, 6.6.154, 6.12.106, 6.18.46, 7.1.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Input: byd - synchronize timer deletion before freeing private data byd_disconnect() uses timer_delete() before freeing the driver's private data. This does not wait for a running byd_clear_touch() callback, which dereferences the private data and its psmouse pointer. A callback racing with disconnect can therefore access the private data after it has been freed. The timer can also still be re-armed by byd_process_byte() while the disconnect is in progress. Use timer_shutdown_sync() before freeing the private data: it waits for a running callback and turns any later re-arm attempt into a no-op.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.6
- KernelLinux
From 4.6.0 · fixed in 6.1.185; From 6.2.0 · fixed in 6.6.154; From 6.7.0 · fixed in 6.12.106; From 6.13.0 · fixed in 6.18.46; From 6.19.0 · fixed in 7.1.10
References 8
git.kernel.org
- stable/c/fe2785d5513b3254368a1f0831515fc59ab0d40d
- stable/c/b4d74810aad9b29c313b4d7880c84aceb5abe488
- stable/c/84b205297fa15f97510342221d8c9a0119711478
- stable/c/28d984a66b9e14be74986167b6ad40b5e0daf19a
- stable/c/ee944a706a18322b4a2599eebe8040a2994e928f
- stable/c/8dbfd8e32a13e116790780ed0be82b5a05eb9916
- stable/c/2e509ef60ee41a2da0deb062c262bb530143fb37
- stable/c/c83e79c0842ed29860648bcce5022ef0ba5001c6