CVE-2026-63965

Source
https://cve.org/CVERecord?id=CVE-2026-63965
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63965.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63965
Downstream
Published
2026-07-19T14:55:53.809Z
Modified
2026-07-21T03:47:25.268787915Z
Summary
iio: pressure: bmp280: fix stack leak in bmp580 trigger handler
Details

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

iio: pressure: bmp280: fix stack leak in bmp580 trigger handler

bmp580triggerhandler() declares its scan buffer on the stack without an initializer and then memcpy()s 3 bytes of 24-bit sensor data into each 4-byte __le32 field. The high byte of comptemp and comppress is left uninitialized, and the channel storagebits is 32, so two bytes of stack are pushed to userspace per scan.

This is a regression from when the buffer lived in the private data, the move to a stack-local struct dropped the implicit zeroing. bme280triggerhandler() was fixed up to handle this bug, but this driver was not fixed because there was no padding hole, but rather a short-fill issue.

Fix this all by just zero-initializing the structure on the stack.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63965.json",
    "cna_assigner": "Linux"
}
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
872c8014e05ed47b8a7c0f5ba4311279a637150b
Fixed
a58400f58f82f3d8de9c067aa7cda690228c1ecc
Fixed
58dfb6fe9dc80270cf7cc014837af4cbf928e3aa
Fixed
387c86b582e0782ab332e7bfcd4e6e3f93922961

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.35
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.12

Database specific

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