← CVE Intelligence

CVE-2025-39858

eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 8533b14b3d65ee666ba31254787c1bdaee56d95a before 7b77d8841a98a9f45c8a615222c698df8dec581c; affected 8533b14b3d65ee666ba31254787c1bdaee56d95a before e580beaf43d563aaf457f1c7f934002355ebfe7b
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.16.6 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.