{"id":"CVE-2026-74486","summary":"binfmt_misc: use exe_file_deny_write_access() for the interpreter clone","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_misc: use exe_file_deny_write_access() for the interpreter clone\n\nFor MISC_FMT_OPEN_FILE entries load_misc_binary() clones the\nregistered interpreter file and denies write access to the clone via\nplain deny_write_access(). The clone is installed as\nbprm-\u003einterpreter and later released by the exec machinery through\nexe_file_allow_write_access() which skips the i_writecount increment\nfor files with FMODE_FSNOTIFY_HSM set.\n\nThe deny and allow side can therefore come to different conclusions\nwhen pre-content watches are in play: if a pre-content watch is added\nto the interpreter after registration every subsequent exec through\nthat entry takes a write denial on the clone that is never paired\nwith a write allowance, driving the interpreter inode's i_writecount\nfurther down with each exec and leaving the interpreter unwritable\neven after the entry and all its users are gone.\n\nTake the write denial via exe_file_deny_write_access() so both sides\nof the pairing base their decision on the same file mode, and\npropagate failure instead of silently ignoring it: an interpreter\nthat is concurrently open for writing now fails the exec with\nETXTBSY, exactly like an interpreter freshly opened via open_exec()\nwould.","modified":"2026-08-25T03:51:25.495545917Z","published":"2026-08-15T12:27:17.609Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74486.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/255a758697da87a205e072e0cfc35897b8f743b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2bd860b7e752a51185960143cab9fec7bf32c84e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2fdf8b07bee5ef99ec77773a6be05fbb8ee5cdb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c65eb018c12179b5e2c7afe1f0956298576fecec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eea4b7c7711b1e425272d23352af157f45f4c3e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0edbaf487e4653a680a7abb91c1df94cb7886aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1e7ea3c8e070f19771cdaef55bbeda1359ad490"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa5990ca8fd917003e526036bcc50413edb9722c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74486.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74486"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5b432413f7bbbc8b935138490a57be05c1921684"},{"fixed":"c65eb018c12179b5e2c7afe1f0956298576fecec"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bb4715098d8e340bbbdd3a874b31f89867c8067e"},{"fixed":"2bd860b7e752a51185960143cab9fec7bf32c84e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c152be5adc0975c75cc4f50891c9072d52d60b47"},{"fixed":"eea4b7c7711b1e425272d23352af157f45f4c3e3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bf5ed2ef5cdb7b47ce606e3d48ea6eb803b31503"},{"fixed":"2fdf8b07bee5ef99ec77773a6be05fbb8ee5cdb9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"483217fd6f7ccd98b3ed2531a54f75ed144b4499"},{"fixed":"f1e7ea3c8e070f19771cdaef55bbeda1359ad490"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0357ef03c94ef835bd44a0658b8edb672a9dbf51"},{"fixed":"255a758697da87a205e072e0cfc35897b8f743b1"},{"fixed":"f0edbaf487e4653a680a7abb91c1df94cb7886aa"},{"fixed":"fa5990ca8fd917003e526036bcc50413edb9722c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74486.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74486.json"}}],"schema_version":"1.9.0"}