5.5medium
eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring Replace NULL check with IS_ERR() check after calling page_pool_create() since this function returns error pointers (ERR_PTR). Using NULL check could lead to invalid pointer dereference.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8533b14b3d65ee666ba31254787c1bdaee56d95a before 7b77d8841a98a9f45c8a615222c698df8dec581c, from 8533b14b3d65ee666ba31254787c1bdaee56d95a before e580beaf43d563aaf457f1c7f934002355ebfe7b, 6.15 Not affected: before 6.15, from 6.16.6 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.15 before 6.16.6, 6.17 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring Replace NULL check with IS_ERR() check after calling page_pool_create() since this function returns error pointers (ERR_PTR). Using NULL check could lead to invalid pointer dereference.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: eth: mlx4: Solución del error de comprobación IS_ERR() vs NULL en mlx4_en_create_rx_ring Reemplazar la comprobación de NULL con la comprobación IS_ERR() después de llamar a page_pool_create() ya que esta función devuelve punteros de error (ERR_PTR). Usar la comprobación de NULL podría llevar a una desreferencia de puntero inválida.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-39858 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-39858 changed 2026-10-19 | Public domain |