{
  "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-49870",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49870",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-05-01T14:10:21.134Z",
    "updatedAt": "2026-05-11T19:08:20.102Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "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": "capabilities: fix undefined behavior in bit shift for CAP_TO_MASK",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncapabilities: fix undefined behavior in bit shift for CAP_TO_MASK\n\nShifting signed 32-bit value by 31 bits is undefined, so changing\nsignificant bit to unsigned. The UBSAN warning calltrace like below:\n\nUBSAN: shift-out-of-bounds in security/commoncap.c:1252:2\nleft shift of 1 by 31 places cannot be represented in type 'int'\nCall Trace:\n <TASK>\n dump_stack_lvl+0x7d/0xa5\n dump_stack+0x15/0x1b\n ubsan_epilogue+0xe/0x4e\n __ubsan_handle_shift_out_of_bounds+0x1e7/0x20c\n cap_task_prctl+0x561/0x6f0\n security_task_prctl+0x5a/0xb0\n __x64_sys_prctl+0x61/0x8f0\n do_syscall_64+0x58/0x80\n entry_SYSCALL_64_after_hwframe+0x63/0xcd\n </TASK>",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5b79fa628e2ab789e629a83cd211ef9b4c1a593e"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "65b0bc7a0690861812ade523d19f82688ab819dc"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dbaab08c8677d598244d21afb7818e44e1c5d826"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5661f111a1616ac105ec8cec81bff99b60f847ac"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fcbd2b336834bd24e1d9454ad5737856470c10d7"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "151dc8087b5609e53b069c068e3f3ee100efa586"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "27bdb134c043ff32c459d98f16550d0ffa0b3c34"
            },
            {
              "version": "e338d263a76af78fe8f38a72131188b58fceb591",
              "status": "affected",
              "versionType": "git",
              "lessThan": "46653972e3ea64f79e7f8ae3aa41a4d3fdb70a13"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.25",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.25"
            },
            {
              "version": "4.9.334",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.300",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.267",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.225",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.155",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.79",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}