The mknod utility in uutils coreutils fails to handle security labels atomically by creating device nodes before setting the SELinux context. If labeling fails, the utility attempts cleanup using std::fs::remove_dir, which cannot remove device nodes or FIFOs. This leaves mislabeled nodes behind with incorrect default contexts, potentially allowing unauthorized access to device nodes that should have been restricted by mandatory access controls.
Metrics
Affected Vendors & Products
References
History
Wed, 22 Apr 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 22 Apr 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The mknod utility in uutils coreutils fails to handle security labels atomically by creating device nodes before setting the SELinux context. If labeling fails, the utility attempts cleanup using std::fs::remove_dir, which cannot remove device nodes or FIFOs. This leaves mislabeled nodes behind with incorrect default contexts, potentially allowing unauthorized access to device nodes that should have been restricted by mandatory access controls. | |
| Title | uutils coreutils mknod Security Label Inconsistency and Broken Cleanup on SELinux Systems | |
| Weaknesses | CWE-281 CWE-459 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: canonical
Published:
Updated: 2026-04-22T17:35:15.707Z
Reserved: 2026-04-02T12:58:56.088Z
Link: CVE-2026-35361
Updated: 2026-04-22T17:34:30.413Z
Status : Awaiting Analysis
Published: 2026-04-22T17:16:38.827
Modified: 2026-04-22T21:23:52.620
Link: CVE-2026-35361
No data.
OpenCVE Enrichment
No data.