AZL-116944: CVE-2026-139197 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ceph: fix writebackcount leak when a bounce page allocation fails
cephprocessfoliobatch() calls iswritecongestionhappened(), which increments fsc->writebackcount, before calling movedirtyfolioinpagearray(). If the fscrypt bounce page allocation there fails, the folio is redirtied and never makes it into the page array, but the count is never dropped.
writecongested is only cleared when a decrement falls below CONGESTIONOFFTHRESH, so the leaked counts set congestion early and eventually leave writecongested set for good. Every WBSYNCNONE writeback then returns 0 and background writeback stops entirely.
Bump the count only once the folio is in the page array.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In ceph_process_folio_batch(), increment fsc->writeback_count only after the folio has been added to the page array.
Event History
Frequently Asked Questions
What conditions are needed for the writeback failure to occur?
The affected path is in Ceph writeback processing. It is triggered when fscrypt bounce-page allocation fails while processing a folio batch.
What symptoms indicate that a system may be affected?
The writeback congestion count can remain elevated, leaving write_congested set indefinitely. WB_SYNC_NONE writeback can then return 0, causing background writeback to stop entirely.
Is a fixed Azure Linux kernel package version identified?
No fixed package version is provided. The available data states that the Linux kernel issue has been resolved, but does not specify the release containing the fix or an alternative mitigation.