CVE-2024-26963

Source
https://cve.org/CVERecord?id=CVE-2024-26963
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26963.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26963
Downstream
Related
Published
2024-05-01T05:19:24.573Z
Modified
2026-03-13T07:52:00.946649Z
Summary
usb: dwc3-am62: fix module unload/reload behavior
Details

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

usb: dwc3-am62: fix module unload/reload behavior

As runtime PM is enabled, the module can be runtime suspended when .remove() is called.

Do a pmruntimeget_sync() to make sure module is active before doing any register operations.

Doing a pmruntimeput_sync() should disable the refclk so no need to disable it again.

Fixes the below warning at module removel.

[ 39.705310] ------------[ cut here ]------------ [ 39.710004] clk:162:3 already disabled [ 39.713941] WARNING: CPU: 0 PID: 921 at drivers/clk/clk.c:1090 clkcoredisable+0xb0/0xb8

We called ofplatformpopulate() in .probe() so call the cleanup function ofplatformdepopulate() in .remove(). Get rid of the now unnnecessary dwc3tiremove_core(). Without this, module re-load doesn't work properly.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26963.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e8784c0aec03a2581ee55827ba694e129d6a57ad
Fixed
6c6a45645a2e6a272dfde14eddbb6706de63c25d
Fixed
7dfed9855397d0df4c6f748d1f66547ab3bad766
Fixed
629b534c42d04f0797980f2d1ed105fdb8906975
Fixed
3895780fabd120d0fbd54354014e85207b25687c
Fixed
6661befe41009c210efa2c1bcd16a5cc4cff8a06

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26963.json"