AZL-118010: CVE-2026-143051 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ovl: fix leak of lowerdata redirect on ovlgetinode() failure
ovllookuplayers() moves d->redirect into oip.lowerdataredirect and clears d->redirect before calling ovlgetinode(). When ovlgetinode() fails, it does not free oip.lowerdataredirect, and ovllookup() frees the already cleared d->redirect, so the lowerdata redirect string is leaked.
Clear d->redirect only after ovlgetinode() has succeeded, like d->upperredirect, so that ovllookup() frees it on failure.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel overlayfs code, clear d->redirect only after ovl_get_inode() has succeeded.
Event History
Frequently Asked Questions
Which code path is involved?
The issue is in OverlayFS lookup handling, specifically the path where ovl_lookup_layers() transfers a lowerdata redirect string before calling ovl_get_inode().
What condition causes the resource leak?
The leak occurs when ovl_get_inode() fails after the lowerdata redirect has been moved out of d->redirect. The failure cleanup then frees the already-cleared d->redirect rather than the transferred string.
Does the available information identify attacker access requirements or affected default configurations?
No. The provided data does not state an attacker access requirement, exploit method, or whether a default configuration is affected.