Skip to main content
VulnerabilityPublished

CVE-2026-99847: Linux kernel · apparmor: don't revalidate inherited files under files->file_lock

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-99847· Medium

Not known to be exploited · fixed in a913281f600157aa036b7c02afbb18a0ac115187 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in a913281f600157aa036b7c02afbb18a0ac115187, a20f98ffe158ea5eeb9932a3badbce267cd04917, 43aba2eeaa34e045bdd73abfe66c8bd3fed97852 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • >=6.18.40 <6.18.63
  • >=7.1.5 <7.2
Fixed in
  • a913281f600157aa036b7c02afbb18a0ac115187
  • a20f98ffe158ea5eeb9932a3badbce267cd04917
  • 43aba2eeaa34e045bdd73abfe66c8bd3fed97852
  • 7.2
  • 6.18.63
LinuxLinuxAffected
  • =7.2
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: don't revalidate inherited files under files->file_lock aa_inherit_files() revalidates inherited files on exec using iterate_fd(), which calls the callback with files->file_lock held, so the revalidation is done with IN_ATOMIC. However the unix socket mediation path can sleep: aa_unix_file_perm() drops a ref on the peer's path with path_put(), and unix_fs_perm() -> aa_path_perm() allocates a buffer with aa_get_buffer(false), resulting in BUG: sleeping function called from invalid context at fs/dcache.c:1039 ... dput.part.0+0x24/0x180 path_put+0x2c/0x60 aa_unix_file_perm+0x42a/0x17b0 aa_file_perm+0xcd3/0x1060 match_file+0x10b/0x190 iterate_fd+0xe6/0x280 aa_inherit_files+0x250/0x4f0 Only grab a ref on each file under iterate_fd(), and revalidate it after the lock is dropped, so revalidation is done with no locks held and does not need to be atomic. Denied fds are still replaced with /dev/null, or closed if it can not be opened.

References

Community reviews

Loading reviews…