CVE-2025-68733

smack: fix bug: unprivileged task can create labels

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 38416e53936ecf896948fdeffc36b76979117952 to before c80173233014a360c13fa5cc79d36bfe6e53a8edAffected
  • 38416e53936ecf896948fdeffc36b76979117952 to before 6b1e45e13546c9ea0b1d99097993ac0aafae90b1Affected
  • 38416e53936ecf896948fdeffc36b76979117952 to before 4a7a7621619a366712fb9cefcb6e69f956c247ceAffected
  • 38416e53936ecf896948fdeffc36b76979117952 to before f8fd5491100f920847a3338d5fba22db19c72773Affected
  • 38416e53936ecf896948fdeffc36b76979117952 to before ac9fce2efabad37c338aac86fbe100f77a080e59Affected
  • 38416e53936ecf896948fdeffc36b76979117952 to before 64aa81250171b6bb6803e97ea7a5d73bfa061f6eAffected
  • 38416e53936ecf896948fdeffc36b76979117952 to before 60e8d49989410a7ade60f5dadfcd979c117d05c0Affected
  • 38416e53936ecf896948fdeffc36b76979117952 to before c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3Affected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.63 through 6.12.*Not affected
  • 6.17.13 through 6.17.*Not affected
  • 6.18.2 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.