{"id":"CVE-2025-39858","summary":"eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring","details":"In the Linux kernel, the following vulnerability has been resolved:\n\neth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring\n\nReplace NULL check with IS_ERR() check after calling page_pool_create()\nsince this function returns error pointers (ERR_PTR).\nUsing NULL check could lead to invalid pointer dereference.","modified":"2026-04-02T12:48:11.243703Z","published":"2025-09-19T15:26:28.985Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39858.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7b77d8841a98a9f45c8a615222c698df8dec581c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e580beaf43d563aaf457f1c7f934002355ebfe7b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39858.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39858"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8533b14b3d65ee666ba31254787c1bdaee56d95a"},{"fixed":"7b77d8841a98a9f45c8a615222c698df8dec581c"},{"fixed":"e580beaf43d563aaf457f1c7f934002355ebfe7b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39858.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}