Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139200

ceph: fix page vector leak on encrypted netfs read EIO path

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to < 9caf730f8e5ddd64c753041cb98328c0c349c8e9affected
  • 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to < 707a63394024326b0fdd4e6cba37aa9d4e2e3561affected
  • 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to < 9d4da3fb1cbe48b3dd0c91e24dce2e549954ad32affected
  • 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to < 5fe1b1ccdcd2d5d51531fe556feaa697ad238b1faffected
  • 1464de9f813e35559ff049f1f1f20f1e2a31d6b8 to < 00a0d7f377f6af59bc559b2e07dffff63eaa5544affected

Linux Linux

Default version status: affected

  • 6.6affected
  • 0 to < 6.6unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References