CVE-2025-68733
JSON

Not scored

smack: fix bug: unprivileged task can create labels

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: smack: fix bug: unprivileged task can create labels If an unprivileged task is allowed to relabel itself (/smack/relabel-self is not empty), it can freely create new labels by writing their names into own /proc/PID/attr/smack/current This occurs because do_setattr() imports the provided label in advance, before checking "relabel-self" list. This change ensures that the "relabel-self" list is checked before importing the label.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 38416e53936ecf896948fdeffc36b76979117952 before c80173233014a360c13fa5cc79d36bfe6e53a8ed, from 38416e53936ecf896948fdeffc36b76979117952 before 6b1e45e13546c9ea0b1d99097993ac0aafae90b1, from 38416e53936ecf896948fdeffc36b76979117952 before 4a7a7621619a366712fb9cefcb6e69f956c247ce, from 38416e53936ecf896948fdeffc36b76979117952 before f8fd5491100f920847a3338d5fba22db19c72773, from 38416e53936ecf896948fdeffc36b76979117952 before ac9fce2efabad37c338aac86fbe100f77a080e59, from 38416e53936ecf896948fdeffc36b76979117952 before 64aa81250171b6bb6803e97ea7a5d73bfa061f6e, from 38416e53936ecf896948fdeffc36b76979117952 before 60e8d49989410a7ade60f5dadfcd979c117d05c0, from 38416e53936ecf896948fdeffc36b76979117952 before c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3 and 1 more
Not affected: before 4.4, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: smack: fix bug: unprivileged task can create labels If an unprivileged task is allowed to relabel itself (/smack/relabel-self is not empty), it can freely create new labels by writing their names into own /proc/PID/attr/smack/current This occurs because do_setattr() imports the provided label in advance, before checking "relabel-self" list. This change ensures that the "relabel-self" list is checked before importing the label.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smack: se corrige un error: una tarea sin privilegios puede crear etiquetas Si a una tarea sin privilegios se le permite reetiquetarse a sí misma (/smack/relabel-self no está vacío), puede crear libremente nuevas etiquetas escribiendo sus nombres en su propio /proc/PID/attr/smack/current Esto ocurre porque do_setattr() importa la etiqueta proporcionada de antemano, antes de verificar la lista 'relabel-self'. Este cambio asegura que la lista 'relabel-self' sea verificada antes de importar la etiqueta.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68733 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68733 changed 2026-10-13Public domain