drm/vc4: Shut down BO cache timer before teardown
- 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.6.160, 6.12.114, 6.18.42, 7.1.6
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Shut down BO cache timer before teardown The BO cache timer callback schedules time_work, and time_work can rearm the timer through vc4_bo_cache_free_old(). vc4_bo_cache_destroy() deletes the timer and then cancels the work, which does not break that cycle: the work being cancelled can rearm the timer, and the timer then queues work again after teardown. Use timer_shutdown_sync() instead, so the timer cannot be rearmed and the cycle ends with cancel_work_sync().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From c826a6e1064419f78855463cf29ce9e8b9d25bf4 · fixed in cf55c6f1b62a89bf365c48bf731ccf69340e3a16; From c826a6e1064419f78855463cf29ce9e8b9d25bf4 · fixed in e9264ee59bd94970b80b7548f693bccf0d4628da; From c826a6e1064419f78855463cf29ce9e8b9d25bf4 · fixed in a38f2724eb93a78ba250b01e0caf3468df4d3956; From c826a6e1064419f78855463cf29ce9e8b9d25bf4 · fixed in bac4c1a9af690b8635c6924872075c41d8763ed9; From c826a6e1064419f78855463cf29ce9e8b9d25bf4 · fixed in 6273dd3ffb54ec581855b82ae77331b66028249c
- Linux Linux
4.5
- KernelLinux
From 4.5.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6