CVE-2023-53177 media: hi846: fix usage of pm_runtime_get_if_in_use()

Medium 5.5 Published Updated

A refcount underflow in the hi846 camera driver during system resume can cause a kernel crash, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53177?

CVE-2023-53177 is a medium-severity vulnerability in Linux kernel, published on 15 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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().

Which versions are affected by CVE-2023-53177?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53177?

Apply the vendor's patch.

Is CVE-2023-53177 being exploited?

There is no known exploitation of CVE-2023-53177 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53177, DEBIAN-CVE-2023-53177, GHSA-8v2f-4w7g-97h8, UBUNTU-CVE-2023-53177.

Is CVE-2023-53177 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free