In the Linux kernel, the following vulnerability has been resolved:
binfmtmisc: restore write access before closing files opened by openexec()
bmregisterwrite() opens an executable file using openexec(), which internally calls doopen_execat() and denies write access on the file to avoid modification while it is being executed.
However, when an error occurs, bmregisterwrite() 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 exefileallowwriteaccess() before filp_close() to restore the write permission properly.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68239.json",
"cna_assigner": "Linux"
}