CVE-2022-50329 (GCVE-0-2022-50329)
Vulnerability from cvelistv5
Published
2025-09-15 14:49
Modified
2025-09-15 14:49
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq Commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'") will access 'bic->bfqq' in bic_set_bfqq(), however, bfq_exit_icq_bfqq() can free bfqq first, and then call bic_set_bfqq(), which will cause uaf. Fix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq().
Impacted products
Vendor Product Version
Linux Linux Version: 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a
Version: 094f3d9314d67691cb21ba091c1b528f6e3c4893
Version: b22fd72bfebda3956efc4431b60ddfc0a51e03e0
Version: 761564d93c8265f65543acf0a576b32d66bfa26a
Version: 64dc8c732f5c2b406cc752e6aaa1bd5471159cab
Create a notification for this product.
   Linux Linux Version: 5.15.86   
Version: 6.0.16   
Version: 6.1.2   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "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": "1425f1bb5df5239021fd09ebc2a5e8070e705d36",
              "status": "affected",
              "version": "5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a",
              "versionType": "git"
            },
            {
              "lessThan": "7949b0df3dd9f4817ed4a4e989fa9ee81df6205f",
              "status": "affected",
              "version": "094f3d9314d67691cb21ba091c1b528f6e3c4893",
              "versionType": "git"
            },
            {
              "lessThan": "cfe5b38c37720313eff0dec5517442c7ab3c9a20",
              "status": "affected",
              "version": "b22fd72bfebda3956efc4431b60ddfc0a51e03e0",
              "versionType": "git"
            },
            {
              "lessThan": "1ed959fef5b1c6f1a7a3fbea543698c30ebd6678",
              "status": "affected",
              "version": "761564d93c8265f65543acf0a576b32d66bfa26a",
              "versionType": "git"
            },
            {
              "lessThan": "246cf66e300b76099b5dbd3fdd39e9a5dbc53f02",
              "status": "affected",
              "version": "64dc8c732f5c2b406cc752e6aaa1bd5471159cab",
              "versionType": "git"
            }
          ]
        },
        {
          "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": "5.15.87",
              "status": "affected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThan": "6.0.17",
              "status": "affected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.3",
              "status": "affected",
              "version": "6.1.2",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.87",
                  "versionStartIncluding": "5.15.86",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.17",
                  "versionStartIncluding": "6.0.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.3",
                  "versionStartIncluding": "6.1.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq\n\nCommit 64dc8c732f5c (\"block, bfq: fix possible uaf for \u0027bfqq-\u003ebic\u0027\")\nwill access \u0027bic-\u003ebfqq\u0027 in bic_set_bfqq(), however, bfq_exit_icq_bfqq()\ncan free bfqq first, and then call bic_set_bfqq(), which will cause uaf.\n\nFix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:49:32.123Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36"
        },
        {
          "url": "https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f"
        },
        {
          "url": "https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678"
        },
        {
          "url": "https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02"
        }
      ],
      "title": "block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50329",
    "datePublished": "2025-09-15T14:49:32.123Z",
    "dateReserved": "2025-09-15T14:18:36.815Z",
    "dateUpdated": "2025-09-15T14:49:32.123Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50329\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:45.067\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblock, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq\\n\\nCommit 64dc8c732f5c (\\\"block, bfq: fix possible uaf for \u0027bfqq-\u003ebic\u0027\\\")\\nwill access \u0027bic-\u003ebfqq\u0027 in bic_set_bfqq(), however, bfq_exit_icq_bfqq()\\ncan free bfqq first, and then call bic_set_bfqq(), which will cause uaf.\\n\\nFix the problem by moving bfq_exit_bfqq() behind bic_set_bfqq().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1425f1bb5df5239021fd09ebc2a5e8070e705d36\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1ed959fef5b1c6f1a7a3fbea543698c30ebd6678\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/246cf66e300b76099b5dbd3fdd39e9a5dbc53f02\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7949b0df3dd9f4817ed4a4e989fa9ee81df6205f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cfe5b38c37720313eff0dec5517442c7ab3c9a20\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.
  • 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…