CVE-2023-52983 (GCVE-0-2023-52983)
Vulnerability from cvelistv5
Published
2025-03-27 16:43
Modified
2025-05-04 12:50
Summary
In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bic_set_bfqq() After commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'"), bic->bfqq will be accessed in bic_set_bfqq(), however, in some context bic->bfqq will be freed, and bic_set_bfqq() is called with the freed bic->bfqq. Fix the problem by always freeing bfqq after bic_set_bfqq().
Impacted products
Vendor Product Version
Linux Linux Version: 5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a
Version: 094f3d9314d67691cb21ba091c1b528f6e3c4893
Version: 761564d93c8265f65543acf0a576b32d66bfa26a
Version: 64dc8c732f5c2b406cc752e6aaa1bd5471159cab
Version: b22fd72bfebda3956efc4431b60ddfc0a51e03e0
Create a notification for this product.
   Linux Linux Version: 5.15.86   
Version: 6.1.2   
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-2023-52983",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-27T16:59:42.552227Z",
                "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-27T17:08:22.246Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-cgroup.c",
            "block/bfq-iosched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7f77f3dab5066a7c9da73d72d1eee895ff84a8d5",
              "status": "affected",
              "version": "5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a",
              "versionType": "git"
            },
            {
              "lessThan": "511c922c5bf6c8a166bea826e702336bc2424140",
              "status": "affected",
              "version": "094f3d9314d67691cb21ba091c1b528f6e3c4893",
              "versionType": "git"
            },
            {
              "lessThan": "cb1876fc33af26d00efdd473311f1b664c77c44e",
              "status": "affected",
              "version": "761564d93c8265f65543acf0a576b32d66bfa26a",
              "versionType": "git"
            },
            {
              "lessThan": "b600de2d7d3a16f9007fad1bdae82a3951a26af2",
              "status": "affected",
              "version": "64dc8c732f5c2b406cc752e6aaa1bd5471159cab",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b22fd72bfebda3956efc4431b60ddfc0a51e03e0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/bfq-cgroup.c",
            "block/bfq-iosched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5.15.93",
              "status": "affected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.11",
              "status": "affected",
              "version": "6.1.2",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.93",
                  "versionStartIncluding": "5.15.86",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.11",
                  "versionStartIncluding": "6.1.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.0.16",
                  "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 bic_set_bfqq()\n\nAfter commit 64dc8c732f5c (\"block, bfq: fix possible uaf for \u0027bfqq-\u003ebic\u0027\"),\nbic-\u003ebfqq will be accessed in bic_set_bfqq(), however, in some context\nbic-\u003ebfqq will be freed, and bic_set_bfqq() is called with the freed\nbic-\u003ebfqq.\n\nFix the problem by always freeing bfqq after bic_set_bfqq()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T12:50:01.199Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e"
        },
        {
          "url": "https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2"
        }
      ],
      "title": "block, bfq: fix uaf for bfqq in bic_set_bfqq()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52983",
    "datePublished": "2025-03-27T16:43:21.372Z",
    "dateReserved": "2025-03-27T16:40:15.740Z",
    "dateUpdated": "2025-05-04T12:50:01.199Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52983\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-03-27T17:15:45.557\",\"lastModified\":\"2025-04-01T15:39:39.127\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblock, bfq: fix uaf for bfqq in bic_set_bfqq()\\n\\nAfter commit 64dc8c732f5c (\\\"block, bfq: fix possible uaf for \u0027bfqq-\u003ebic\u0027\\\"),\\nbic-\u003ebfqq will be accessed in bic_set_bfqq(), however, in some context\\nbic-\u003ebfqq will be freed, and bic_set_bfqq() is called with the freed\\nbic-\u003ebfqq.\\n\\nFix the problem by always freeing bfqq after bic_set_bfqq().\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: block, bfq: correcci\u00f3n de uaf para bfqq en bic_set_bfqq(). Despu\u00e9s del commit 64dc8c732f5c (\\\"block, bfq: correcci\u00f3n de posible uaf para \u0027bfqq-\u0026gt;bic\u0027\\\"), se acceder\u00e1 a bic-\u0026gt;bfqq en bic_set_bfqq(). Sin embargo, en algunos contextos, se liberar\u00e1 bic-\u0026gt;bfqq y se llamar\u00e1 a bic_set_bfqq() con el bic-\u0026gt;bfqq liberado. Para solucionar el problema, libere siempre bfqq despu\u00e9s de bic_set_bfqq().\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.15.86\",\"versionEndExcluding\":\"5.15.93\",\"matchCriteriaId\":\"21081389-6ED8-4898-80ED-81EF6A2B1FEC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.2\",\"versionEndExcluding\":\"6.1.11\",\"matchCriteriaId\":\"6AACE63B-510D-430C-ACD9-34922D790040\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.0.16:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F12ACFA-7194-43FD-B79A-93AEA2668E6F\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "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-2023-52983\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-03-27T16:59:42.552227Z\"}}}], \"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-27T16:59:43.887Z\"}}], \"cna\": {\"title\": \"block, bfq: fix uaf for bfqq in bic_set_bfqq()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5533742c7cb1bc9b1f0bf401cc397d44a3a9e07a\", \"lessThan\": \"7f77f3dab5066a7c9da73d72d1eee895ff84a8d5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"094f3d9314d67691cb21ba091c1b528f6e3c4893\", \"lessThan\": \"511c922c5bf6c8a166bea826e702336bc2424140\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"761564d93c8265f65543acf0a576b32d66bfa26a\", \"lessThan\": \"cb1876fc33af26d00efdd473311f1b664c77c44e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"64dc8c732f5c2b406cc752e6aaa1bd5471159cab\", \"lessThan\": \"b600de2d7d3a16f9007fad1bdae82a3951a26af2\", \"versionType\": \"git\"}], \"programFiles\": [\"block/bfq-cgroup.c\", \"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\": \"5.15.86\", \"lessThan\": \"5.15.93\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.1.2\", \"lessThan\": \"6.1.11\", \"versionType\": \"semver\"}], \"programFiles\": [\"block/bfq-cgroup.c\", \"block/bfq-iosched.c\"], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/7f77f3dab5066a7c9da73d72d1eee895ff84a8d5\"}, {\"url\": \"https://git.kernel.org/stable/c/511c922c5bf6c8a166bea826e702336bc2424140\"}, {\"url\": \"https://git.kernel.org/stable/c/cb1876fc33af26d00efdd473311f1b664c77c44e\"}, {\"url\": \"https://git.kernel.org/stable/c/b600de2d7d3a16f9007fad1bdae82a3951a26af2\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblock, bfq: fix uaf for bfqq in bic_set_bfqq()\\n\\nAfter commit 64dc8c732f5c (\\\"block, bfq: fix possible uaf for \u0027bfqq-\u003ebic\u0027\\\"),\\nbic-\u003ebfqq will be accessed in bic_set_bfqq(), however, in some context\\nbic-\u003ebfqq will be freed, and bic_set_bfqq() is called with the freed\\nbic-\u003ebfqq.\\n\\nFix the problem by always freeing bfqq after bic_set_bfqq().\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-03-27T16:43:21.372Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52983\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-03-27T17:08:22.246Z\", \"dateReserved\": \"2025-03-27T16:40:15.740Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-03-27T16:43:21.372Z\", \"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 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…

Loading…