CVE-2025-68733
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < c80173233014a360c13fa5cc79d36bfe6e53a8ed | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < 6b1e45e13546c9ea0b1d99097993ac0aafae90b1 | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < 4a7a7621619a366712fb9cefcb6e69f956c247ce | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < f8fd5491100f920847a3338d5fba22db19c72773 | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < ac9fce2efabad37c338aac86fbe100f77a080e59 | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < 64aa81250171b6bb6803e97ea7a5d73bfa061f6e | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < 60e8d49989410a7ade60f5dadfcd979c117d05c0 | affected |
| Linux | Linux | 38416e53936ecf896948fdeffc36b76979117952 < c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3 | affected |
| Linux | Linux | 4.4 | affected |
| Linux | Linux | 0 < 4.4 | unaffected |
| Linux | Linux | 5.10.248 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.198 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.160 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.120 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.63 <= 6.12.* | unaffected |
| Linux | Linux | 6.17.13 <= 6.17.* | unaffected |
| Linux | Linux | 6.18.2 <= 6.18.* | unaffected |
| Linux | Linux | 6.19 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/c80173233014a360c13fa5cc79d36bfe6e53a8ed
- https://git.kernel.org/stable/c/6b1e45e13546c9ea0b1d99097993ac0aafae90b1
- https://git.kernel.org/stable/c/4a7a7621619a366712fb9cefcb6e69f956c247ce
- https://git.kernel.org/stable/c/f8fd5491100f920847a3338d5fba22db19c72773
- https://git.kernel.org/stable/c/ac9fce2efabad37c338aac86fbe100f77a080e59
- https://git.kernel.org/stable/c/64aa81250171b6bb6803e97ea7a5d73bfa061f6e
- https://git.kernel.org/stable/c/60e8d49989410a7ade60f5dadfcd979c117d05c0
- https://git.kernel.org/stable/c/c147e13ea7fe9f118f8c9ba5e96cbd644b00d6b3
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.