drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.64, 6.17.9
- CVEs
- CVE-2025-40276
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:59 UTC · Revision 1
Source evidence
drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
core-osv · Original sourcePublished 6 Dec 2025, 21:50 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.
osv:CVE-2025-40276
Kernel
Fixed versions: 6.12.64, 6.17.9
Complete source record
{
"id": "d1f7117841cd15e3b4e69a4975b1056dfbc5acd880be8b577c56940c4fa4400d",
"url": "https://osv.dev/vulnerability/CVE-2025-40276",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/panthor: Flush shmem writes before mapping buffers CPU-uncached",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted.",
"evidence": "osv:CVE-2025-40276",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.64",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-40276",
"aliases": [
"CVE-2025-40276"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8a1cc07578bf42d85f008316873d710ff684dd29"
},
{
"fixed": "8355eea2a2e9c323021dfdcb95d7767d382123c4"
},
{
"fixed": "7a12f9c96d06b145562f76ffb20369b4692f0911"
},
{
"fixed": "576c930e5e7dcb937648490611a83f1bf0171048"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40276.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.10.0"
},
{
"fixed": "6.12.64"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40276.json"
}
}
],
"modified": "2026-10-28T02:30:22.654967532Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/576c930e5e7dcb937648490611a83f1bf0171048",
"https://git.kernel.org/stable/c/7a12f9c96d06b145562f76ffb20369b4692f0911",
"https://git.kernel.org/stable/c/8355eea2a2e9c323021dfdcb95d7767d382123c4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40276.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40276",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40276.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40276",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488894,
"published_at": "2025-12-06T21:50:59.035+00:00"
}