CVE Database›CVE-2023-53638

CVE-2023-53638

kernel: octeon_ep: cancel queued works in probe error path

Loading…

Severity

Moderate

Red Hat Product Security

6.7

CVSS 3.1

Review impact separately from score.

Published · October 7, 2025

Updated · August 5, 2026

Description

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

octeon_ep: cancel queued works in probe error path

If it fails to get the devices's MAC address, octep_probe exits while leaving the delayed work intr_poll_task queued. When the work later runs, it's a use after free.

Move the cancelation of intr_poll_task from octep_remove into octep_device_cleanup. This does not change anything in the octep_remove flow, but octep_device_cleanup is called also in the octep_probe error path, where the cancelation is needed.

Note that the cancelation of ctrl_mbox_task has to follow intr_poll_task's, because the ctrl_mbox_task may be queued by intr_poll_task.

Statement

A UAF in the octeon_ep driver’s probe error path left a delayed work item (intr_poll_task) queued after device teardown, leading to use-after-free when the work later runs. Exploitation requires controlling device probe/driver lifecycle (module/hardware management), so for the CVSS the PR:H applies and exposure is limited to privileged users or physical attackers.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-416 · Use After Free