AZL-117349: CVE-2026-139789 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

hugetlbfs: enforce FSEALEXEC in setattr

FSEALEXEC is enforced by shmemsetattr(), but hugetlbfssetattr() does not check it. As a result, fchmod() can change the execute bits of a sealed hugetlbfs memfd.

Use memfdchecksealsmode() in hugetlbfssetattr() to reject changes to execute bits when FSEALEXEC is set.

This also fixes the memfdtest hugetlbfs SEAL-EXEC subtest, where fchmod() incorrectly succeeded after applying FSEALEXEC.

[ david: use common helper; fixup Fixes:; check only regular files ]

Affected Software

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

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs the ability to operate on a hugetlbfs-backed memfd that has F_SEAL_EXEC set. They can then use fchmod() to change that file's execute permission bits despite the seal.

2

Are all sealed memfds affected?

The issue is specific to hugetlbfs memfds because hugetlbfs_setattr() did not enforce F_SEAL_EXEC. The description states that shmem_setattr() already enforces this seal.

3

How can I determine whether a system exhibits the issue?

The hugetlbfs SEAL-EXEC subtest in memfd_test demonstrates the condition: before the fix, fchmod() incorrectly succeeds after F_SEAL_EXEC is applied. A successful attempt to change execute bits on a sealed hugetlbfs memfd indicates the vulnerable behavior.

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