CVE-2026-64498

Source
https://cve.org/CVERecord?id=CVE-2026-64498
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64498.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64498
Downstream
Published
2026-07-25T08:51:54.625Z
Modified
2026-07-27T04:03:22.599482528Z
Summary
iio: buffer: hw-consumer: free scan_mask on buffer release
Details

In the Linux kernel, the following vulnerability has been resolved:

iio: buffer: hw-consumer: free scan_mask on buffer release

The scanmask lifetime changed in commit 9a2e1233d38c ("iio: buffer: hw-consumer: remove redundant scanmask flexible array").

Before that change, the scan mask storage was embedded in struct hwconsumerbuffer, so iiohwbufrelease() could free the whole allocation with a single kfree(hwbuf).

That commit moved the scan mask to a separate bitmapzalloc() allocation stored in buffer.scanmask, but left iiohwbuf_release() unchanged.

Free the scan mask in iiohwbuf_release() before freeing the buffer wrapper.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64498.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9a2e1233d38c460ad07f36901931f3674a32d1ed
Fixed
fb8e18f8ca724bd4de4643cad5b7c7230b9a5a71
Fixed
6325d6e2204327965b849c0a16efb6ac9202e5a8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64498.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64498.json"