# CVE-2026-98825: rtc: mpfs: fix unchecked devm\_clk\_get() error pointer in probe()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:49:17.605Z
- **Modified:** 2026-10-30T13:21:29.290Z

## Who should check

- Anyone running Linux \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 7f59e824a4403e156cf930fe556b75139452099e; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ab741d1b714b4acc605f3d14cdc4120f87341ed1; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 74dc7c52946e3d47c40edd0875adb7cc15937066; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< cfd70c9b19846c524f2b6195a7484bdf22071ccf; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 8a03f8422fa08eed335c51bccb612a3d81739ff2; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ac41b05d15db3134e839148290d67415ee0bdb58
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

rtc: mpfs: fix unchecked devm\_clk\_get() error pointer in probe()

devm\_clk\_get(&pdev-\>dev, "rtcref")'s return value was passed straight
into clk\_get\_rate() without checking it for an error first, unlike the
"rtc" clock a few lines above which is correctly checked with
IS\_ERR(). clk\_get\_rate() only guards against a NULL clk, not an error
pointer:

	if (!clk)
		return 0;
	...
	rate = clk\_core\_get\_rate\_recalc(clk-\>core);

so if devm\_clk\_get() ever returns an error pointer here (for example
ERR\_PTR(-EPROBE\_DEFER), which is the normal, expected outcome if the
clkcfg clock-provider this RTC depends on has not registered its
clocks yet by the time this driver probes), clk\_get\_rate() dereferences
that error pointer instead of returning 0, crashing instead of letting
probe defer.

Capture the clock in the existing 'clk' local and check it with
IS\_ERR() before calling clk\_get\_rate(), matching the handling already
used for the "rtc" clock in this same function.

## Affected and fixed versions

- Linux: \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 7f59e824a4403e156cf930fe556b75139452099e; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ab741d1b714b4acc605f3d14cdc4120f87341ed1; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 74dc7c52946e3d47c40edd0875adb7cc15937066; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< cfd70c9b19846c524f2b6195a7484bdf22071ccf; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 8a03f8422fa08eed335c51bccb612a3d81739ff2; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ac41b05d15db3134e839148290d67415ee0bdb58 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98825.md
Affected: Linux >= 0b31d703598dc1993867597bbd45e87d824fc427, < 7f59e824a4403e156cf930fe556b75139452099e; >= 0b31d703598dc1993867597bbd45e87d824fc427, < ab741d1b714b4acc605f3d14cdc4120f87341ed1; >= 0b31d703598dc1993867597bbd45e87d824fc427, < 74dc7c52946e3d47c40edd0875adb7cc15937066; >= 0b31d703598dc1993867597…
Fixed in: Linux 7f59e824a4403e156cf930fe556b75139452099e, Linux 74dc7c52946e3d47c40edd0875adb7cc15937066, Linux 8a03f8422fa08eed335c51bccb612a3d81739ff2

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-98825 being exploited?

There is no confirmed exploitation: CVE-2026-98825 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 7f59e824a4403e156cf930fe556b75139452099e; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ab741d1b714b4acc605f3d14cdc4120f87341ed1; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 74dc7c52946e3d47c40edd0875adb7cc15937066; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< cfd70c9b19846c524f2b6195a7484bdf22071ccf; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< 8a03f8422fa08eed335c51bccb612a3d81739ff2; \>= 0b31d703598dc1993867597bbd45e87d824fc427, \< ac41b05d15db3134e839148290d67415ee0bdb58; Linux 6.0.

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

Yes. Fixed in Linux 7f59e824a4403e156cf930fe556b75139452099e, Linux 74dc7c52946e3d47c40edd0875adb7cc15937066, Linux 8a03f8422fa08eed335c51bccb612a3d81739ff2. No fix listed yet: follow the vendor advisory.

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

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/7f59e824a4403e156cf930fe556b75139452099e>
- other: <https://git.kernel.org/stable/c/ab741d1b714b4acc605f3d14cdc4120f87341ed1>
- other: <https://git.kernel.org/stable/c/74dc7c52946e3d47c40edd0875adb7cc15937066>
- other: <https://git.kernel.org/stable/c/cfd70c9b19846c524f2b6195a7484bdf22071ccf>
- other: <https://git.kernel.org/stable/c/8a03f8422fa08eed335c51bccb612a3d81739ff2>
- other: <https://git.kernel.org/stable/c/ac41b05d15db3134e839148290d67415ee0bdb58>

## 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-98825>

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