{
  "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-2022-48821",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-48821",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-16T11:44:07.965Z",
    "updatedAt": "2026-08-05T08:52:29.928Z",
    "importedAt": "2026-10-24T01:56:45.230Z",
    "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": "misc: fastrpc: avoid double fput() on failed usercopy",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: avoid double fput() on failed usercopy\n\nIf the copy back to userland fails for the FASTRPC_IOCTL_ALLOC_DMA_BUFF\nioctl(), we shouldn't assume that 'buf->dmabuf' is still valid. In fact,\ndma_buf_fd() called fd_install() before, i.e. \"consumed\" one reference,\nleaving us with none.\n\nCalling dma_buf_put() will therefore put a reference we no longer own,\nleading to a valid file descritor table entry for an already released\n'file' object which is a straight use-after-free.\n\nSimply avoid calling dma_buf_put() and rely on the process exit code to\ndo the necessary cleanup, if needed, i.e. if the file descriptor is\nstill valid.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6cffd79504ce040f460831030d3069fa1c99bb71",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4e6fd2b5fcf8e7119305a6042bd92e7f2b9ed215"
            },
            {
              "version": "6cffd79504ce040f460831030d3069fa1c99bb71",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a5ce7ee5fcc07583159f54ab4af5164de00148f5"
            },
            {
              "version": "6cffd79504ce040f460831030d3069fa1c99bb71",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e4382d0a39f9a1e260d62fdc079ddae5293c037d"
            },
            {
              "version": "6cffd79504ce040f460831030d3069fa1c99bb71",
              "status": "affected",
              "versionType": "git",
              "lessThan": "76f85c307ef9f10aa2cef1b1d5ee654c1f3345fc"
            },
            {
              "version": "6cffd79504ce040f460831030d3069fa1c99bb71",
              "status": "affected",
              "versionType": "git",
              "lessThan": "46963e2e0629cb31c96b1d47ddd89dc3d8990b34"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.1"
            },
            {
              "version": "5.4.180",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.101",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.24",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.16.*"
            },
            {
              "version": "5.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}