{"id":"CVE-2026-46080","summary":"ocfs2: split transactions in dio completion to avoid credit exhaustion","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: split transactions in dio completion to avoid credit exhaustion\n\nDuring ocfs2 dio operations, JBD2 may report warnings via following\ncall trace:\nocfs2_dio_end_io_write\n ocfs2_mark_extent_written\n  ocfs2_change_extent_flag\n   ocfs2_split_extent\n    ocfs2_try_to_merge_extent\n     ocfs2_extend_rotate_transaction\n      ocfs2_extend_trans\n       jbd2__journal_restart\n        start_this_handle\n         output: JBD2: kworker/6:2 wants too many credits credits:5450 rsv_credits:0 max:5449\n\nTo prevent exceeding the credits limit, modify ocfs2_dio_end_io_write() to\nhandle extents in a batch of transaction.\n\nAdditionally, relocate ocfs2_del_inode_from_orphan().  The orphan inode\nshould only be removed from the orphan list after the extent tree update\nis complete.  This ensures that if a crash occurs in the middle of extent\ntree updates, we won't leave stale blocks beyond EOF.\n\nThis patch also changes the logic for updating the inode size and removing\norphan, making it similar to ext4_dio_write_end_io().  Both operations are\nperformed only when everything looks good.\n\nFinally, thanks to Jans and Joseph for providing the bug fix prototype and\nsuggestions.","modified":"2026-06-26T11:56:20.667349295Z","published":"2026-05-27T12:58:17.103Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46080.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/069c3fb310e9336cf48cfdf8748a32c29fd0193d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e99bb19994246514d63e656492904176f9d5edd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3c636a3edca9c3f180b3079f94fe7e115730d9c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/886f97fa59d0bbfa9859fb1a66dd9e014b522d89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91e05ac2336d00d5b99fc774be4bd50039084796"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d647c5b2fbf81560818dacade360abc8c00a9665"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46080.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46080"},{"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":"c15471f79506830f80eca0e7fe09b8213953ab5f"},{"fixed":"97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8"},{"fixed":"1e99bb19994246514d63e656492904176f9d5edd"},{"fixed":"91e05ac2336d00d5b99fc774be4bd50039084796"},{"fixed":"886f97fa59d0bbfa9859fb1a66dd9e014b522d89"},{"fixed":"ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e"},{"fixed":"3c636a3edca9c3f180b3079f94fe7e115730d9c6"},{"fixed":"069c3fb310e9336cf48cfdf8748a32c29fd0193d"},{"fixed":"d647c5b2fbf81560818dacade360abc8c00a9665"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46080.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"5.10.258"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46080.json"}}],"schema_version":"1.7.5"}