AZL-117938: CVE-2026-143016 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
dm-cache: fix NULL pointer dereference on open failure
When begintransactionflags in metadataopen fails, dmcachemetadataclose is called. dmcachemetadataclose attempts to execute listdel(&cmd->list);, but the "cmd" object is not on any list yet, thus it crashes with NULL pointer dereference.
Fix this by initializing cmd->list after cmd is allocated.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In dm-cache, initialize cmd->list after allocating the cmd object.
Event History
Frequently Asked Questions
What condition triggers the crash?
The crash occurs when __begin_transaction_flags fails during dm-cache metadata_open processing. The subsequent metadata-close path attempts to remove cmd->list before that list entry has been initialized.
What should be investigated as a possible sign of impact?
Investigate kernel crashes or NULL pointer dereferences occurring after a dm-cache metadata open failure. The affected component identified in the advisory is the Azure Linux kernel package version 6.6.161.1-1.