{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49029",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-22T01:27:53.651Z",
        "datePublished": "2024-10-21T20:06:33.918Z",
        "dateUpdated": "2026-08-05T08:53:33.547Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:53:33.547Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails\n\nSmatch report warning as follows:\n\ndrivers/hwmon/ibmpex.c:509 ibmpex_register_bmc() warn:\n  '&data->list' not removed from list\n\nIf ibmpex_find_sensors() fails in ibmpex_register_bmc(), data will\nbe freed, but data->list will not be removed from driver_data.bmc_data,\nthen list traversal may cause UAF.\n\nFix by removeing it from driver_data.bmc_data before free()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The ibmpex driver registers via an IPMI SMI watcher callback and talks to the local BMC over the IPMI system interface; an attacker needs local access on an affected IBM System X host, not network or adjacent-segment reachability.\nAC:L - Once ibmpex_find_sensors() fails after the list_add, the stale list entry is deterministic and the subsequent UAF on list traversal requires no race the attacker cannot influence; UAF bugs are scored AC:L unless an uncontrolled race is required.\nPR:L - On multi-user/datacenter IBM System X deployments the vulnerable driver can be present for a local unprivileged user, and when choosing between PR:L and PR:H the higher-severity option is required; this matches the worst reasonable local attacker model.\nUI:N - Exploitation does not require a victim to perform any action such as mounting a filesystem or opening a malicious file; the UAF follows from driver registration failure and later list traversal.\nS:U - This is a standard in-kernel use-after-free within the host kernel's authority and does not cross a VM, IOMMU, or other security boundary.\nC:H - Use-after-free of the ibmpex_bmc_data object on a traversable list enables heap reuse and arbitrary read primitives under standard kernel UAF exploitation.\nI:H - The same UAF enables heap spraying and control of the freed object's contents, yielding write/control-flow hijack primitives consistent with kernel memory-corruption impact.\nA:H - Traversing the dangling list entry can crash or oops the kernel (and UAF bugs are scored A:H even when not fully exploited for code execution)."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/hwmon/ibmpex.c"
                    ],
                    "versions": [
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "f2a13196ad41c6c2ab058279dffe6c97292e753a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "798198273bf86673b970b51acdb35e57f42b3fcb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "24b9633f7db7f4809be7053df1d2e117e7c2de10",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "90907cd4d11351ff76c9a447bcb5db0e264c47cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "45f6e81863747c0d7bc6a95ec51129900e71467a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab",
                            "lessThan": "e2a87785aab0dac190ac89be6a9ba955e2c634f2",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/hwmon/ibmpex.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.24",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.24",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.335",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.301",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.268",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.226",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.158",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.82",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.12",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "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": "2.6.24",
                                    "versionEndExcluding": "4.9.335"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "4.14.301"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "4.19.268"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "5.4.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "5.10.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "5.15.82"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "6.0.12"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.24",
                                    "versionEndExcluding": "6.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f2a13196ad41c6c2ab058279dffe6c97292e753a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/798198273bf86673b970b51acdb35e57f42b3fcb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/24b9633f7db7f4809be7053df1d2e117e7c2de10"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7b2b67fe1339389e0bf3c37c7a677a004ac0e4e3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/90907cd4d11351ff76c9a447bcb5db0e264c47cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/45f6e81863747c0d7bc6a95ec51129900e71467a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e65cfd1f9cd27d9c27ee5cb88128a9f79f25d863"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e2a87785aab0dac190ac89be6a9ba955e2c634f2"
                }
            ],
            "title": "hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-49029",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-10-22T13:11:29.003244Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-22T13:18:36.071Z"
                }
            }
        ]
    }
}