# CVE-2026-98848: rtc: ac100: Assign .num before accessing .hws

> 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 6, 2026-11-28)
- **Published:** 2026-10-18T15:50:47.105Z
- **Modified:** 2026-10-21T13:21:49.483Z

## Who should check

- Anyone running Linux \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 6bb55381daf1a1bed0657189a1396e7467712525; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 160619b38707241e22569f9c983a4b3d0890996a; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< ad1bf77039cba83373bf1eff3784655e3e3ed2ab; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 6a4117eee82dd85f11bf898bf66026764011eeb6
- Anyone running Linux 6.6

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

- Linux: \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 6bb55381daf1a1bed0657189a1396e7467712525; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 160619b38707241e22569f9c983a4b3d0890996a; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< ad1bf77039cba83373bf1eff3784655e3e3ed2ab; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< 6a4117eee82dd85f11bf898bf66026764011eeb6 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 6a4117eee82dd85f11bf898bf66026764011eeb6 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-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.
```

## 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-28).

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

## References

- other: <https://git.kernel.org/stable/c/e77c5fc1f39fdb06ecd1f55b101eea1e1db2ffef>
- other: <https://git.kernel.org/stable/c/6bb55381daf1a1bed0657189a1396e7467712525>
- other: <https://git.kernel.org/stable/c/160619b38707241e22569f9c983a4b3d0890996a>
- other: <https://git.kernel.org/stable/c/ad1bf77039cba83373bf1eff3784655e3e3ed2ab>
- other: <https://git.kernel.org/stable/c/6a4117eee82dd85f11bf898bf66026764011eeb6>

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

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