CVE-2026-98486NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
net: ena: fix MMIO read buffer leak on probe failure
ena_device_init() initializes the MMIO read mechanism with
ena_com_mmio_reg_read_request_init(), which allocates a coherent DMA
buffer for MMIO read responses.
The normal removal path releases this buffer through
ena_com_mmio_reg_read_request_destroy(). However, if ena_probe() fails
after ena_device_init() succeeds, the error path destroys the admin
resources and eventually frees ena_dev without destroying the MMIO read
request, leaving the coherent DMA buffer allocated.
Call ena_com_mmio_reg_read_request_destroy() in the probe error path
before releasing the remaining device resources.
This issue was found by manual code inspection.
net: ena: fix MMIO read buffer leak on probe failure
ena_device_init() initializes the MMIO read mechanism with
ena_com_mmio_reg_read_request_init(), which allocates a coherent DMA
buffer for MMIO read responses.
The normal removal path releases this buffer through
ena_com_mmio_reg_read_request_destroy(). However, if ena_probe() fails
after ena_device_init() succeeds, the error path destroys the admin
resources and eventually frees ena_dev without destroying the MMIO read
request, leaving the coherent DMA buffer allocated.
Call ena_com_mmio_reg_read_request_destroy() in the probe error path
before releasing the remaining device resources.
This issue was found by manual code inspection.
Affected & Patched Versions
Not provided by NVD for this CVE.
Not provided by NVD for this CVE.
External References
- https://git.kernel.org/stable/c/0d31edc7ff1f7f265c11248819dfaf5a8274b209
- https://git.kernel.org/stable/c/30ff01b4c7e419bb70f40f01dcd7f6af680808b3
- https://git.kernel.org/stable/c/47785f9f638b064ce6e32e8e3b6f1ffd83849fc2
- https://git.kernel.org/stable/c/4b90112826439149dcee20e73d02f25ae0e2a9fb
- https://git.kernel.org/stable/c/7bd3e9a2d0c288e54f51df260d9433163f5fbc1e
- https://git.kernel.org/stable/c/9476b4468862927297c94c440863cd8ed1e7cc83
- https://git.kernel.org/stable/c/9de940a3c5731be5a544f6f366576cc4dc073f7c
- https://git.kernel.org/stable/c/a0f5fd7a285f44fa402242f26feddfe1d4a0fc6c