GHSA-C47F-VGX9-7FP2
Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30In the Linux kernel, the following vulnerability has been resolved:
media: s5p-mfc: use timer_shutdown_sync() for the self-rearming watchdog
The MFC watchdog timer (s5p_mfc_watchdog) is self-rearming: every callback re-arms itself with add_timer() and, on a timeout, schedules watchdog_work. s5p_mfc_remove() tears this down with timer_delete_sync() followed by flush_work().
timer_delete_sync() dequeues the timer and waits for a callback that is already running, but it does not prevent a subsequent re-arm. Because the watchdog callback re-arms via add_timer(), this is the wrong shutdown primitive: once the wait returns nothing guarantees a just-queued re-arm will not fire later, dereferencing dev (clock on/off, deinit_hw, load_firmware, init_hw) after video_unregister_device(), DMA teardown and s5p_mfc_final_pm() have run, a potential use-after-free.
Use timer_shutdown_sync(), which puts the timer into a shutdown state so that any add_timer()/mod_timer() from the callback becomes a no-op and no later firing is possible. Switch flush_work() to cancel_work_sync() so any watchdog_work that was already queued before the timer was stopped is cancelled rather than allowed to run to completion against the torn-down device.
This issue was found by an in-house static analysis tool. No runtime reproducer is available.
{
"affected": [],
"aliases": [
"CVE-2026-142797"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-12-03T04:18:13Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: s5p-mfc: use timer_shutdown_sync() for the self-rearming watchdog\n\nThe MFC watchdog timer (s5p_mfc_watchdog) is self-rearming: every\ncallback re-arms itself with add_timer() and, on a timeout, schedules\nwatchdog_work. s5p_mfc_remove() tears this down with timer_delete_sync()\nfollowed by flush_work().\n\ntimer_delete_sync() dequeues the timer and waits for a callback that is\nalready running, but it does not prevent a subsequent re-arm. Because the\nwatchdog callback re-arms via add_timer(), this is the wrong shutdown\nprimitive: once the wait returns nothing guarantees a just-queued re-arm\nwill not fire later, dereferencing dev (clock on/off, deinit_hw,\nload_firmware, init_hw) after video_unregister_device(), DMA teardown and\ns5p_mfc_final_pm() have run, a potential use-after-free.\n\nUse timer_shutdown_sync(), which puts the timer into a shutdown state so\nthat any add_timer()/mod_timer() from the callback becomes a no-op and no\nlater firing is possible. Switch flush_work() to cancel_work_sync() so any\nwatchdog_work that was already queued before the timer was stopped is\ncancelled rather than allowed to run to completion against the torn-down\ndevice.\n\nThis issue was found by an in-house static analysis tool. No runtime\nreproducer is available.",
"id": "GHSA-c47f-vgx9-7fp2",
"modified": "2026-12-03T06:30:34Z",
"published": "2026-12-03T06:30:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142797"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/15791df50a873f772128f35a6b85e92eb6f62851"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/63069b5917cba2e15b1a78b3f4ff99e45102c56f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a8b38867e2a25d82647716ded6a008dcc54869a3"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b465be8e5dd8ec8aa08658c8c43dcd80b20ed160"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b81d7da262d9c13b3997966536fa73b9a8252832"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e848c0bd189bd41189f20249a4d71895ff884f40"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e95e9efdbe0d0da90f9582396aefed921d2133bb"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.