{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53638","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-10-07T15:16:59.658Z","datePublished":"2025-10-07T15:19:38.989Z","dateUpdated":"2026-08-05T09:15:16.890Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T09:15:16.890Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep: cancel queued works in probe error path\n\nIf it fails to get the devices's MAC address, octep_probe exits while\nleaving the delayed work intr_poll_task queued. When the work later\nruns, it's a use after free.\n\nMove the cancelation of intr_poll_task from octep_remove into\noctep_device_cleanup. This does not change anything in the octep_remove\nflow, but octep_device_cleanup is called also in the octep_probe error\npath, where the cancelation is needed.\n\nNote that the cancelation of ctrl_mbox_task has to follow\nintr_poll_task's, because the ctrl_mbox_task may be queued by\nintr_poll_task."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is the PCI probe path of the octeon_ep driver, reached via local device enumeration, hotplug, module load, or sysfs bind/unbind on the host. No remote network protocol handling is involved.\nAC:H - Exploitation requires `octep_probe()` to fail after the poll work is queued — i.e. the Octeon endpoint firmware must fail to answer the MAC-address mailbox request within the 500 ms timeout (or register_netdev must fail), a device/firmware state an attacker on the host cannot reliably force. Turning the resulting UAF into more than an oops additionally requires reclaiming the freed netdev allocation within the ~50 ms work delay.\nPR:L - The UAF fires from a workqueue with no host credentials needed once probe fails, and the probe can be re-triggered through driver bind/unbind; a low-privileged attacker suffices to be present when the freed object is reclaimed, so PR is not raised to High.\nUI:N - The delayed work fires automatically 50 ms after the probe error path frees the device; no victim action is required beyond the normal device probe that happens at boot or hotplug.\nS:U - Both the vulnerable code and the corrupted memory are in the host kernel, so the impact stays within a single security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The work handler reads `oct->poll_non_ioq_intr` and the `hw_ops` function-pointer table out of freed slab memory; controlling the reclaiming allocation gives an attacker a read primitive over kernel heap contents and leaks kernel state.\nI:H - `queue_delayed_work()` and `queue_work()` write into the freed work/timer structures, and `oct->hw_ops.poll_non_ioq_interrupts(oct)` is an indirect call through a function pointer read from freed memory — a direct control-flow hijack primitive once the allocation is sprayed.\nA:H - Even unexploited, the work dereferences freed memory and accesses already-iounmap'ed MMIO, reliably producing a kernel oops/panic (this is the crash the fix was written for)."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"],"versions":[{"version":"24d4333233b378114106a1327d3d635a004f4387","lessThan":"62312e2f6466b5f0a120542a38b410d88a34ed00","status":"affected","versionType":"git"},{"version":"24d4333233b378114106a1327d3d635a004f4387","lessThan":"758c91078165ae641b698750a72eafe7968b3756","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"],"versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"6.4.12","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.4.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.5"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/62312e2f6466b5f0a120542a38b410d88a34ed00"},{"url":"https://git.kernel.org/stable/c/758c91078165ae641b698750a72eafe7968b3756"}],"title":"octeon_ep: cancel queued works in probe error path","x_generator":{"engine":"bippy-1.2.0"}}}}