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

GSD-2021-1001453: smackfs: restrict bytes count in smk_set_cipso(). Affects Kernel versions < 5f9880403e6b71d56924748ba331daf836243fca. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a fundamental component of the Linux operating system that manages core system functions. It provides an interface between hardware and software, allowing applications to access system resources. The smackfs module is responsible for implementing the Security-Enhanced Linux (SELinux) Mandatory Access Control (MAC) mechanism. It enforces access control policies to protect system resources from unauthorized access. However, a vulnerability has been discovered in the smackfs module that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in smackfs arises from an unrestricted bytes count in the smk_set_cipso() function. This function is used to set the Common IP Security Option (CIPSO) label for a process. By providing a specially crafted input, an attacker may be able to trigger a buffer overflow or other memory corruption issues, leading to arbitrary code execution or a denial of service condition. The impact and attack plausibility of this vulnerability have not been proven yet, but it poses a potential security risk.

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. The recommended approach is to apply the fix by updating the Linux Kernel.

Conclusion

The vulnerability in the smackfs module of the Kernel can be mitigated by updating to version v4.9.276 or later. It is important to promptly apply this fix to ensure the security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a core component of the Linux operating system that manages system resources and provides an interface for applications to interact with the hardware.

The smackfs module is responsible for implementing the Security-Enhanced Linux (SELinux) Mandatory Access Control (MAC) mechanism. It enforces access control policies to protect system resources.

The Common IP Security Option (CIPSO) label is a security mechanism used in SELinux to assign labels to processes and resources. It helps enforce access control policies based on these labels.

A buffer overflow is a vulnerability that occurs when a program writes data beyond the boundaries of a buffer in memory. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or crash the program.

To update the Linux Kernel, you can follow the instructions provided by your Linux distribution or refer to the official documentation for the specific steps.

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