ocfs2: pin owning modules for open debugfs files (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: pin owning modules for open debugfs files The OCFS2 debugfs file operation tables do not set owner. The full debugfs proxy obtains real_fops with fops_get() at open and keeps it until final release. Without an owner, this does not acquire a reference to the module containing the table and its callbacks. Removing the debugfs entries does not drain retained open files. An open connected_nodes file can therefore outlive ocfs2_nodemanager and make full_proxy_release() read real_fops->release from freed module memory. Heming also reproduced the issue with fs_state and asked for the other OCFS2 debugfs operation tables to be checked. Set owner to THIS_MODULE in all eleven explicit debugfs operation tables: five in ocfs2_nodemanager, four in ocfs2_dlm, and two in ocfs2. The existing debugfs get/put pair then holds the appropriate module until final release. Leave the open, read and release callbacks unchanged. The blockcheck table already sets owner through DEFINE_DEBUGFS_ATTRIBUTE(), so it needs no change. The original controlled test used an unloadable OCFS2 module and case-local probe filters without changing the candidate open, unload or release logic. Closing a retained connected_nodes file after normal unload produced: BUG: unable to handle page fault for address: fffffbfff804cfef Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:full_proxy_release+0xbf/0x190 Call Trace: <TASK> __fput+0x39a/0xa60 fput_close_sync+0xff/0x200 __x64_sys_close+0x8c/0xf0 do_syscall_64+0x114/0x620 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Modules linked in: [last unloaded: ocfs2_nodemanager]
References
- https://git.kernel.org/stable/c/e0d62a6d9f8052f7300e0413d32a24fad50c014a
- https://git.kernel.org/stable/c/97ed524d264baebc632e381422585f95cf8cb4c9
- https://git.kernel.org/stable/c/0e573d9b0c5ccf1dd9b62deeb52641fca8e0dcd4
- https://git.kernel.org/stable/c/8c8f39e55c962fef805846a2ab2257ba4d82cd0a
- https://git.kernel.org/stable/c/ae5ea8ca2db9a0306c04f4777433908456ce8541
- https://git.kernel.org/stable/c/f5e973e238ba686a17f19dfbccccdd1c4447a2be
- https://git.kernel.org/stable/c/625bbfa9c160ca9d4128acddb15fd7da3ea66c17
- https://git.kernel.org/stable/c/26d7e34b4226709084461a07bf28d9066fa96d8c
European references
- ENISA EUVD · EUVD-2026-130274
- GCVE · GCVE-0-2026-99550
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < e0d62a6d9f8052f7300e0413d32a24fad50c014a affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < 97ed524d264baebc632e381422585f95cf8cb4c9 affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < 0e573d9b0c5ccf1dd9b62deeb52641fca8e0dcd4 affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < 8c8f39e55c962fef805846a2ab2257ba4d82cd0a affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < ae5ea8ca2db9a0306c04f4777433908456ce8541 affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < f5e973e238ba686a17f19dfbccccdd1c4447a2be affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < 625bbfa9c160ca9d4128acddb15fd7da3ea66c17 affected : ≥ ccd979bdbce9fba8412beb3f1de68a9d0171b12c < 26d7e34b4226709084461a07bf28d9066fa96d8c Other versions : unaffected |
| Linux · Linux | affected : 2.6.16 unaffected : ≥ 0 < 2.6.16 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |