mm/zone_device: do not touch device folio after calling ->folio_free()
In the Linux kernel, the following vulnerability has been resolved: mm/zone_device: do not touch device folio after calling ->folio_free() The contents of a device folio can immediately change after calling ->folio_free(), as the folio may be reallocated by a driver with a different order. Instead of touching the folio again to extract the pgmap, use the local stack variable when calling percpu_ref_put_many().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 7.0.4
- CVEs
- CVE-2026-46277
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:43 UTC · Revision 1
Source evidence
mm/zone_device: do not touch device folio after calling ->folio_free()
core-osv · Original sourcePublished 8 Jun 2026, 15:41 UTC
In the Linux kernel, the following vulnerability has been resolved: mm/zone_device: do not touch device folio after calling ->folio_free() The contents of a device folio can immediately change after calling ->folio_free(), as the folio may be reallocated by a driver with a different order. Instead of touching the folio again to extract the pgmap, use the local stack variable when calling percpu_ref_put_many().
osv:CVE-2026-46277
Kernel
Fixed versions: 7.0.4
Complete source record
{
"id": "96d228fbf9a0601fe157085e885a1890f9e6a2ca5bbd9b281785016c98b6b58f",
"url": "https://osv.dev/vulnerability/CVE-2026-46277",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mm/zone_device: do not touch device folio after calling ->folio_free()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: mm/zone_device: do not touch device folio after calling ->folio_free() The contents of a device folio can immediately change after calling ->folio_free(), as the folio may be reallocated by a driver with a different order. Instead of touching the folio again to extract the pgmap, use the local stack variable when calling percpu_ref_put_many().",
"evidence": "osv:CVE-2026-46277",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.0.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-46277",
"aliases": [
"CVE-2026-46277"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d245f9b4ab806733a77e51a218ca7b8bc3135cd9"
},
{
"fixed": "85be0a262e39c706edb53c88af8afde2e98222ba"
},
{
"fixed": "39928984956037cabd304321cb8f342e47421db5"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46277.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46277.json"
}
}
],
"modified": "2026-10-28T02:30:52.640561841Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/39928984956037cabd304321cb8f342e47421db5",
"https://git.kernel.org/stable/c/85be0a262e39c706edb53c88af8afde2e98222ba",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46277.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46277",
"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/2026/46xxx/CVE-2026-46277.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46277",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521063,
"published_at": "2026-06-08T15:41:19.76+00:00"
}