CVE-2021-47336

smackfs: restrict bytes count in smk_set_cipso()

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: smackfs: restrict bytes count in smk_set_cipso() Oops, I failed to update subject line. From 07571157c91b98ce1a4aa70967531e64b78e8346 Mon Sep 17 00:00:00 2001 Date: Mon, 12 Apr 2021 22:25:06 +0900 Subject: [PATCH] smackfs: restrict bytes count in smk_set_cipso() Commit 7ef4c19d245f3dc2 ("smackfs: restrict bytes count in smackfs write functions") missed that count > SMK_CIPSOMAX check applies to only format == SMK_FIXED24_FMT case.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.2763.5 ≤ v < 4.14.2403.5 ≤ v < 4.19.1983.5 ≤ v < 4.9.2763.5 ≤ v < 5.10.513.5 ≤ v < 5.12.183.5 ≤ v < 5.13.33.5 ≤ v < 5.143.5 ≤ v < 5.4.1334.10 ≤ v < 4.14.2404.15 ≤ v < 4.19.1984.20 ≤ v < 5.4.1335.11 ≤ v < 5.12.185.13 ≤ v < 5.13.35.5 ≤ v < 5.10.513.5f7112e6c9abf1c70f001dcf097c1d6e218a93f5c
Vendor states this is fixed in 135122f174c357b7a3e58f40fa5792156c5e93e6 (fixed)
Vendor states this is fixed in 258fd821f69378453c071b9dd767b298810fc766 (fixed)
Vendor states this is fixed in 3780348c1a0e14ffefcaf1fc521f815bcaac94b0 (fixed)
Vendor states this is fixed in 49ec114a6e62d8d320037ce71c1aaf9650b3cafd (fixed)
Vendor states this is fixed in 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2 (fixed)
Vendor states this is fixed in 5f9880403e6b71d56924748ba331daf836243fca (fixed)
Vendor states this is fixed in 8f5c773a2871cf446e3f36b2834fb25bbb28512b (fixed)
Vendor states this is fixed in cbd87ba6a13891acf6180783f8234a8b7a3e3d4d (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.14.240 (unaffected)
Vendor states this is fixed in 4.19.198 (unaffected)
Vendor states this is fixed in 4.9.276 (unaffected)
Vendor states this is fixed in 5.10.51 (unaffected)
Vendor states this is fixed in 5.12.18 (unaffected)
Vendor states this is fixed in 5.13.3 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.133 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/135122f174c357b7a3e58f40fa5792156c5e93e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/258fd821f69378453c071b9dd767b298810fc766
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3780348c1a0e14ffefcaf1fc521f815bcaac94b0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/49ec114a6e62d8d320037ce71c1aaf9650b3cafd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f9880403e6b71d56924748ba331daf836243fca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f5c773a2871cf446e3f36b2834fb25bbb28512b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cbd87ba6a13891acf6180783f8234a8b7a3e3d4d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card