{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8533b14b3d65ee666ba31254787c1bdaee56d95a"
            },
            {
              "fixed": "7b77d8841a98a9f45c8a615222c698df8dec581c"
            },
            {
              "fixed": "e580beaf43d563aaf457f1c7f934002355ebfe7b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39858.json"
  },
  "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.",
  "id": "CVE-2025-39858",
  "modified": "2026-04-01T23:09:46.431498395Z",
  "published": "2025-09-19T15:26:28.985Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring"
}