fs: quota: create dedicated workqueue for quota_release_work
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 2 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: fs: quota: create dedicated workqueue for quota_release_work There is a kernel panic due to WARN_ONCE when panic_on_warn is set. This issue occurs when writeback is triggered due to sync call for an opened file(ie, writeback reason is WB_REASON_SYNC). When f2fs balance is needed at sync path, flush for quota_release_work is triggered. By default quota_release_work is queued to "events_unbound" queue which does not have WQ_MEM_RECLAIM flag. During f2fs balance "writeback" workqueue tries to flush quota_release_work causing kernel panic due to MEM_RECLAIM flag mismatch errors. This patch creates dedicated workqueue with WQ_MEM_RECLAIM flag for work quota_release_work. ------------[ cut here ]------------ WARNING: CPU: 4 PID: 14867 at kernel/workqueue.c:3721 check_flush_dependency+0x13c/0x148 Call trace: check_flush_dependency+0x13c/0x148 __flush_work+0xd0/0x398 flush_delayed_work+0x44/0x5c dquot_writeback_dquots+0x54/0x318 f2fs_do_quota_sync+0xb8/0x1a8 f2fs_write_checkpoint+0x3cc/0x99c f2fs_gc+0x190/0x750 f2fs_balance_fs+0x110/0x168 f2fs_write_single_data_page+0x474/0x7dc f2fs_write_data_pages+0x7d0/0xd0c do_writepages+0xe0/0x2f4 __writeback_single_inode+0x44/0x4ac writeback_sb_inodes+0x30c/0x538 wb_writeback+0xf4/0x440 wb_workfn+0x128/0x5d4 process_scheduled_works+0x1c4/0x45c worker_thread+0x32c/0x3e8 kthread+0x11c/0x1b0 ret_from_fork+0x10/0x20 Kernel panic - not syncing: kernel: panic_on_warn set ...
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.1.120 to before 6.1.178; 6.6.64 to before 6.6.114; 6.12.4 to before 6.12.54; 5.4.287 to before 5.5; 5.10.231 to before 5.11; 5.15.174 to before 5.16 | 6.1.178, 6.6.114, 6.12.54, 5.5, 5.11, 5.16 | Patch available | CNA |
| Linux | Linux | 6.13 and later | 6.1.178, 6.6.114, 6.12.54, 6.17.4, 6.18 | Patch available | CNA |
- Linux VendorLinux Affected 6.1.120 to before 6.1.178; 6.6.64 to before 6.6.114; 6.12.4 to before 6.12.54; 5.4.287 to before 5.5; 5.10.231 to before 5.11; 5.15.174 to before 5.16 Fixed in 6.1.178, 6.6.114, 6.12.54, 5.5, 5.11, 5.16 Patch available CNA
- Linux VendorLinux Affected 6.13 and later Fixed in 6.1.178, 6.6.114, 6.12.54, 6.17.4, 6.18 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.178, 6.6.114, 6.12.54, 5.5, 5.11, 5.16
- Fix · CNA Linux (Linux) Fixed in 6.1.178, 6.6.114, 6.12.54, 6.17.4, 6.18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
Not affected: 3 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-40196
- 2026-10-03 Alias added: GHSA-rpjc-phpw-vx4c
References
Other 5
- https://git.kernel.org/stable/c/8df2eedd371a1c24ecc4283581299d7737dfcd06
- https://git.kernel.org/stable/c/f846eacde280ecc3daedfe001580e3033565179e
- https://git.kernel.org/stable/c/f12039df1515d5daf7d92e586ece5cefeb39561b
- https://git.kernel.org/stable/c/8a09a62f0c8c6123c2f1864ed6d5f9eb144afaf0
- https://git.kernel.org/stable/c/72b7ceca857f38a8ca7c5629feffc63769638974
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-40196 · CVE Program
- CVE-2025-40196 · NVD
- FIRST EPSS
- GHSA-rpjc-phpw-vx4c · GitHub Advisory Database · CC BY 4.0
- CVE-2025-40196 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences