Files
vuln-cve/data/2026/31xxx/CVE-2026-31782.json
T

159 lines
8.2 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-31782",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-03-09T15:48:24.141Z",
"datePublished": "2026-05-01T14:15:08.586Z",
"dateUpdated": "2026-08-05T12:25:09.961Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:25:09.961Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86: Fix potential bad container_of in intel_pmu_hw_config\n\nAuto counter reload may have a group of events with software events\npresent within it. The software event PMU isn't the x86_hybrid_pmu and\na container_of operation in intel_pmu_set_acr_caused_constr (via the\nhybrid helper) could cause out of bound memory reads. Avoid this by\nguarding the call to intel_pmu_set_acr_caused_constr with an\nis_x86_event check."
}
],
"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 vulnerable path is reached through the local perf_event_open() syscall by creating a crafted perf hardware event group containing a software event.\nAC:L - An attacker controls the event group layout and acr_mask/config2 values needed to hit the bad sibling handling; no race or victim-controlled timing is required.\nPR:L - A basic local user can reach per-task perf events, especially with user-only sampling attributes such as exclude_kernel set; system-wide or kernel profiling privileges are not required for the vulnerable initialization path.\nUI:N - No victim action is needed beyond the attacker issuing perf_event_open() calls.\nS:U - The bug is in the kernel perf/x86 subsystem and impacts the same kernel security authority, with no VM, IOMMU, or sandbox boundary change.\nC:H - The bug performs an out-of-bounds kernel memory read by treating a software PMU as an x86_hybrid_pmu through container_of; under the required conservative scoring, this kernel OOB read is high confidentiality impact.\nI:H - The bad container_of is a kernel type-confusion-style memory safety flaw in perf event group configuration; conservatively, such corruption of kernel object interpretation is scored as potentially allowing high integrity impact.\nA:H - The crafted event group can repeatedly trigger the invalid kernel memory access from an unprivileged local context, which can produce a kernel fault/oops or panic on affected builds."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/x86/events/intel/core.c"
],
"versions": [
{
"version": "ec980e4facef8110f6fce27e5b6344660117f01f",
"lessThan": "e435a30ca6fe14c9611b1fc731c98a6d28410247",
"status": "affected",
"versionType": "git"
},
{
"version": "ec980e4facef8110f6fce27e5b6344660117f01f",
"lessThan": "bfee04838f636d064bc92075c65c95f739003804",
"status": "affected",
"versionType": "git"
},
{
"version": "ec980e4facef8110f6fce27e5b6344660117f01f",
"lessThan": "dbde07f06226438cd2cf1179745fa1bec5d8914a",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/x86/events/intel/core.c"
],
"versions": [
{
"version": "6.16",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.16",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.22",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.19.12",
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.0",
"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.16",
"versionEndExcluding": "6.18.22"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.16",
"versionEndExcluding": "6.19.12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.16",
"versionEndExcluding": "7.0"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/e435a30ca6fe14c9611b1fc731c98a6d28410247"
},
{
"url": "https://git.kernel.org/stable/c/bfee04838f636d064bc92075c65c95f739003804"
},
{
"url": "https://git.kernel.org/stable/c/dbde07f06226438cd2cf1179745fa1bec5d8914a"
}
],
"title": "perf/x86: Fix potential bad container_of in intel_pmu_hw_config",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}