CVE-2022-50423 (GCVE-0-2022-50423)
Vulnerability from cvelistv5
Published
2025-10-01 11:41
Modified
2025-10-01 11:41
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage() There is an use-after-free reported by KASAN: BUG: KASAN: use-after-free in acpi_ut_remove_reference+0x3b/0x82 Read of size 1 at addr ffff888112afc460 by task modprobe/2111 CPU: 0 PID: 2111 Comm: modprobe Not tainted 6.1.0-rc7-dirty Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), Call Trace: <TASK> kasan_report+0xae/0xe0 acpi_ut_remove_reference+0x3b/0x82 acpi_ut_copy_iobject_to_iobject+0x3be/0x3d5 acpi_ds_store_object_to_local+0x15d/0x3a0 acpi_ex_store+0x78d/0x7fd acpi_ex_opcode_1A_1T_1R+0xbe4/0xf9b acpi_ps_parse_aml+0x217/0x8d5 ... </TASK> The root cause of the problem is that the acpi_operand_object is freed when acpi_ut_walk_package_tree() fails in acpi_ut_copy_ipackage_to_ipackage(), lead to repeated release in acpi_ut_copy_iobject_to_iobject(). The problem was introduced by "8aa5e56eeb61" commit, this commit is to fix memory leak in acpi_ut_copy_iobject_to_iobject(), repeatedly adding remove operation, lead to "acpi_operand_object" used after free. Fix it by removing acpi_ut_remove_reference() in acpi_ut_copy_ipackage_to_ipackage(). acpi_ut_copy_ipackage_to_ipackage() is called to copy an internal package object into another internal package object, when it fails, the memory of acpi_operand_object should be freed by the caller.
Impacted products
Vendor Product Version
Linux Linux Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce
Version: b3e98f0c4f996cd53b80bad71f0d7e4a2cf3a4e8
Version: 7af5504c102a378376101dbd160246b10a814dd0
Version: e29a15484d7ea949e49ae7fb7e576a575da824a6
Version: e2ab6731a36966d042a2d4dabd980496cd680f75
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/acpi/acpica/utcopy.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "133462d35dae95edb944af86b986d4c9dec59bd1",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "02f237423c9c6a18e062de2d474f85d5659e4eb9",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "c9125b643fc51b8e662f2f614096ceb45a0adbc3",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "dfdde4d5138bc023897033a5ac653a84e94805be",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "02617006b5a46f2ea55ac61f5693c7afd7bf9276",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "6fde666278f91b85d71545a0ebbf41d8d7af8074",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "01f2c2052ea50fb9a8ce12e4e83aed0267934ef0",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "lessThan": "470188b09e92d83c5a997f25f0e8fb8cd2bc3469",
              "status": "affected",
              "version": "8aa5e56eeb61a099ea6519eb30ee399e1bc043ce",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b3e98f0c4f996cd53b80bad71f0d7e4a2cf3a4e8",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7af5504c102a378376101dbd160246b10a814dd0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e29a15484d7ea949e49ae7fb7e576a575da824a6",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e2ab6731a36966d042a2d4dabd980496cd680f75",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/acpi/acpica/utcopy.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.17"
            },
            {
              "lessThan": "3.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.10.55",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.12.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.14.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()\n\nThere is an use-after-free reported by KASAN:\n\n  BUG: KASAN: use-after-free in acpi_ut_remove_reference+0x3b/0x82\n  Read of size 1 at addr ffff888112afc460 by task modprobe/2111\n  CPU: 0 PID: 2111 Comm: modprobe Not tainted 6.1.0-rc7-dirty\n  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),\n  Call Trace:\n   \u003cTASK\u003e\n   kasan_report+0xae/0xe0\n   acpi_ut_remove_reference+0x3b/0x82\n   acpi_ut_copy_iobject_to_iobject+0x3be/0x3d5\n   acpi_ds_store_object_to_local+0x15d/0x3a0\n   acpi_ex_store+0x78d/0x7fd\n   acpi_ex_opcode_1A_1T_1R+0xbe4/0xf9b\n   acpi_ps_parse_aml+0x217/0x8d5\n   ...\n   \u003c/TASK\u003e\n\nThe root cause of the problem is that the acpi_operand_object\nis freed when acpi_ut_walk_package_tree() fails in\nacpi_ut_copy_ipackage_to_ipackage(), lead to repeated release in\nacpi_ut_copy_iobject_to_iobject(). The problem was introduced\nby \"8aa5e56eeb61\" commit, this commit is to fix memory leak in\nacpi_ut_copy_iobject_to_iobject(), repeatedly adding remove\noperation, lead to \"acpi_operand_object\" used after free.\n\nFix it by removing acpi_ut_remove_reference() in\nacpi_ut_copy_ipackage_to_ipackage(). acpi_ut_copy_ipackage_to_ipackage()\nis called to copy an internal package object into another internal\npackage object, when it fails, the memory of acpi_operand_object\nshould be freed by the caller."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-01T11:41:56.083Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/133462d35dae95edb944af86b986d4c9dec59bd1"
        },
        {
          "url": "https://git.kernel.org/stable/c/02f237423c9c6a18e062de2d474f85d5659e4eb9"
        },
        {
          "url": "https://git.kernel.org/stable/c/c9125b643fc51b8e662f2f614096ceb45a0adbc3"
        },
        {
          "url": "https://git.kernel.org/stable/c/dfdde4d5138bc023897033a5ac653a84e94805be"
        },
        {
          "url": "https://git.kernel.org/stable/c/02617006b5a46f2ea55ac61f5693c7afd7bf9276"
        },
        {
          "url": "https://git.kernel.org/stable/c/6fde666278f91b85d71545a0ebbf41d8d7af8074"
        },
        {
          "url": "https://git.kernel.org/stable/c/f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/01f2c2052ea50fb9a8ce12e4e83aed0267934ef0"
        },
        {
          "url": "https://git.kernel.org/stable/c/470188b09e92d83c5a997f25f0e8fb8cd2bc3469"
        }
      ],
      "title": "ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50423",
    "datePublished": "2025-10-01T11:41:56.083Z",
    "dateReserved": "2025-09-17T14:53:07.004Z",
    "dateUpdated": "2025-10-01T11:41:56.083Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50423\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:33.683\",\"lastModified\":\"2025-10-02T19:12:17.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()\\n\\nThere is an use-after-free reported by KASAN:\\n\\n  BUG: KASAN: use-after-free in acpi_ut_remove_reference+0x3b/0x82\\n  Read of size 1 at addr ffff888112afc460 by task modprobe/2111\\n  CPU: 0 PID: 2111 Comm: modprobe Not tainted 6.1.0-rc7-dirty\\n  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),\\n  Call Trace:\\n   \u003cTASK\u003e\\n   kasan_report+0xae/0xe0\\n   acpi_ut_remove_reference+0x3b/0x82\\n   acpi_ut_copy_iobject_to_iobject+0x3be/0x3d5\\n   acpi_ds_store_object_to_local+0x15d/0x3a0\\n   acpi_ex_store+0x78d/0x7fd\\n   acpi_ex_opcode_1A_1T_1R+0xbe4/0xf9b\\n   acpi_ps_parse_aml+0x217/0x8d5\\n   ...\\n   \u003c/TASK\u003e\\n\\nThe root cause of the problem is that the acpi_operand_object\\nis freed when acpi_ut_walk_package_tree() fails in\\nacpi_ut_copy_ipackage_to_ipackage(), lead to repeated release in\\nacpi_ut_copy_iobject_to_iobject(). The problem was introduced\\nby \\\"8aa5e56eeb61\\\" commit, this commit is to fix memory leak in\\nacpi_ut_copy_iobject_to_iobject(), repeatedly adding remove\\noperation, lead to \\\"acpi_operand_object\\\" used after free.\\n\\nFix it by removing acpi_ut_remove_reference() in\\nacpi_ut_copy_ipackage_to_ipackage(). acpi_ut_copy_ipackage_to_ipackage()\\nis called to copy an internal package object into another internal\\npackage object, when it fails, the memory of acpi_operand_object\\nshould be freed by the caller.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/01f2c2052ea50fb9a8ce12e4e83aed0267934ef0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/02617006b5a46f2ea55ac61f5693c7afd7bf9276\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/02f237423c9c6a18e062de2d474f85d5659e4eb9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/133462d35dae95edb944af86b986d4c9dec59bd1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/470188b09e92d83c5a997f25f0e8fb8cd2bc3469\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6fde666278f91b85d71545a0ebbf41d8d7af8074\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c9125b643fc51b8e662f2f614096ceb45a0adbc3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfdde4d5138bc023897033a5ac653a84e94805be\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6\",\"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.
  • 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…