# CVE-2026-90136: platform/x86/amd/hsmp: Reject negative power cap writes in hwmon

> 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-26)
- **Published:** 2026-09-17T16:06:35.190Z
- **Modified:** 2026-10-19T09:19:03.377Z

## Who should check

- Anyone running Linux \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 1b0a3d915320f1600e5ff43f8bc21b73118480b8; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 3921bb8635ff2836622df1cdf3194d4f3c1835a4
- Anyone running Linux 6.16

## Description

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

platform/x86/amd/hsmp: Reject negative power cap writes in hwmon

hsmp\_hwmon\_write() takes the user-supplied hwmon value as a signed long
and assigns "val / MICROWATT\_PER\_MILLIWATT" to msg.args\[0\], which is a
\_\_u32.  MICROWATT\_PER\_MILLIWATT is an unsigned long, so a negative write
to power1\_cap (e.g. "echo -1 \> power1\_cap") is first converted to a huge
unsigned value by the division and then stored into the u32 argument.

As a result a nonsensical, multi-gigawatt socket power limit is sent to
the SMU via HSMP\_SET\_SOCKET\_POWER\_LIMIT instead of the write being
rejected.

Reject negative values with -EINVAL before the conversion.

Tested with HSMP enabled:

  CAP=$(dirname $(grep -l amd\_hsmp\_hwmon \\
        /sys/class/hwmon/hwmon\*/name \| head -1))/power1\_cap

  \# negative write
  echo -1000000 \> $CAP ; echo "ret=$?"
  \# valid positive write must still work
  echo 400000000 \> $CAP ; echo "ret=$?"

Before:
  \# echo -1000000 \> $CAP ; echo "ret=$?"
  ret=0                             \<- accepted; bogus limit sent to SMU
  \# echo 400000000 \> $CAP ; echo "ret=$?"
  ret=0

After:
  \# echo -1000000 \> $CAP ; echo "ret=$?"
  bash: echo: write error: Invalid argument
  ret=1                             \<- rejected with -EINVAL
  \# echo 400000000 \> $CAP ; echo "ret=$?"
  ret=0                             \<- valid write still works

## Affected and fixed versions

- Linux: \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 1b0a3d915320f1600e5ff43f8bc21b73118480b8; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 3921bb8635ff2836622df1cdf3194d4f3c1835a4 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 3921bb8635ff2836622df1cdf3194d4f3c1835a4 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-90136. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90136.md
Affected: Linux >= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, < 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f; >= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, < 1b0a3d915320f1600e5ff43f8bc21b73118480b8; >= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, < 3921bb8635ff2836622df1cdf3194d4f3c1835a4; Linux 6.16
Fixed in: Linux 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f, Linux 1b0a3d915320f1600e5ff43f8bc21b73118480b8, Linux 3921bb8635ff2836622df1cdf3194d4f3c1835a4

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

There is no confirmed exploitation: CVE-2026-90136 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-90136?

It has no CVSS score yet. Unknown.

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

Linux \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 1b0a3d915320f1600e5ff43f8bc21b73118480b8; \>= 92c025db52bb94a032eb3d473bb81e62c19ddbd3, \< 3921bb8635ff2836622df1cdf3194d4f3c1835a4; Linux 6.16.

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

Yes. Fixed in Linux 2c09cadec116eba3fdbcb5d8d8641f6777d4a11f, Linux 1b0a3d915320f1600e5ff43f8bc21b73118480b8, Linux 3921bb8635ff2836622df1cdf3194d4f3c1835a4. Upgrade Linux to 3921bb8635ff2836622df1cdf3194d4f3c1835a4 or later.

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

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/2c09cadec116eba3fdbcb5d8d8641f6777d4a11f>
- other: <https://git.kernel.org/stable/c/1b0a3d915320f1600e5ff43f8bc21b73118480b8>
- other: <https://git.kernel.org/stable/c/3921bb8635ff2836622df1cdf3194d4f3c1835a4>

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

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