# CVE-2023-53177: media: hi846: fix usage of pm\_runtime\_get\_if\_in\_use()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-15T14:04:20.626Z
- **Modified:** 2026-06-17T06:44:26.743Z

## Who should check

- Anyone running Linux \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 42ec6269f98edd915ee37da3c6456bb6243ea56a; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 04fc06f6dc1592ed5d675311ac50d8fba5db62ab
- Anyone running Linux 5.16

## Description

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

media: hi846: fix usage of pm\_runtime\_get\_if\_in\_use()

pm\_runtime\_get\_if\_in\_use() does not only return nonzero values when
the device is in use, it can return a negative errno too.

And especially during resuming from system suspend, when runtime pm
is not yet up again, -EAGAIN is being returned, so the subsequent
pm\_runtime\_put() call results in a refcount underflow.

Fix system-resume by handling -EAGAIN of pm\_runtime\_get\_if\_in\_use().

## Affected and fixed versions

- Linux: \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 42ec6269f98edd915ee37da3c6456bb6243ea56a; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 04fc06f6dc1592ed5d675311ac50d8fba5db62ab (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 04fc06f6dc1592ed5d675311ac50d8fba5db62ab or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53177. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53177.md
Affected: Linux >= e8c0882685f9152f0d729664a12bcbe749cb7736, < 42ec6269f98edd915ee37da3c6456bb6243ea56a; >= e8c0882685f9152f0d729664a12bcbe749cb7736, < c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e; >= e8c0882685f9152f0d729664a12bcbe749cb7736, < 04fc06f6dc1592ed5d675311ac50d8fba5db62ab; Linux 5.16
Fixed in: Linux 42ec6269f98edd915ee37da3c6456bb6243ea56a, Linux 04fc06f6dc1592ed5d675311ac50d8fba5db62ab

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-2023-53177 being exploited?

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

### How serious is CVE-2023-53177?

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

### Which versions are affected by CVE-2023-53177?

Linux \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 42ec6269f98edd915ee37da3c6456bb6243ea56a; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e; \>= e8c0882685f9152f0d729664a12bcbe749cb7736, \< 04fc06f6dc1592ed5d675311ac50d8fba5db62ab; Linux 5.16.

### Is there a fix for CVE-2023-53177?

Yes. Fixed in Linux 42ec6269f98edd915ee37da3c6456bb6243ea56a, Linux 04fc06f6dc1592ed5d675311ac50d8fba5db62ab. Upgrade Linux to 04fc06f6dc1592ed5d675311ac50d8fba5db62ab or later.

### How do I check if I'm affected by CVE-2023-53177?

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/42ec6269f98edd915ee37da3c6456bb6243ea56a>
- patch: <https://git.kernel.org/stable/c/c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e>
- patch: <https://git.kernel.org/stable/c/04fc06f6dc1592ed5d675311ac50d8fba5db62ab>

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

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