CVE-2022-49411 (GCVE-0-2022-49411)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:12 – Updated: 2025-05-04 08:37
VLAI?
Title
bfq: Make sure bfqg for which we are queueing requests is online
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.
CWE
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < ccddf8cd411c1800863ed357064e56ceffd356bb (git)
Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < 51f724bffa3403a5236597e6b75df7329c1ec6e9 (git)
Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < 6ee0868b0c3ccead5907685fcdcdd0c08dfe4b0b (git)
Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < 97bd6c56bdcb41079e488e31df56809e3b2ce628 (git)
Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < 7781c38552e6cc54ed8e9040279561340516b881 (git)
Affected: e21b7a0b988772e82e7147e1c659a5afe2ae003c , < 075a53b78b815301f8d3dd1ee2cd99554e34f0dd (git)
Create a notification for this product.
    Linux Linux Affected: 4.12
Unaffected: 0 , < 4.12 (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.121 , ≤ 5.10.* (semver)
Unaffected: 5.15.46 , ≤ 5.15.* (semver)
Unaffected: 5.17.14 , ≤ 5.17.* (semver)
Unaffected: 5.18.3 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:37:06.106Z",
        "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": "2025-05-04T08:37:06.106Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "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-5f407fcff5a0\"}, \"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.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-02-26T02:12:33.628Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49411\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-03-05T21:21:43.730Z\", \"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.1"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…