ocfs2: split transactions in dio completion to avoid credit exhaustion
Summary
| CVE | CVE-2026-46080 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-27 14:17:29 UTC |
| Updated | 2026-06-01 17:17:23 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: ocfs2: split transactions in dio completion to avoid credit exhaustion During ocfs2 dio operations, JBD2 may report warnings via following call trace: ocfs2_dio_end_io_write ocfs2_mark_extent_written ocfs2_change_extent_flag ocfs2_split_extent ocfs2_try_to_merge_extent ocfs2_extend_rotate_transaction ocfs2_extend_trans jbd2__journal_restart start_this_handle output: JBD2: kworker/6:2 wants too many credits credits:5450 rsv_credits:0 max:5449 To prevent exceeding the credits limit, modify ocfs2_dio_end_io_write() to handle extents in a batch of transaction. Additionally, relocate ocfs2_del_inode_from_orphan(). The orphan inode should only be removed from the orphan list after the extent tree update is complete. This ensures that if a crash occurs in the middle of extent tree updates, we won't leave stale blocks beyond EOF. This patch also changes the logic for updating the inode size and removing orphan, making it similar to ext4_dio_write_end_io(). Both operations are performed only when everything looks good. Finally, thanks to Jans and Joseph for providing the bug fix prototype and suggestions. |
Risk And Classification
EPSS: 0.000180000 probability, percentile 0.050770000 (date 2026-06-01)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8 git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 1e99bb19994246514d63e656492904176f9d5edd git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 91e05ac2336d00d5b99fc774be4bd50039084796 git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 886f97fa59d0bbfa9859fb1a66dd9e014b522d89 git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 3c636a3edca9c3f180b3079f94fe7e115730d9c6 git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f 069c3fb310e9336cf48cfdf8748a32c29fd0193d git | Not specified |
| CNA | Linux | Linux | affected c15471f79506830f80eca0e7fe09b8213953ab5f d647c5b2fbf81560818dacade360abc8c00a9665 git | Not specified |
| CNA | Linux | Linux | affected 4.6 | Not specified |
| CNA | Linux | Linux | unaffected 4.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.86 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.27 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.4 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/3c636a3edca9c3f180b3079f94fe7e115730d9c6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/069c3fb310e9336cf48cfdf8748a32c29fd0193d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d647c5b2fbf81560818dacade360abc8c00a9665 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1e99bb19994246514d63e656492904176f9d5edd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/91e05ac2336d00d5b99fc774be4bd50039084796 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/886f97fa59d0bbfa9859fb1a66dd9e014b522d89 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.