# CVE-2025-71143: clk: samsung: exynos-clkout: Assign .num before accessing .hws

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **CWE:** CWE-129
- **Published:** 2026-01-14T15:07:55.828Z
- **Modified:** 2026-06-17T10:03:45.050Z

## Who should check

- Anyone running Linux \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< fbf57f5e453dadadb3d29b2d1dbe067e3dc4e236; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< eb1f3a6ab3efee2b52361879cdc2dc6b11f499c0; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< a317f63255ebc3dac378c79c5bff4f8d0561c290; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< cf33f0b7df13685234ccea7be7bfe316b60db4db
- Anyone running Linux 6.6

## Description

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

clk: samsung: exynos-clkout: 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 exynos\_clkout\_probe() due to .num being assigned after .hws\[\]
has been accessed:

  UBSAN: array-index-out-of-bounds in drivers/clk/samsung/clk-exynos-clkout.c:178:18
  index 0 is out of range for type 'clk\_hw \*\[\*\]'

Move the .num initialization to before the first access of .hws\[\],
clearing up the warning.

## Affected and fixed versions

- Linux: \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< fbf57f5e453dadadb3d29b2d1dbe067e3dc4e236; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< eb1f3a6ab3efee2b52361879cdc2dc6b11f499c0; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< a317f63255ebc3dac378c79c5bff4f8d0561c290; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< cf33f0b7df13685234ccea7be7bfe316b60db4db (cvelist)
- Linux: 6.6 (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-2025-71143. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71143.md
Affected: Linux >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < fbf57f5e453dadadb3d29b2d1dbe067e3dc4e236; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < eb1f3a6ab3efee2b52361879cdc2dc6b11f499c0; >= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, < a317f63255ebc3dac378c79c5bff4f8d0561c290; >= f316cdff8d677db9ad9c90a…
Fixed in: no fixed version listed yet

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-2025-71143 being exploited?

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

### How serious is CVE-2025-71143?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71143?

Linux \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< fbf57f5e453dadadb3d29b2d1dbe067e3dc4e236; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< eb1f3a6ab3efee2b52361879cdc2dc6b11f499c0; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< a317f63255ebc3dac378c79c5bff4f8d0561c290; \>= f316cdff8d677db9ad9c90acb44c4cd535b0ee27, \< cf33f0b7df13685234ccea7be7bfe316b60db4db; Linux 6.6.

### Is there a fix for CVE-2025-71143?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-71143?

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

- patch: <https://git.kernel.org/stable/c/fbf57f5e453dadadb3d29b2d1dbe067e3dc4e236>
- patch: <https://git.kernel.org/stable/c/eb1f3a6ab3efee2b52361879cdc2dc6b11f499c0>
- patch: <https://git.kernel.org/stable/c/a317f63255ebc3dac378c79c5bff4f8d0561c290>
- patch: <https://git.kernel.org/stable/c/cf33f0b7df13685234ccea7be7bfe316b60db4db>

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

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