CVE-2021-47336
publishedsmackfs: restrict bytes count in smk_set_cipso()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 5f9880403e6b71d56924748ba331daf836243fca · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2 · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < cbd87ba6a13891acf6180783f8234a8b7a3e3d4d · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 135122f174c357b7a3e58f40fa5792156c5e93e6 · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 3780348c1a0e14ffefcaf1fc521f815bcaac94b0 · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 8f5c773a2871cf446e3f36b2834fb25bbb28512b · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 258fd821f69378453c071b9dd767b298810fc766 · f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 49ec114a6e62d8d320037ce71c1aaf9650b3cafd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.5 (affected) · 0 to < 3.5 (unaffected · semver) · 4.9.276 through 4.9.* (unaffected · semver) · 4.14.240 through 4.14.* (unaffected · semver) · 4.19.198 through 4.19.* (unaffected · semver) · 5.4.133 through 5.4.* (unaffected · semver) · 5.10.51 through 5.10.* (unaffected · semver) · 5.12.18 through 5.12.* (unaffected · semver) · 5.13.3 through 5.13.* (unaffected · semver) · 5.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 5f9880403e6b71d56924748ba331daf836243fca (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2 (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < cbd87ba6a13891acf6180783f8234a8b7a3e3d4d (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 135122f174c357b7a3e58f40fa5792156c5e93e6 (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 3780348c1a0e14ffefcaf1fc521f815bcaac94b0 (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 8f5c773a2871cf446e3f36b2834fb25bbb28512b (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 258fd821f69378453c071b9dd767b298810fc766 (affected · git)f7112e6c9abf1c70f001dcf097c1d6e218a93f5c to < 49ec114a6e62d8d320037ce71c1aaf9650b3cafd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.5 (affected)0 to < 3.5 (unaffected · semver)4.9.276 through 4.9.* (unaffected · semver)4.14.240 through 4.14.* (unaffected · semver)4.19.198 through 4.19.* (unaffected · semver)5.4.133 through 5.4.* (unaffected · semver)5.10.51 through 5.10.* (unaffected · semver)5.12.18 through 5.12.* (unaffected · semver)5.13.3 through 5.13.* (unaffected · semver)5.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/135122f174c357b7a3e58f40fa5792156c5e93e6
- https://git.kernel.org/stable/c/258fd821f69378453c071b9dd767b298810fc766
- https://git.kernel.org/stable/c/3780348c1a0e14ffefcaf1fc521f815bcaac94b0
- https://git.kernel.org/stable/c/49ec114a6e62d8d320037ce71c1aaf9650b3cafd
- https://git.kernel.org/stable/c/5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2
- https://git.kernel.org/stable/c/5f9880403e6b71d56924748ba331daf836243fca
- https://git.kernel.org/stable/c/8f5c773a2871cf446e3f36b2834fb25bbb28512b
- https://git.kernel.org/stable/c/cbd87ba6a13891acf6180783f8234a8b7a3e3d4d
Provider assertions
3Linux · cna
smackfs: restrict bytes count in smk_set_cipso()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 397e8ff5505bf16bbbf9f32f5ab107153e43ebff41ebebd41b43793f6d4a96c0
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record