CVE-2025-68239
Linux Kernel 5.12.0-6.17.9 - Denial of Service via binfmt_misc Write Access Handling
Title source: llmDescription
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.
References (5)
Core 5
Core References
Scores
EPSS
0.0004
EPSS Percentile
13.2%
Details
Status
published
Products (29)
linux/Kernel
5.12.0 - 6.1.167linux
linux/Kernel
5.12.0 - 6.17.9linux
linux/Kernel
6.13.0 - 6.17.9linux
linux/Kernel
6.2.0 - 6.6.130linux
linux/Kernel
6.7.0 - 6.12.78linux
Linux/Linux
< 5.12
Linux/Linux
3fe116e33a855bbfdd32dc207e9be2a41e3ed3a6
Linux/Linux
4.14.226 - 4.15
Linux/Linux
4.19.181 - 4.20
Linux/Linux
4.9.262 - 4.10
... and 19 more
Published
Dec 16, 2025
Tracked Since
Feb 18, 2026