CVE-2021-47646 (GCVE-0-2021-47646)

Vulnerability from cvelistv5 – Published: 2025-02-26 01:54 – Updated: 2025-05-04 07:15
VLAI?
Title
Revert "Revert "block, bfq: honor already-setup queue merges""
Summary
In the Linux kernel, the following vulnerability has been resolved: Revert "Revert "block, bfq: honor already-setup queue merges"" A crash [1] happened to be triggered in conjunction with commit 2d52c58b9c9b ("block, bfq: honor already-setup queue merges"). The latter was then reverted by commit ebc69e897e17 ("Revert "block, bfq: honor already-setup queue merges""). Yet, the reverted commit was not the one introducing the bug. In fact, it actually triggered a UAF introduced by a different commit, and now fixed by commit d29bd41428cf ("block, bfq: reset last_bfqq_created on group change"). So, there is no point in keeping commit 2d52c58b9c9b ("block, bfq: honor already-setup queue merges") out. This commit restores it. [1] https://bugzilla.kernel.org/show_bug.cgi?id=214503
CWE
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < f990f0985eda59d4f29fc83fcf300c92b1225d39 (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < 931aff627469a75c77b9fd3823146d0575afffd6 (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < cc051f497eac9d8a0d816cd4bffa3415f2724871 (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < 65d8a737452e88f251fe5d925371de6d606df613 (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < abc2129e646af7b43025d90a071f83043f1ae76c (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < 4083925bd6dc89216d156474a8076feec904e607 (git)
Affected: aee69d78dec0ffdf82e35d57c626e80dddc314d5 , < 15729ff8143f8135b03988a100a19e66d7cb7ecd (git)
Create a notification for this product.
    Linux Linux Affected: 4.12
Unaffected: 0 , < 4.12 (semver)
Unaffected: 4.19.238 , ≤ 4.19.* (semver)
Unaffected: 5.4.189 , ≤ 5.4.* (semver)
Unaffected: 5.10.110 , ≤ 5.10.* (semver)
Unaffected: 5.15.33 , ≤ 5.15.* (semver)
Unaffected: 5.16.19 , ≤ 5.16.* (semver)
Unaffected: 5.17.2 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (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-2021-47646",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T17:59:39.194997Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T18:02:30.637Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-iosched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f990f0985eda59d4f29fc83fcf300c92b1225d39",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "931aff627469a75c77b9fd3823146d0575afffd6",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "cc051f497eac9d8a0d816cd4bffa3415f2724871",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "65d8a737452e88f251fe5d925371de6d606df613",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "abc2129e646af7b43025d90a071f83043f1ae76c",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "4083925bd6dc89216d156474a8076feec904e607",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            },
            {
              "lessThan": "15729ff8143f8135b03988a100a19e66d7cb7ecd",
              "status": "affected",
              "version": "aee69d78dec0ffdf82e35d57c626e80dddc314d5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-iosched.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": "4.19.*",
              "status": "unaffected",
              "version": "4.19.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.238",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.189",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.110",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"Revert \"block, bfq: honor already-setup queue merges\"\"\n\nA crash [1] happened to be triggered in conjunction with commit\n2d52c58b9c9b (\"block, bfq: honor already-setup queue merges\"). The\nlatter was then reverted by commit ebc69e897e17 (\"Revert \"block, bfq:\nhonor already-setup queue merges\"\"). Yet, the reverted commit was not\nthe one introducing the bug. In fact, it actually triggered a UAF\nintroduced by a different commit, and now fixed by commit d29bd41428cf\n(\"block, bfq: reset last_bfqq_created on group change\").\n\nSo, there is no point in keeping commit 2d52c58b9c9b (\"block, bfq:\nhonor already-setup queue merges\") out. This commit restores it.\n\n[1] https://bugzilla.kernel.org/show_bug.cgi?id=214503"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:15:26.899Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f990f0985eda59d4f29fc83fcf300c92b1225d39"
        },
        {
          "url": "https://git.kernel.org/stable/c/931aff627469a75c77b9fd3823146d0575afffd6"
        },
        {
          "url": "https://git.kernel.org/stable/c/cc051f497eac9d8a0d816cd4bffa3415f2724871"
        },
        {
          "url": "https://git.kernel.org/stable/c/65d8a737452e88f251fe5d925371de6d606df613"
        },
        {
          "url": "https://git.kernel.org/stable/c/abc2129e646af7b43025d90a071f83043f1ae76c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4083925bd6dc89216d156474a8076feec904e607"
        },
        {
          "url": "https://git.kernel.org/stable/c/15729ff8143f8135b03988a100a19e66d7cb7ecd"
        }
      ],
      "title": "Revert \"Revert \"block, bfq: honor already-setup queue merges\"\"",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47646",
    "datePublished": "2025-02-26T01:54:15.122Z",
    "dateReserved": "2025-02-26T01:48:21.520Z",
    "dateUpdated": "2025-05-04T07:15:26.899Z",
    "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-2021-47646\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-27T17:59:39.194997Z\"}}}], \"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-02-27T17:59:40.880Z\"}}], \"cna\": {\"title\": \"Revert \\\"Revert \\\"block, bfq: honor already-setup queue merges\\\"\\\"\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"f990f0985eda59d4f29fc83fcf300c92b1225d39\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"931aff627469a75c77b9fd3823146d0575afffd6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"cc051f497eac9d8a0d816cd4bffa3415f2724871\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"65d8a737452e88f251fe5d925371de6d606df613\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"abc2129e646af7b43025d90a071f83043f1ae76c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"4083925bd6dc89216d156474a8076feec904e607\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aee69d78dec0ffdf82e35d57c626e80dddc314d5\", \"lessThan\": \"15729ff8143f8135b03988a100a19e66d7cb7ecd\", \"versionType\": \"git\"}], \"programFiles\": [\"block/bfq-iosched.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\": \"4.19.238\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.189\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.110\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.33\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.19\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"block/bfq-iosched.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f990f0985eda59d4f29fc83fcf300c92b1225d39\"}, {\"url\": \"https://git.kernel.org/stable/c/931aff627469a75c77b9fd3823146d0575afffd6\"}, {\"url\": \"https://git.kernel.org/stable/c/cc051f497eac9d8a0d816cd4bffa3415f2724871\"}, {\"url\": \"https://git.kernel.org/stable/c/65d8a737452e88f251fe5d925371de6d606df613\"}, {\"url\": \"https://git.kernel.org/stable/c/abc2129e646af7b43025d90a071f83043f1ae76c\"}, {\"url\": \"https://git.kernel.org/stable/c/4083925bd6dc89216d156474a8076feec904e607\"}, {\"url\": \"https://git.kernel.org/stable/c/15729ff8143f8135b03988a100a19e66d7cb7ecd\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nRevert \\\"Revert \\\"block, bfq: honor already-setup queue merges\\\"\\\"\\n\\nA crash [1] happened to be triggered in conjunction with commit\\n2d52c58b9c9b (\\\"block, bfq: honor already-setup queue merges\\\"). The\\nlatter was then reverted by commit ebc69e897e17 (\\\"Revert \\\"block, bfq:\\nhonor already-setup queue merges\\\"\\\"). Yet, the reverted commit was not\\nthe one introducing the bug. In fact, it actually triggered a UAF\\nintroduced by a different commit, and now fixed by commit d29bd41428cf\\n(\\\"block, bfq: reset last_bfqq_created on group change\\\").\\n\\nSo, there is no point in keeping commit 2d52c58b9c9b (\\\"block, bfq:\\nhonor already-setup queue merges\\\") out. This commit restores it.\\n\\n[1] https://bugzilla.kernel.org/show_bug.cgi?id=214503\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-03-26T17:44:47.979Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47646\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-03-26T17:44:47.979Z\", \"dateReserved\": \"2025-02-26T01:48:21.520Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T01:54:15.122Z\", \"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…