CVE-2026-98848
rtc: ac100: Assign .num before accessing .hws
Mitigation
- Upgrade Linux to 6a4117eee82dd85f11bf898bf66026764011eeb6 or later.
Who should check
- Anyone running Linux >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6bb55381daf1a1bed0657189a1396e7467712525; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 160619b38707241e22569f9c983a4b3d0890996a; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < ad1bf77039cba83373bf1eff3784655e3e3ed2ab; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6a4117eee82dd85f11bf898bf66026764011eeb6
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6bb55381daf1a1bed0657189a1396e7467712525; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 160619b38707241e22569f9c983a4b3d0890996a; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < ad1bf77039cba83373bf1eff3784655e3e3ed2ab; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6a4117eee82dd85f11bf898bf66026764011eeb6; Linux 6.6
- Fixed in
- Linux 6bb55381daf1a1bed0657189a1396e7467712525, Linux 160619b38707241e22569f9c983a4b3d0890996a, Linux 6a4117eee82dd85f11bf898bf66026764011eeb6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rtc: ac100: Assign .num before accessing .hws Commit f316cdff8d67 ("clk: Annotate struct clk_hw_onecell_data with __counted_by") annotated the hws member of 'struct clk_hw_onecell_data' with __counted_by, which informs the bounds sanitizer (UBSAN_BOUNDS) about the number of elements in .hws[], so that it can warn when .hws[] is accessed out of bounds. As noted in that change, the __counted_by member must be initialized with the number of elements before the first array access happens, otherwise there will be a warning from each access prior to the initialization because the number of elements is zero. This occurs in ac100_rtc_register_clks() due to .num being assigned only after every clkout clock has been stored in .hws[]. With CONFIG_UBSAN_BOUNDS and a compiler that implements __counted_by (GCC 15.1+ or Clang 20.1+), this triggers an array-index-out-of-bounds report during probe, and with CONFIG_UBSAN_TRAP the first store traps. Initialize .num with AC100_CLKOUT_NUM, the number of elements .hws[] was allocated with, right after the allocation. That is the value the loop counter ends up at on the success path anyway, so the provider's behaviour is unchanged.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6bb55381daf1a1bed0657189a1396e7467712525; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 160619b38707241e22569f9c983a4b3d0890996a; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < ad1bf77039cba83373bf1eff3784655e3e3ed2ab; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6a4117eee82dd85f11bf898bf66026764011eeb6 | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98848. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98848.md Affected: Linux >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6bb55381daf1a1bed0657189a1396e7467712525; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 160619b38707241e22569f9c983a4b3d0890996a; >= f316cdff8d677db9ad9c90a… Fixed in: Linux 6bb55381daf1a1bed0657189a1396e7467712525, Linux 160619b38707241e22569f9c983a4b3d0890996a, Linux 6a4117eee82dd85f11bf898bf66026764011eeb6 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.
References
Other
- https://git.kernel.org/stable/c/e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef
- https://git.kernel.org/stable/c/6bb55381daf1a1bed0657189a1396e7467712525
- https://git.kernel.org/stable/c/160619b38707241e22569f9c983a4b3d0890996a
- https://git.kernel.org/stable/c/ad1bf77039cba83373bf1eff3784655e3e3ed2ab
- https://git.kernel.org/stable/c/6a4117eee82dd85f11bf898bf66026764011eeb6
FAQ
Is CVE-2026-98848 being exploited?
There is no confirmed exploitation: CVE-2026-98848 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-26).
How serious is CVE-2026-98848?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98848?
Linux >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6bb55381daf1a1bed0657189a1396e7467712525; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 160619b38707241e22569f9c983a4b3d0890996a; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < ad1bf77039cba83373bf1eff3784655e3e3ed2ab; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < 6a4117eee82dd85f11bf898bf66026764011eeb6; Linux 6.6.
Is there a fix for CVE-2026-98848?
Yes. Fixed in Linux 6bb55381daf1a1bed0657189a1396e7467712525, Linux 160619b38707241e22569f9c983a4b3d0890996a, Linux 6a4117eee82dd85f11bf898bf66026764011eeb6. Upgrade Linux to 6a4117eee82dd85f11bf898bf66026764011eeb6 or later.
How do I check if I'm affected by CVE-2026-98848?
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.