CVE-2022-49411 (GCVE-0-2022-49411)
Vulnerability from cvelistv5
Published
2025-02-26 02:12
Modified
2026-08-05 08:55
Summary
In the Linux kernel, the following vulnerability has been resolved: bfq: Make sure bfqg for which we are queueing requests is online Bios queued into BFQ IO scheduler can be associated with a cgroup that was already offlined. This may then cause insertion of this bfq_group into a service tree. But this bfq_group will get freed as soon as last bio associated with it is completed leading to use after free issues for service tree users. Fix the problem by making sure we always operate on online bfq_group. If the bfq_group associated with the bio is not online, we pick the first online parent.
Impacted products
Vendor Product Version
Linux Linux Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Version: e21b7a0b988772e82e7147e1c659a5afe2ae003c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49411",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-05T21:14:17.027775Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-03-05T21:21:43.730Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-cgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ccddf8cd411c1800863ed357064e56ceffd356bb",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            },
            {
              "lessThan": "51f724bffa3403a5236597e6b75df7329c1ec6e9",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            },
            {
              "lessThan": "6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            },
            {
              "lessThan": "97bd6c56bdcb41079e488e31df56809e3b2ce628",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            },
            {
              "lessThan": "7781c38552e6cc54ed8e9040279561340516b881",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            },
            {
              "lessThan": "075a53b78b815301f8d3dd1ee2cd99554e34f0dd",
              "status": "affected",
              "version": "e21b7a0b988772e82e7147e1c659a5afe2ae003c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-cgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbfq: Make sure bfqg for which we are queueing requests is online\n\nBios queued into BFQ IO scheduler can be associated with a cgroup that\nwas already offlined. This may then cause insertion of this bfq_group\ninto a service tree. But this bfq_group will get freed as soon as last\nbio associated with it is completed leading to use after free issues for\nservice tree users. Fix the problem by making sure we always operate on\nonline bfq_group. If the bfq_group associated with the bio is not\nonline, we pick the first online parent."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached through local block I/O on a BFQ-scheduled device (read/write syscalls) combined with blkcg/cgroup lifecycle operations, not via network packet processing.\nAC:L - An attacker can reliably drive both sides by creating a cgroup, submitting in-flight bios, then offlining/destroying that cgroup so bfq_bio_bfqg links the dead bfq_group into the service tree; no external timing beyond attacker control is required.\nPR:L - An unprivileged local user can trigger this via ordinary I/O plus cgroup create/rmdir or migration in a delegated hierarchy (systemd user sessions, containers, Android app cgroups); real init-namespace root is not required.\nUI:N - The attacker performs the I/O and cgroup offline sequence themselves; no separate victim action is needed.\nS:U - This is a kernel heap use-after-free enabling privilege escalation within the same kernel security authority, not a VM/IOMMU/sandbox boundary crossing.\nC:H - Use-after-free of bfq_group on the BFQ service tree allows reclaim and reuse of the freed object, yielding an arbitrary kernel read primitive.\nI:H - The same UAF on service-tree-linked bfq_group memory enables heap spray and corrupted scheduler entities, providing arbitrary write / control-flow hijack potential.\nA:H - Walking freed bfq_group entities in the service tree causes kernel oops/panic (as seen in related BFQ KASAN UAF reports), so availability impact is high."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:55:05.326Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ccddf8cd411c1800863ed357064e56ceffd356bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/51f724bffa3403a5236597e6b75df7329c1ec6e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b"
        },
        {
          "url": "https://git.kernel.org/stable/c/97bd6c56bdcb41079e488e31df56809e3b2ce628"
        },
        {
          "url": "https://git.kernel.org/stable/c/7781c38552e6cc54ed8e9040279561340516b881"
        },
        {
          "url": "https://git.kernel.org/stable/c/075a53b78b815301f8d3dd1ee2cd99554e34f0dd"
        }
      ],
      "title": "bfq: Make sure bfqg for which we are queueing requests is online",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49411",
    "datePublished": "2025-02-26T02:12:33.628Z",
    "dateReserved": "2025-02-26T02:08:31.567Z",
    "dateUpdated": "2026-08-05T08:55:05.326Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49411\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-03-05T21:14:17.027775Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-03-05T21:14:18.508Z\"}}], \"cna\": {\"title\": \"bfq: Make sure bfqg for which we are queueing requests is online\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"ccddf8cd411c1800863ed357064e56ceffd356bb\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"51f724bffa3403a5236597e6b75df7329c1ec6e9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"97bd6c56bdcb41079e488e31df56809e3b2ce628\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"7781c38552e6cc54ed8e9040279561340516b881\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e21b7a0b988772e82e7147e1c659a5afe2ae003c\", \"lessThan\": \"075a53b78b815301f8d3dd1ee2cd99554e34f0dd\", \"versionType\": \"git\"}], \"programFiles\": [\"block/bfq-cgroup.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.12\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.12\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.121\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.46\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.14\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.18.*\"}, {\"status\": \"unaffected\", \"version\": \"5.19\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"block/bfq-cgroup.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ccddf8cd411c1800863ed357064e56ceffd356bb\"}, {\"url\": \"https://git.kernel.org/stable/c/51f724bffa3403a5236597e6b75df7329c1ec6e9\"}, {\"url\": \"https://git.kernel.org/stable/c/6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b\"}, {\"url\": \"https://git.kernel.org/stable/c/97bd6c56bdcb41079e488e31df56809e3b2ce628\"}, {\"url\": \"https://git.kernel.org/stable/c/7781c38552e6cc54ed8e9040279561340516b881\"}, {\"url\": \"https://git.kernel.org/stable/c/075a53b78b815301f8d3dd1ee2cd99554e34f0dd\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbfq: Make sure bfqg for which we are queueing requests is online\\n\\nBios queued into BFQ IO scheduler can be associated with a cgroup that\\nwas already offlined. This may then cause insertion of this bfq_group\\ninto a service tree. But this bfq_group will get freed as soon as last\\nbio associated with it is completed leading to use after free issues for\\nservice tree users. Fix the problem by making sure we always operate on\\nonline bfq_group. If the bfq_group associated with the bio is not\\nonline, we pick the first online parent.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.198\", \"versionStartIncluding\": \"4.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.121\", \"versionStartIncluding\": \"4.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.46\", \"versionStartIncluding\": \"4.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.14\", \"versionStartIncluding\": \"4.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18.3\", \"versionStartIncluding\": \"4.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19\", \"versionStartIncluding\": \"4.12\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T18:59:14.605Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49411\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T18:59:14.605Z\", \"dateReserved\": \"2025-02-26T02:08:31.567Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T02:12:33.628Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…