# CVE-2026-142797: media: s5p-mfc: use timer\_shutdown\_sync() for the self-rearming watchdog

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:11:28.804Z
- **Modified:** 2026-12-03T04:18:13.207Z

## Who should check

- Anyone running Linux \>= af935746781088f28904601469671d244d2f653b, \< 15791df50a873f772128f35a6b85e92eb6f62851; \>= af935746781088f28904601469671d244d2f653b, \< a8b38867e2a25d82647716ded6a008dcc54869a3; \>= af935746781088f28904601469671d244d2f653b, \< b465be8e5dd8ec8aa08658c8c43dcd80b20ed160; \>= af935746781088f28904601469671d244d2f653b, \< e95e9efdbe0d0da90f9582396aefed921d2133bb; \>= af935746781088f28904601469671d244d2f653b, \< e848c0bd189bd41189f20249a4d71895ff884f40; \>= af935746781088f28904601469671d244d2f653b, \< b81d7da262d9c13b3997966536fa73b9a8252832; \>= af935746781088f28904601469671d244d2f653b, \< 63069b5917cba2e15b1a78b3f4ff99e45102c56f
- Anyone running Linux 3.1

## Description

In 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 and fixed versions

- Linux: \>= af935746781088f28904601469671d244d2f653b, \< 15791df50a873f772128f35a6b85e92eb6f62851; \>= af935746781088f28904601469671d244d2f653b, \< a8b38867e2a25d82647716ded6a008dcc54869a3; \>= af935746781088f28904601469671d244d2f653b, \< b465be8e5dd8ec8aa08658c8c43dcd80b20ed160; \>= af935746781088f28904601469671d244d2f653b, \< e95e9efdbe0d0da90f9582396aefed921d2133bb; \>= af935746781088f28904601469671d244d2f653b, \< e848c0bd189bd41189f20249a4d71895ff884f40; \>= af935746781088f28904601469671d244d2f653b, \< b81d7da262d9c13b3997966536fa73b9a8252832; \>= af935746781088f28904601469671d244d2f653b, \< 63069b5917cba2e15b1a78b3f4ff99e45102c56f (cvelist)
- Linux: 3.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 63069b5917cba2e15b1a78b3f4ff99e45102c56f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142797. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142797.md
Affected: Linux >= af935746781088f28904601469671d244d2f653b, < 15791df50a873f772128f35a6b85e92eb6f62851; >= af935746781088f28904601469671d244d2f653b, < a8b38867e2a25d82647716ded6a008dcc54869a3; >= af935746781088f28904601469671d244d2f653b, < b465be8e5dd8ec8aa08658c8c43dcd80b20ed160; >= af935746781088f28904601…
Fixed in: Linux 15791df50a873f772128f35a6b85e92eb6f62851, Linux 63069b5917cba2e15b1a78b3f4ff99e45102c56f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142797 being exploited?

There is no confirmed exploitation: CVE-2026-142797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142797?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142797?

Linux \>= af935746781088f28904601469671d244d2f653b, \< 15791df50a873f772128f35a6b85e92eb6f62851; \>= af935746781088f28904601469671d244d2f653b, \< a8b38867e2a25d82647716ded6a008dcc54869a3; \>= af935746781088f28904601469671d244d2f653b, \< b465be8e5dd8ec8aa08658c8c43dcd80b20ed160; \>= af935746781088f28904601469671d244d2f653b, \< e95e9efdbe0d0da90f9582396aefed921d2133bb; \>= af935746781088f28904601469671d244d2f653b, \< e848c0bd189bd41189f20249a4d71895ff884f40; \>= af935746781088f28904601469671d244d2f653b, \< b81d7da262d9c13b3997966536fa73b9a8252832; \>= af935746781088f28904601469671d244d2f653b, \< 63069b5917cba2e15b1a78b3f4ff99e45102c56f; Linux 3.1.

### Is there a fix for CVE-2026-142797?

Yes. Fixed in Linux 15791df50a873f772128f35a6b85e92eb6f62851, Linux 63069b5917cba2e15b1a78b3f4ff99e45102c56f. Upgrade Linux to 63069b5917cba2e15b1a78b3f4ff99e45102c56f or later.

### How do I check if I'm affected by CVE-2026-142797?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/15791df50a873f772128f35a6b85e92eb6f62851>
- other: <https://git.kernel.org/stable/c/a8b38867e2a25d82647716ded6a008dcc54869a3>
- other: <https://git.kernel.org/stable/c/b465be8e5dd8ec8aa08658c8c43dcd80b20ed160>
- other: <https://git.kernel.org/stable/c/e95e9efdbe0d0da90f9582396aefed921d2133bb>
- other: <https://git.kernel.org/stable/c/e848c0bd189bd41189f20249a4d71895ff884f40>
- other: <https://git.kernel.org/stable/c/b81d7da262d9c13b3997966536fa73b9a8252832>
- other: <https://git.kernel.org/stable/c/63069b5917cba2e15b1a78b3f4ff99e45102c56f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142797>

HTML: <https://flawdb.com/CVE-2026-142797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142797>
