CVE-2023-53638
JSON

7.0high

octeon_ep: cancel queued works in probe error path

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 24d4333233b378114106a1327d3d635a004f4387 before 62312e2f6466b5f0a120542a38b410d88a34ed00, from 24d4333233b378114106a1327d3d635a004f4387 before 758c91078165ae641b698750a72eafe7968b3756, 6.4
Not affected: before 6.4, from 6.4.12 up to 6.4.*, from 6.5 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.4.12, 6.5NVD

All scores

Linux7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53638 changed 2026-10-15CVE Terms of Use
NVDCVE-2023-53638 changed 2026-10-15Public domain