CVE-2021-47336

smackfs: restrict bytes count in smk_set_cipso()

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 5f9880403e6b71d56924748ba331daf836243fcaAffected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2Affected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before cbd87ba6a13891acf6180783f8234a8b7a3e3d4dAffected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 135122f174c357b7a3e58f40fa5792156c5e93e6Affected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 3780348c1a0e14ffefcaf1fc521f815bcaac94b0Affected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 8f5c773a2871cf446e3f36b2834fb25bbb28512bAffected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 258fd821f69378453c071b9dd767b298810fc766Affected
  • f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to before 49ec114a6e62d8d320037ce71c1aaf9650b3cafdAffected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 4.9.276 through 4.9.*Not affected
  • 4.14.240 through 4.14.*Not affected
  • 4.19.198 through 4.19.*Not affected
  • 5.4.133 through 5.4.*Not affected
  • 5.10.51 through 5.10.*Not affected
  • 5.12.18 through 5.12.*Not affected
  • 5.13.3 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.