CVE-2025-68239
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.
Affected versions
Linux kernel versions
4.9.262,
4.14.226,
4.19.181,
5.4.106,
5.10.24,
5.11.7,
5.12
and later are affected. Fixed in
5.15.209,
6.1.167,
6.6.130,
6.12.78,
6.17.9,
6.18
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2025-68239?
CVE-2025-68239 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.9.262 onward and has been patched in 5.15.209, 6.1.167, 6.6.130 and others. CVE-2025-68239 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-68239?
Yes. CVE-2025-68239 has been patched. Fixed versions include 5.15.209, 6.1.167, 6.6.130 and others. If you are running Linux kernel 4.9.262 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-68239 actively exploited?
No. CVE-2025-68239 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.