ceph: fix page vector leak on encrypted netfs read EIO path
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
ceph: fix page vector leak on encrypted netfs read EIO path
ceph_netfs_issue_read() pins pages with iov_iter_get_pages_alloc2() for encrypted inodes and attaches them with own_pages=false. If ceph_inc_osd_stopping_blocker() then fails, the request is dropped without calling finish_netfs_read(), so the page array and the references taken on those pages leak: ceph_osd_data_release() only frees pages when own_pages is true, and __free_pages() would be the wrong destructor for GUP-pinned pages.
Release the vector with put_page() and kvfree() on that error path, matching finish_netfs_read(). Unencrypted ITER reads are unaffected.
| Product | Versions |
|---|---|
| Linux Linux | 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to before 9caf730f8e5ddd64c753041cb98328c0c349c8e9 Affected1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to before 707a63394024326b0fdd4e6cba37aa9d4e2e3561 Affected1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to before 9d4da3fb1cbe48b3dd0c91e24dce2e549954ad32 Affected1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to before 5fe1b1ccdcd2d5d51531fe556feaa697ad238b1f Affected1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to before 00a0d7f377f6af59bc559b2e07dffff63eaa5544 Affected |
| Linux Linux | 6.6 Affectedbefore 6.6 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/9caf730f8e5ddd64c753041cb98328c0c349c8e9
- https://git.kernel.org/stable/c/707a63394024326b0fdd4e6cba37aa9d4e2e3561
- https://git.kernel.org/stable/c/9d4da3fb1cbe48b3dd0c91e24dce2e549954ad32
- https://git.kernel.org/stable/c/5fe1b1ccdcd2d5d51531fe556feaa697ad238b1f
- https://git.kernel.org/stable/c/00a0d7f377f6af59bc559b2e07dffff63eaa5544
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.