CVE-2026-80912

Source
https://cve.org/CVERecord?id=CVE-2026-80912
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-80912.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-80912
Downstream
Published
2026-09-04T17:19:23Z
Modified
2026-09-16T03:30:53Z
Summary
selinux: reject an unclaimed class value in security_get_classes()
Details

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

selinux: reject an unclaimed class value in security_get_classes()

security_get_classes() sizes an array by p_classes.nprim and fills it at value - 1, so a class value the policy never defines leaves a NULL. sel_make_classes() passes every entry to sel_make_dir(), reaching the same d_alloc_name() dereference as the permission array. The class symbol table is allowed to be sparse (policydb_class_isvalid() exists to absorb that), but this getter builds its own array straight from the hash table and has no such predicate.

Fail the lookup when a value went unclaimed instead of handing out the NULL. Conforming policies define every class they declare and are unaffected.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80912.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
55fcf09b3fe4325c9395ebbb0322a547a157ebc7
Fixed
d2e7f7035d6f407119ba5467f7218cc4370844fc
Fixed
f38a71868888285efc9c0ab5b032e23919c5a0a1
Fixed
3480c081c23d559fd9a6921b76955664f2e95153
Fixed
e0285bb152211c00900136b66d4b420c14a59094
Fixed
099869e9343a5f8c22b58497f074b34f63cbf856
Fixed
841aea4d5a25e16273d04cd07a74142b4687e03b
Fixed
d8a10899ea3c84b80de72ca8ee9039e9a5156c9a
Fixed
22b05fec62c0fe9864cfceb52f7d0f3a34d9b1dd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-80912.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.23
Fixed
5.10.270
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.221
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.188
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.153
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.105
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.46
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-80912.json"