{"id":"CVE-2022-50423","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-10-01T12:15:33.683","lastModified":"2026-06-17T05:23:31.393","vulnStatus":"Modified","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   <TASK>\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   </TASK>\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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/acpi/acpica/utcopy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"133462d35dae95edb944af86b986d4c9dec59bd1","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"02f237423c9c6a18e062de2d474f85d5659e4eb9","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"c9125b643fc51b8e662f2f614096ceb45a0adbc3","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"dfdde4d5138bc023897033a5ac653a84e94805be","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"02617006b5a46f2ea55ac61f5693c7afd7bf9276","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"6fde666278f91b85d71545a0ebbf41d8d7af8074","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"01f2c2052ea50fb9a8ce12e4e83aed0267934ef0","versionType":"git","status":"affected"},{"version":"8aa5e56eeb61a099ea6519eb30ee399e1bc043ce","lessThan":"470188b09e92d83c5a997f25f0e8fb8cd2bc3469","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","status":"affected"},{"version":"3.10.55","lessThan":"3.11","versionType":"semver","status":"affected"},{"version":"3.12.29","lessThan":"3.13","versionType":"semver","status":"affected"},{"version":"3.14.19","lessThan":"3.15","versionType":"semver","status":"affected"},{"version":"3.16.3","lessThan":"3.17","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/acpi/acpica/utcopy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","versionType":"semver","status":"unaffected"},{"version":"4.9.337","lessThanOrEqual":"4.9.*","versionType":"semver","status":"unaffected"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","versionType":"semver","status":"unaffected"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","versionType":"semver","status":"unaffected"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","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},{"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}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-14T17:39:57.539191Z","id":"CVE-2022-50423","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-416"}]},{"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":"3.10.55","versionEndExcluding":"3.11","matchCriteriaId":"5A516330-2A83-4603-8C0E-BBDFEECC27E9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12.29","versionEndExcluding":"3.13","matchCriteriaId":"25875AFE-CAEF-4D99-9B64-23F2B24C08D0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14.19","versionEndExcluding":"3.15","matchCriteriaId":"5D53296D-7B6A-4B74-A72C-45082E6C8531"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16.3","versionEndExcluding":"4.9.337","matchCriteriaId":"D40F5AA2-90E2-40CE-A033-F1CB0E73BF7C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.14.303","matchCriteriaId":"1E7450AD-4739-46F0-B81B-C02E7B35A97B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.270","matchCriteriaId":"AE8904A3-99BE-4E49-9682-1F90A6373F4F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.229","matchCriteriaId":"A0C0D95E-414A-445E-941B-3EF6A4D3A093"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.163","matchCriteriaId":"D05D31FC-BD74-4F9E-B1D8-9CED62BE6F65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.86","matchCriteriaId":"47237296-55D1-4ED4-8075-D00FC85A61EE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.0.16","matchCriteriaId":"C720A569-3D93-4D77-95F6-E2B3A3267D9F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.2","matchCriteriaId":"77239F4B-6BB2-4B9E-A654-36A52396116C"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/01f2c2052ea50fb9a8ce12e4e83aed0267934ef0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/02617006b5a46f2ea55ac61f5693c7afd7bf9276","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/02f237423c9c6a18e062de2d474f85d5659e4eb9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/133462d35dae95edb944af86b986d4c9dec59bd1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/470188b09e92d83c5a997f25f0e8fb8cd2bc3469","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6fde666278f91b85d71545a0ebbf41d8d7af8074","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c9125b643fc51b8e662f2f614096ceb45a0adbc3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dfdde4d5138bc023897033a5ac653a84e94805be","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}