binfmt_misc: restore write access before closing files opened by open_exec()
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 3 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access before closing files opened by open_exec() bm_register_write() opens an executable file using open_exec(), which internally calls do_open_execat() and denies write access on the file to avoid modification while it is being executed. However, when an error occurs, bm_register_write() closes the file using filp_close() directly. This does not restore the write permission, which may cause subsequent write operations on the same file to fail. Fix this by calling exe_file_allow_write_access() before filp_close() to restore the write permission properly.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.5; 5.10.24 to before 5.11; 5.11.7 to before 5.12 | 4.10, 4.15, 4.20, 5.5, 5.11, 5.12 | Patch available | CNA |
| Linux | Linux | 5.12 and later | 5.15.209, 6.1.167, 6.6.130, 6.12.78, 6.17.9, 6.18 | Patch available | CNA |
- Linux VendorLinux Affected 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.5; 5.10.24 to before 5.11; 5.11.7 to before 5.12 Fixed in 4.10, 4.15, 4.20, 5.5, 5.11, 5.12 Patch available CNA
- Linux VendorLinux Affected 5.12 and later Fixed in 5.15.209, 6.1.167, 6.6.130, 6.12.78, 6.17.9, 6.18 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.10, 4.15, 4.20, 5.5, 5.11, 5.12
- Fix · CNA Linux (Linux) Fixed in 5.15.209, 6.1.167, 6.6.130, 6.12.78, 6.17.9, 6.18
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68239
- 2026-10-03 Alias added: GHSA-6286-qq46-83p9
References
Other 6
- https://git.kernel.org/stable/c/54274ff90488b6c0f595a6518faed3cf0bc966eb
- https://git.kernel.org/stable/c/480ac88431703f2adbb8e6b5bd73c3f3cf9f3d7f
- https://git.kernel.org/stable/c/fbab8c08e1a6dbaef81e22d672a7647553101d16
- https://git.kernel.org/stable/c/6cce7bc7fac8471c832696720d9c8f2a976d9c54
- https://git.kernel.org/stable/c/e785f552ab04dbca01d31f0334f4561240b04459
- https://git.kernel.org/stable/c/90f601b497d76f40fa66795c3ecf625b6aced9fd
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-68239 · CVE Program
- CVE-2025-68239 · NVD
- FIRST EPSS
- GHSA-6286-qq46-83p9 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68239 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences