{"id":"CVE-2026-64080","state":"PUBLISHED","title":"firmware: arm_ffa: Snapshot notifier callbacks under lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Snapshot notifier callbacks under lock\n\nBoth notification handlers currently look up a notifier callback under\nnotify_lock, drop the lock, and then dereference the returned\nnotifier entry. A concurrent unregister can delete and free that\nentry in the gap, leaving the handler to dereference stale memory.\n\nCopy the callback pointer and callback data while notify_lock is\nstill held and invoke the callback only after the lock is dropped.\nThis keeps the existing callback execution model while removing the\nuse-after-free window in both the framework and non-framework\nnotification paths.","publishedAt":"2026-07-19T15:39:52.818Z","updatedAt":"2026-08-05T12:38:59.719Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"d1e38551fadea230649bc428f0f35c9ee062a072","versionType":"git"},{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"0e7be42ef2490f19d859a6146324d48cafdc9d5c","versionType":"git"},{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"38290b180a4d5746baed796d49f88d56d2f336cd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]}],"references":["https://git.kernel.org/stable/c/d1e38551fadea230649bc428f0f35c9ee062a072","https://git.kernel.org/stable/c/0e7be42ef2490f19d859a6146324d48cafdc9d5c","https://git.kernel.org/stable/c/38290b180a4d5746baed796d49f88d56d2f336cd"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64080.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64080","state":"PUBLISHED","datePublished":"2026-07-19T15:39:52.818Z","dateUpdated":"2026-08-05T12:38:59.719Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.031Z"},"containers":{"cna":{"title":"firmware: arm_ffa: Snapshot notifier callbacks under lock","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Snapshot notifier callbacks under lock\n\nBoth notification handlers currently look up a notifier callback under\nnotify_lock, drop the lock, and then dereference the returned\nnotifier entry. A concurrent unregister can delete and free that\nentry in the gap, leaving the handler to dereference stale memory.\n\nCopy the callback pointer and callback data while notify_lock is\nstill held and invoke the callback only after the lock is dropped.\nThis keeps the existing callback execution model while removing the\nuse-after-free window in both the framework and non-framework\nnotification paths."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"d1e38551fadea230649bc428f0f35c9ee062a072","versionType":"git"},{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"0e7be42ef2490f19d859a6146324d48cafdc9d5c","versionType":"git"},{"version":"285a5ea0f542db94c3ed11e01a71abb47d15cbf5","status":"affected","lessThan":"38290b180a4d5746baed796d49f88d56d2f336cd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d1e38551fadea230649bc428f0f35c9ee062a072"},{"url":"https://git.kernel.org/stable/c/0e7be42ef2490f19d859a6146324d48cafdc9d5c"},{"url":"https://git.kernel.org/stable/c/38290b180a4d5746baed796d49f88d56d2f336cd"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":9.3,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached through the Arm FF-A firmware notification IRQ/workqueue path (SMC/secure-partition notifications), not through any network protocol. Attackers reach it locally via secure-world FF-A traffic or TEE ioctl access on ARM64 TrustZone systems.\nAC:L - This is a race where the attacker can flood FF-A notifications from secure world (or via concurrent TEE sessions) while driver teardown unregisters the callback; both sides of the race are attacker-influenceable on systems with OP-TEE async notifications enabled.\nPR:N - A malicious secure-world partition can send FF-A notifications without any normal-world Linux credentials; the concurrent unregister side is reached automatically during kernel/driver teardown (reboot, shutdown, module unload) without requiring attacker privileges.\nUI:N - Exploitation requires no victim interaction beyond normal system operation; a malicious secure-world component or automated teardown events (scheduled reboot, OTA, shutdown) can trigger the race without the user performing any action.\nS:C - On Arm TrustZone deployments, a malicious secure-world partition can corrupt normal-world kernel memory across the secure/normal-world security boundary, escalating impact beyond the FF-A driver's own authority into full kernel compromise.\nC:H - The UAF dereferences a freed kmalloc notifier entry containing callback metadata; stale heap contents can be read and leveraged for kernel memory disclosure consistent with UAF guidance.\nI:H - After the UAF, the handler invokes a function pointer read from freed memory (cb_info->cb/fwk_cb), enabling control-flow hijack and arbitrary kernel code execution via heap grooming.\nA:H - The UAF can cause immediate kernel oops/panic from dereferencing freed memory or invoking a corrupted function pointer, satisfying kernel crash guidance for UAF bugs."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:38:59.719Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}