AZL-115612: CVE-2026-99732 affecting package kernel 6.6.161.1-1

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/filemap: read mapping->aops->freefolio under ilock

memoryfailure() -> ... -> filemapremovefolio() can read mapping->aops after the inode has been freed. Once the folio is deleted from the pagecache it no longer pins the mapping, so after ilock is dropped e.g., a concurrent final iput() can evict and free the inode before filemapfreefolio() looks up mapping->aops->freefolio.

Most callers hold a reference on the inode, but not all.

Documentation/filesystems/vfs.rst explicitly states that ->freefolio() must not assume the original addressspace mapping still exists.

Fix it by loading ->freefolio while ilock is still held, similar to what foliounmapinvalidate() does.

Inline filemapfreefolio() into its remaining caller such that deletefrompagecachebatch() also just loads the callback before dropping the ilock.

The bug was found by code inspection and has not been reproduced.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: get rid of filemapfreefolio() entirely; improve patch description ]

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Load mapping->a_ops->free_folio while i_lock is still held, before dropping the lock.

Event History

Nov 20, 2026
Advisory Published
via OSV·06:18 AM
Data Sourced
via OSV·06:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203