{"id":"CVE-2021-47336","aliases":["CVE-2021-47336"],"related":[],"kind":"vulnerability","state":"published","title":"smackfs: restrict bytes count in smk_set_cipso()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmackfs: restrict bytes count in smk_set_cipso()\n\nOops, I failed to update subject line.\n\nFrom 07571157c91b98ce1a4aa70967531e64b78e8346 Mon Sep 17 00:00:00 2001\nDate: Mon, 12 Apr 2021 22:25:06 +0900\nSubject: [PATCH] smackfs: restrict bytes count in smk_set_cipso()\n\nCommit 7ef4c19d245f3dc2 (\"smackfs: restrict bytes count in smackfs write\nfunctions\") missed that count > SMK_CIPSOMAX check applies to only\nformat == SMK_FIXED24_FMT case.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmackfs: restrict bytes count in smk_set_cipso()\n\nOops, I failed to update subject line.\n\nFrom 07571157c91b98ce1a4aa70967531e64b78e8346 Mon Sep 17 00:00:00 2001\nDate: Mon, 12 Apr 2021 22:25:06 +0900\nSubject: [PATCH] smackfs: restrict bytes count in smk_set_cipso()\n\nCommit 7ef4c19d245f3dc2 (\"smackfs: restrict bytes count in smackfs write\nfunctions\") missed that count > SMK_CIPSOMAX check applies to only\nformat == SMK_FIXED24_FMT case.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: smackfs: restringir el recuento de bytes en smk_set_cipso() Oops, no pude actualizar la línea de asunto. De 07571157c91b98ce1a4aa70967531e64b78e8346 lunes 17 de septiembre 00:00:00 2001 Fecha: lunes 12 de abril de 2021 22:25:06 +0900 Asunto: [PATCH] smackfs: restringir el recuento de bytes en smk_set_cipso() Confirmación 7ef4c1 9d245f3dc2 (\"smackfs: restringir el recuento de bytes en smackfs funciones de escritura\") perdió ese recuento &gt; La verificación SMK_CIPSOMAX se aplica solo al formato == caso SMK_FIXED24_FMT.","source":"nvd"}],"published":"2024-05-21T14:35:45.744Z","modified":"2026-06-17T04:17:13.620Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"5f9880403e6b71d56924748ba331daf836243fca","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"cbd87ba6a13891acf6180783f8234a8b7a3e3d4d","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"135122f174c357b7a3e58f40fa5792156c5e93e6","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"3780348c1a0e14ffefcaf1fc521f815bcaac94b0","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"8f5c773a2871cf446e3f36b2834fb25bbb28512b","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"258fd821f69378453c071b9dd767b298810fc766","status":"affected"},{"type":"git","introduced":"f7112e6c9abf1c70f001dcf097c1d6e218a93f5c","fixed":"49ec114a6e62d8d320037ce71c1aaf9650b3cafd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.9.276","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.240","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.198","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.133","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.51","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.18","lastAffected":"5.12.*","status":"unaffected"},{"type":"semver","introduced":"5.13.3","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.276"},{"status":"affected","introduced":"4.10","fixed":"4.14.240"},{"status":"affected","introduced":"4.15","fixed":"4.19.198"},{"status":"affected","introduced":"4.20","fixed":"5.4.133"},{"status":"affected","introduced":"5.5","fixed":"5.10.51"},{"status":"affected","introduced":"5.11","fixed":"5.12.18"},{"status":"affected","introduced":"5.13","fixed":"5.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5f9880403e6b71d56924748ba331daf836243fca","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c2dca9a7a7ff6a2df34158903515e2e4fd3d2b2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cbd87ba6a13891acf6180783f8234a8b7a3e3d4d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/135122f174c357b7a3e58f40fa5792156c5e93e6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3780348c1a0e14ffefcaf1fc521f815bcaac94b0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f5c773a2871cf446e3f36b2834fb25bbb28512b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/258fd821f69378453c071b9dd767b298810fc766","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49ec114a6e62d8d320037ce71c1aaf9650b3cafd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-21T18:44:23.247Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47336","url":"https://www.cve.org/CVERecord?id=CVE-2021-47336","licence":"CVE Terms of Use","modified":"2026-05-11T13:52:39.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47336","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47336","licence":"Public domain","modified":"2026-06-17T04:17:13.620Z"}],"updatedAt":"2026-11-25T22:58:08.802Z","epss":{"score":0.00246,"percentile":0.16971,"date":"2026-12-01T12:00:22.000Z"}}