{
  "id": "CVE-2025-39902",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39902",
  "published_at": "2025-10-01T07:42:49.415Z",
  "title": "mm/slub: avoid accessing metadata when pointer is invalid in object_err()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/slub: avoid accessing metadata when pointer is invalid in object_err()\n\nobject_err() reports details of an object for further debugging, such as\nthe freelist pointer, redzone, etc. However, if the pointer is invalid,\nattempting to access object metadata can lead to a crash since it does\nnot point to a valid object.\n\nOne known path to the crash is when alloc_consistency_checks()\ndetermines the pointer to the allocated object is invalid because of a\nfreelist corruption, and calls object_err() to report it. The debug code\nshould report and handle the corruption gracefully and not crash in the\nprocess.\n\nIn case the pointer is NULL or check_valid_pointer() returns false for\nthe pointer, only print the pointer value and skip accessing metadata.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c 872f2c34ff232af1e65ad2df86d61163c8ffad42",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c f66012909e7bf383fcdc5850709ed5716073fdc4",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c 7e287256904ee796c9477e3ec92b07f236481ef3",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c 1f0797f17927b5cad0fb7eced422f9a7c30a3191",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c 0ef7058b4dc6fcef622ac23b45225db57f17b83f",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c dda6ec365ab04067adae40ef17015db447e90736",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c 3baa1da473e6e50281324ff1d332d1a07a3bb02e",
          "\u003e= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \u003c b4efccec8d06ceb10a7d34d7b1c449c569d53770"
        ],
        "fixed_in": [
          "872f2c34ff232af1e65ad2df86d61163c8ffad42",
          "f66012909e7bf383fcdc5850709ed5716073fdc4",
          "7e287256904ee796c9477e3ec92b07f236481ef3",
          "1f0797f17927b5cad0fb7eced422f9a7c30a3191",
          "0ef7058b4dc6fcef622ac23b45225db57f17b83f",
          "dda6ec365ab04067adae40ef17015db447e90736",
          "3baa1da473e6e50281324ff1d332d1a07a3bb02e",
          "b4efccec8d06ceb10a7d34d7b1c449c569d53770"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.22"
        ],
        "fixed_in": [
          "0",
          "5.4.299",
          "5.10.243",
          "5.15.192",
          "6.1.151",
          "6.6.105",
          "6.12.46",
          "6.16.6",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 872f2c34ff232af1e65ad2df86d61163c8ffad42 or f66012909e7bf383fcdc5850709ed5716073fdc4 or 7e287256904ee796c9477e3ec92b07f236481ef3 or 1f0797f17927b5cad0fb7eced422f9a7c30a3191 or 0ef7058b4dc6fcef622ac23b45225db57f17b83f or dda6ec365ab04067adae40ef17015db447e90736 or 3baa1da473e6e50281324ff1d332d1a07a3bb02e or b4efccec8d06ceb10a7d34d7b1c449c569d53770 or later.",
      "Upgrade Linux to 0 or 5.4.299 or 5.10.243 or 5.15.192 or 6.1.151 or 6.6.105 or 6.12.46 or 6.16.6 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
