Vulnerability in Kernel: smackfs: restrict bytes count in smk_set_cipso()

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001423: smackfs: restrict bytes count in smk_set_cipso(). Affects Kernel versions < 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionality for the proper functioning of the system. The smackfs module is a part of the Kernel that implements the Security-Enhanced Linux (SELinux) Mandatory Access Control (MAC) mechanism. It enforces access control policies based on security labels attached to processes and files. The smk_set_cipso() function in smackfs is responsible for setting the Common IP Security Option (CIPSO) label on a file. This label provides additional security attributes for network communication.

Vulnerability Detail

The vulnerability in smackfs arises from an unrestricted bytes count in the smk_set_cipso() function. This allows an attacker to provide a maliciously crafted input that exceeds the expected size, leading to a buffer overflow or other memory corruption issues. Exploiting this vulnerability could potentially result in privilege escalation, denial of service, or arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in Kernel's smackfs module can be mitigated by updating to the fixed version or applying the relevant patch. Keeping the Kernel up to date with the latest security patches is recommended. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software.

smackfs is a module in the Kernel that implements the Security-Enhanced Linux (SELinux) Mandatory Access Control (MAC) mechanism.

The smk_set_cipso() function in smackfs is responsible for setting the Common IP Security Option (CIPSO) label on a file, providing additional security attributes for network communication.

Exploiting this vulnerability could lead to privilege escalation, denial of service, or arbitrary code execution.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback