Files
vuln-cve/data/2025/38xxx/CVE-2025-38317.json
T

193 lines
9.8 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2025-38317",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-04-16T04:51:24.004Z",
"datePublished": "2025-07-10T07:42:23.841Z",
"dateUpdated": "2026-10-15T21:52:14.132Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:01:07.527Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: Fix buffer overflow in debugfs\n\nIf the user tries to write more than 32 bytes then it results in memory\ncorruption. Fortunately, this is debugfs so it's limited to root users."
}
],
"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 vulnerability is reached only through a `write(2)` syscall on the local debugfs file `htt_stats_type` under the ath12k pdev directory. There is no network or over-the-air path to `ath12k_write_htt_stats_type()`.\nAC:L - A single unconditional `write()` with a length greater than 32 bytes deterministically overflows the `kzalloc(32)` buffer; there is no race, timing window, or memory-layout precondition outside the attacker's control. The attacker fully controls both the overflow length and every overflowed byte.\nPR:L - The debugfs node is mode 0600, but debugfs `uid=`/`gid=`/`mode=` mount options and vendor chown policies commonly delegate debugfs access to non-root system accounts on exactly the embedded/Android-class ath12k platforms (IPQ5332 APs, WCN7850 devices), so a low-privileged local account is a realistic attacker. This is consistent with prior kernel CNA debugfs scoring (CVE-2026-46190, CVE-2026-43380, CVE-2026-64251).\nUI:N - The attacker triggers the overflow entirely on their own by writing to the debugfs file; no victim action, mount, or interaction is required.\nS:U - The heap corruption occurs in kernel memory and is exploited within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The overflow lets the attacker overwrite adjacent kmalloc-32 slab objects with chosen content, corrupting length/pointer/index fields that can be leveraged into an arbitrary kernel-memory read primitive and disclosure of arbitrary kernel data.\nI:H - This is an unbounded heap buffer overflow with fully attacker-controlled data and length into a general-purpose slab cache, giving a direct out-of-bounds write primitive suitable for control-flow hijacking and privilege escalation.\nA:H - Overwriting adjacent slab objects and slab metadata reliably produces slab corruption, oops, or panic, and the attacker can repeat the write at will to guarantee a system crash."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/wireless/ath/ath12k/debugfs_htt_stats.c"
],
"versions": [
{
"version": "3f73c24f28b317f22df7870c25ff82f1d625c6c2",
"lessThan": "0c57aa8ef94cffc5c2d68230e19329a03e71a94f",
"status": "affected",
"versionType": "git"
},
{
"version": "3f73c24f28b317f22df7870c25ff82f1d625c6c2",
"lessThan": "8c4a200d03574bfcbf54fdb7ba5968b58ad2e0b3",
"status": "affected",
"versionType": "git"
},
{
"version": "3f73c24f28b317f22df7870c25ff82f1d625c6c2",
"lessThan": "8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce",
"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/net/wireless/ath/ath12k/debugfs_htt_stats.c"
],
"versions": [
{
"version": "6.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.11",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.34",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.15.3",
"lessThanOrEqual": "6.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.16",
"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.11",
"versionEndExcluding": "6.12.34"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11",
"versionEndExcluding": "6.15.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11",
"versionEndExcluding": "6.16"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/0c57aa8ef94cffc5c2d68230e19329a03e71a94f"
},
{
"url": "https://git.kernel.org/stable/c/8c4a200d03574bfcbf54fdb7ba5968b58ad2e0b3"
},
{
"url": "https://git.kernel.org/stable/c/8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce"
}
],
"title": "wifi: ath12k: Fix buffer overflow in debugfs",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-38317",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T21:49:33.642158Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T21:52:14.132Z"
}
}
]
}
}