All vulnerabilities

Servers and applications

CVE-2026-90179

apparmor: fix deadlock in complain-mode change_hat

Severity
Unrated
Published
17 Sept 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
6.1.191, 6.6.160, 6.12.114, 6.18.52, 7.2, 7.2.6
Exploit chance
0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 19 Nov 2026
Sources
CVE Program

Description

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

The use of change_hat when in complain mode can cause a deadlock when the hat doesn't exist and a new learning profile is created for the missing profile. This is because change_hat() has taken the lock to search the hat list and creating the new learning profile needs to take the lock to add it to the list.

From the bug report:

Originally found in 7.0.0 in LTS ubuntu 26.04 with pam_apparmor + su in complain mode set to change hats. Then verified in newest available vanilla kernel I've compiled to see if still present:

7.2-rc7 vanilla -> affected

checked also some other kernels: 6.18.44 vanilla -> affected 6.12.95 with debian patches -> unaffected

On systems without bug (for example 6.12.95 debian) it just prints:

aa_change_hat rc=0

On systems with bug, the executable always hangs, prints nothing and becomes unkillable. (And once stuck this way, it will cause any further hat changes to also cause the changing…

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 7.2 before 6.1.191
  • From 7.1.5 before 7.2
  • From 6.19 before 7.2.6
  • From 6.18.40 before 6.18.52
All 12 release lines
  • From 5.10.261 before 5.11
  • From 5.15.212 before 5.16
  • From 6.1.178 before 6.1.191
  • From 6.2 before 6.6.160
  • From 6.6.145 before 6.6.160
  • From 6.7 before 6.12.114
  • From 6.12.97 before 6.12.114
  • From 6.13 before 6.18.52
  • From 6.18.40 before 6.18.52
  • From 6.19 before 7.2.6
  • From 7.1.5 before 7.2
  • From 7.2 before 6.1.191

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-90179