{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-48881",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-48881",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-11T12:25:18.614Z",
    "updatedAt": "2026-10-15T00:53:14.555Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbcache: revert replacing IS_ERR_OR_NULL with IS_ERR again\n\nCommit 028ddcac477b (\"bcache: Remove unnecessary NULL point check in\nnode allocations\") leads a NULL pointer deference in cache_set_flush().\n\n1721         if (!IS_ERR_OR_NULL(c->root))\n1722                 list_add(&c->root->list, &c->btree_cache);\n\n>From the above code in cache_set_flush(), if previous registration code\nfails before allocating c->root, it is possible c->root is NULL as what\nit is initialized. __bch_btree_node_alloc() never returns NULL but\nc->root is possible to be NULL at above line 1721.\n\nThis patch replaces IS_ERR() by IS_ERR_OR_NULL() to fix this.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0729029e647234fa1a94376b6edffec5c2cd75f6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4379c5828492a4c2a651c8f826a01453bd2b80b0"
            },
            {
              "version": "db9439cef0b5efccf8021fe89f4953e0f901e85b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "336e30f32ae7c043fde0f6fa21586ff30bea9fe2"
            },
            {
              "version": "991e9c186a8ac6ab272a86e0ddc6f9733c38b867",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fb5fee35bdd18316a84b5f30881a24e1415e1464"
            },
            {
              "version": "68118c339c6e1e16ae017bef160dbe28a27ae9c8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5202391970ffbf81975251b3526b890ba027b715"
            },
            {
              "version": "028ddcac477b691dd9205c92f991cc15259d033e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cc05aa2c0117e20fa25a3c0d915f98b8f2e78667"
            },
            {
              "version": "028ddcac477b691dd9205c92f991cc15259d033e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5e0e913624bcd24f3de414475018d3023f060ee1"
            },
            {
              "version": "028ddcac477b691dd9205c92f991cc15259d033e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b2e382ae12a63560fca35050498e19e760adf8c0"
            },
            {
              "version": "fe75e8a0c20127a8dc95704f1a7ad6b82c9a0ef8",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "0cabf9e164660e8d66c4810396046383a1110a69",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.4.251",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4.287"
            },
            {
              "version": "5.10.188",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.231"
            },
            {
              "version": "5.15.121",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.174"
            },
            {
              "version": "6.1.39",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.120"
            },
            {
              "version": "4.19.291",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "6.4.4",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.5"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.5",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.5"
            },
            {
              "version": "5.4.287",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.231",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.174",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.120",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.66",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}