{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142946",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.339Z",
        "datePublished": "2026-12-03T03:26:13.769Z",
        "dateUpdated": "2026-12-04T03:26:27.175Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:26:27.175Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()\n\nReplace acpi_get_first_physical_node() that is slated for removal\nwith acpi_bus_get_primary_device() that takes a reference to the\ndevice it is about to return.\n\nThis addresses a potential use-after-free that may occur if the\ndevice returned by acpi_get_first_physical_node() is removed right\nafter dropping its ACPI companion's physical_node_lock in that\nfunction.\n\nIt also fixes a device reference counting issue that may lead to\na premature device release if gpiod_get_optional() fails in\nst_es8336_late_probe()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.4,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - st_es8336_late_probe() runs only from local platform probe st_es8336_probe() for ACPI HID AMDI8336 on DMI Jadeite, ASN1D, or ASN10, via devm_snd_soc_register_card(), snd_soc_register_card(), snd_soc_bind_card(), and snd_soc_card_late_probe(). The bad reference is the ESSX8336 physical node from acpi_get_first_physical_node() during that bind.\nAC:H - put_device(codec_dev) runs only when gpiod_get_optional(\"pa-enable\") fails; acpi_get_gpiod() returns -EPROBE_DEFER when that GPIO controller has no chip yet, and a successful lookup never puts. The borrowed-pointer UAF also needs the ESSX8336 i2c client removed after acpi_get_first_physical_node() drops physical_node_lock. Probe order and that removal are outside the attacker's control.\nPR:N - st_es8336_probe() and st_es8336_late_probe() perform no capable() check. On a matching board the driver core binds ACPI HID AMDI8336 during enumeration, and a GPIO -EPROBE_DEFER from acpi_get_gpiod() reaches put_device(codec_dev) in that kernel context before any user credential is consulted.\nUI:N - The physical-node lookup and the gpiod_get_optional() error put run inside automatic platform probe, or a later card retry from soc_component_add() walking unbind_card_list. No one must open an ALSA device, mount media, or plug hardware.\nS:U - The extra put_device() and the dangling codec_dev pointer affect the host ESSX8336 i2c_client inside the same kernel that bound the st-es8316 machine driver. This stays within that kernel security authority.\nC:H - acpi_get_first_physical_node() returns pn->dev without get_device(), but the gpiod failure path calls put_device(codec_dev). That stolen reference releases the ESSX8336 i2c_client one put early, and i2c_client_dev_release() kfree()s it while device_del(), the i2c bus, or the ACPI physical_node_list still uses it, a struct device UAF that can disclose kernel memory.\nI:H - i2c_client_dev_release() kfree()s the still-registered client, whose embedded struct device carries the kobject and bus/release pointers. device_links_purge(), devres_release_all(), and kobject_del() then write through that freed object, so a reclaimed slab is a kernel write and control-flow hijack primitive.\nA:H - The unmatched put_device(codec_dev) can drop the ESSX8336 i2c_client's last reference and kfree it while device_del(), the i2c bus, and ACPI physical_node_list still dereference it, oopsing or panicking the kernel. A use of codec_dev after concurrent removal does the same."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/amd/acp-es8336.c"
                    ],
                    "versions": [
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "eb38d3e1b8c17c9f9d2e9c799ee06c61743060ae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "37ee806cbf33b336e12d39d3af9d0e779e1f4e25",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "264d56151277e23a4749d4aac74d01e49857768b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "4ebebcdb72cffade1bef207f0682496cb2ac4e3a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "6ba02f330bedf95bc7d09b2453c48c159ddefd93",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "02527c3f2300100a25524c8c020d98c7957e485e",
                            "lessThan": "6f50ab7ab1f93e874fa75d18bf98bbca4ce0204f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/amd/acp-es8336.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/eb38d3e1b8c17c9f9d2e9c799ee06c61743060ae"
                },
                {
                    "url": "https://git.kernel.org/stable/c/37ee806cbf33b336e12d39d3af9d0e779e1f4e25"
                },
                {
                    "url": "https://git.kernel.org/stable/c/264d56151277e23a4749d4aac74d01e49857768b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4ebebcdb72cffade1bef207f0682496cb2ac4e3a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6ba02f330bedf95bc7d09b2453c48c159ddefd93"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6f50ab7ab1f93e874fa75d18bf98bbca4ce0204f"
                }
            ],
            "title": "ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}