Skip to main content

In the Linux kernel, the following vulnerability has been resolved: rtc: mpfs: fix unchecked devm_clk_get() error pointer in probe()… (CVE-2026-98825)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:04 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's rtc: mpfs driver was fixed by adding proper error checking for the devm_clk_get() function's return value in the probe() function. Previously, an error pointer returned by devm_clk_get() was passed unchecked to clk_get_rate(), which only checks for NULL pointers, causing a potential kernel crash. The fix involves checking the return value with IS_ERR() before usage, preventing crashes during driver probe when dependent clocks are not yet registered.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:20:36 UTC

Technical Analysis

The Linux kernel's rtc: mpfs driver had a flaw where the return value of devm_clk_get(&pdev->dev, "rtcref") was used directly in clk_get_rate() without verifying if it was an error pointer. clk_get_rate() only checks for NULL pointers, not error pointers, so if devm_clk_get() returned an error pointer (e.g., ERR_PTR(-EPROBE_DEFER)), clk_get_rate() would dereference it, causing a kernel crash. The issue was resolved by capturing the clock in a local variable and checking it with IS_ERR() before calling clk_get_rate(), aligning with the existing handling of the "rtc" clock in the same function.

Potential Impact

If unpatched, this vulnerability could cause the Linux kernel to crash during the probe phase of the rtc: mpfs driver when the dependent clock provider has not yet registered its clocks. This results in a denial of service due to kernel panic or crash. There is no indication of code execution or privilege escalation from this issue.

Mitigation Recommendations

A fix is available that adds proper error checking of the devm_clk_get() return value using IS_ERR() before calling clk_get_rate(). Users should apply the official Linux kernel patch that addresses this issue. Since this is a kernel-level vulnerability, updating to a kernel version containing this fix is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-44qj-hfjm-pr88
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98825"]

Threat ID: 6ad520aa2cdf04f6569938d1

Added to database: 10/18/2026, 19:40:26 UTC

Last enriched: 10/18/2026, 22:20:36 UTC

Last updated: 10/18/2026, 22:20:36 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses