{"id":"CVE-2026-63965","published":"2026-07-19T14:55:53Z","modified":"2026-07-19T14:55:53Z","title":"iio: pressure: bmp280: fix stack leak in bmp580 trigger handler","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: pressure: bmp280: fix stack leak in bmp580 trigger handler\n\nbmp580_trigger_handler() declares its scan buffer on the stack without\nan initializer and then memcpy()s 3 bytes of 24-bit sensor data into\neach 4-byte __le32 field.  The high byte of comp_temp and comp_press is\nleft uninitialized, and the channel storagebits is 32, so two bytes of\nstack are pushed to userspace per scan.\n\nThis is a regression from when the buffer lived in the private data, the\nmove to a stack-local struct dropped the implicit zeroing.\nbme280_trigger_handler() was fixed up to handle this bug, but this\ndriver was not fixed because there was no padding hole, but rather a\nshort-fill issue.\n\nFix this all by just zero-initializing the structure on the stack.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.02748,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a58400f58f82f3d8de9c067aa7cda690228c1ecc","tags":[]},{"url":"https://git.kernel.org/stable/c/58dfb6fe9dc80270cf7cc014837af4cbf928e3aa","tags":[]},{"url":"https://git.kernel.org/stable/c/387c86b582e0782ab332e7bfcd4e6e3f93922961","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.55}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 872c8014e05ed47b8a7c0f5ba4311279a637150b, < a58400f58f82f3d8de9c067aa7cda690228c1ecc",">= 872c8014e05ed47b8a7c0f5ba4311279a637150b, < 58dfb6fe9dc80270cf7cc014837af4cbf928e3aa",">= 872c8014e05ed47b8a7c0f5ba4311279a637150b, < 387c86b582e0782ab332e7bfcd4e6e3f93922961"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-45738","exploited":false,"provenance":"source"}}