Vulnerability · Published May 21, 2024 · Assigned by Linux
CVE-2021-47336smackfs: restrict bytes count in smk_set_cipso()
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47336 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47336 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47336 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47336 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 5f9880403e6b71d56924748ba331daf836243fcaf7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2f7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before cbd87ba6a13891acf6180783f8234a8b7a3e3d4df7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 135122f174c357b7a3e58f40fa5792156c5e93e6f7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 3780348c1a0e14ffefcaf1fc521f815bcaac94b0f7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 8f5c773a2871cf446e3f36b2834fb25bbb28512bf7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 258fd821f69378453c071b9dd767b298810fc766f7112e6c9abf1c70f001dcf097c1d6e218a93f5c – before 49ec114a6e62d8d320037ce71c1aaf9650b3cafd |
| Linux | Linux | 3.5 |
References
- https://git.kernel.org/stable/c/5f9880403e6b71d56924748ba331daf836243fca
- https://git.kernel.org/stable/c/5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2
- https://git.kernel.org/stable/c/cbd87ba6a13891acf6180783f8234a8b7a3e3d4d
- https://git.kernel.org/stable/c/135122f174c357b7a3e58f40fa5792156c5e93e6
- https://git.kernel.org/stable/c/3780348c1a0e14ffefcaf1fc521f815bcaac94b0
- https://git.kernel.org/stable/c/8f5c773a2871cf446e3f36b2834fb25bbb28512b
- https://git.kernel.org/stable/c/258fd821f69378453c071b9dd767b298810fc766
- https://git.kernel.org/stable/c/49ec114a6e62d8d320037ce71c1aaf9650b3cafd