{"api_version":"1","generated_at":"2026-08-22T04:27:12+00:00","cve":"CVE-2021-47458","urls":{"html":"https://cve.report/CVE-2021-47458","api":"https://cve.report/api/cve/CVE-2021-47458.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47458","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47458"},"summary":{"title":"ocfs2: mount fails with buffer overflow in strlen","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: mount fails with buffer overflow in strlen\n\nStarting with kernel 5.11 built with CONFIG_FORTIFY_SOURCE mouting an\nocfs2 filesystem with either o2cb or pcmk cluster stack fails with the\ntrace below.  Problem seems to be that strings for cluster stack and\ncluster name are not guaranteed to be null terminated in the disk\nrepresentation, while strlcpy assumes that the source string is always\nnull terminated.  This causes a read outside of the source string\ntriggering the buffer overflow detection.\n\n  detected buffer overflow in strlen\n  ------------[ cut here ]------------\n  kernel BUG at lib/string.c:1149!\n  invalid opcode: 0000 [#1] SMP PTI\n  CPU: 1 PID: 910 Comm: mount.ocfs2 Not tainted 5.14.0-1-amd64 #1\n    Debian 5.14.6-2\n  RIP: 0010:fortify_panic+0xf/0x11\n  ...\n  Call Trace:\n   ocfs2_initialize_super.isra.0.cold+0xc/0x18 [ocfs2]\n   ocfs2_fill_super+0x359/0x19b0 [ocfs2]\n   mount_bdev+0x185/0x1b0\n   legacy_get_tree+0x27/0x40\n   vfs_get_tree+0x25/0xb0\n   path_mount+0x454/0xa20\n   __x64_sys_mount+0x103/0x140\n   do_syscall_64+0x3b/0xc0\n   entry_SYSCALL_64_after_hwframe+0x44/0xae","state":"PUBLISHED","assigner":"Linux","published_at":"2024-05-22 07:15:10","updated_at":"2026-08-04 10:17:04"},"problem_types":["CWE-787"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","data":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/4b74ddcc22ee6455946e80a9c4808801f8f8561e","name":"https://git.kernel.org/stable/c/4b74ddcc22ee6455946e80a9c4808801f8f8561e","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0e677ea5b7396f715a76b6b0ef441430e4c4b57f","name":"https://git.kernel.org/stable/c/0e677ea5b7396f715a76b6b0ef441430e4c4b57f","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/232ed9752510de4436468b653d145565669c8498","name":"https://git.kernel.org/stable/c/232ed9752510de4436468b653d145565669c8498","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d3a83576378b4c904f711598dde2c5e881c4295c","name":"https://git.kernel.org/stable/c/d3a83576378b4c904f711598dde2c5e881c4295c","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb","name":"https://git.kernel.org/stable/c/ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/93be0eeea14cf39235e585c8f56df3b3859deaad","name":"https://git.kernel.org/stable/c/93be0eeea14cf39235e585c8f56df3b3859deaad","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7623b1035ca2d17bde0f6a086ad6844a34648df1","name":"https://git.kernel.org/stable/c/7623b1035ca2d17bde0f6a086ad6844a34648df1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b15fa9224e6e1239414525d8d556d824701849fc","name":"https://git.kernel.org/stable/c/b15fa9224e6e1239414525d8d556d824701849fc","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-47458","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47458","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace 4b74ddcc22ee6455946e80a9c4808801f8f8561e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace 232ed9752510de4436468b653d145565669c8498 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace 7623b1035ca2d17bde0f6a086ad6844a34648df1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace d3a83576378b4c904f711598dde2c5e881c4295c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace 93be0eeea14cf39235e585c8f56df3b3859deaad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace 0e677ea5b7396f715a76b6b0ef441430e4c4b57f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c74a3bdd9b529d924d1abf986079b783dd105ace b15fa9224e6e1239414525d8d556d824701849fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.4.290 4.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.9.288 4.9.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14.253 4.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19.214 4.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.156 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.76 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14.15 5.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"47458","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2021-47458","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-06-10T18:55:25.437565Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-06-10T18:55:34.667Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2024-08-04T05:39:59.133Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/4b74ddcc22ee6455946e80a9c4808801f8f8561e"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/232ed9752510de4436468b653d145565669c8498"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/7623b1035ca2d17bde0f6a086ad6844a34648df1"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/d3a83576378b4c904f711598dde2c5e881c4295c"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/93be0eeea14cf39235e585c8f56df3b3859deaad"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/0e677ea5b7396f715a76b6b0ef441430e4c4b57f"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/b15fa9224e6e1239414525d8d556d824701849fc"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ocfs2/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"4b74ddcc22ee6455946e80a9c4808801f8f8561e","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"232ed9752510de4436468b653d145565669c8498","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"7623b1035ca2d17bde0f6a086ad6844a34648df1","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"d3a83576378b4c904f711598dde2c5e881c4295c","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"93be0eeea14cf39235e585c8f56df3b3859deaad","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"0e677ea5b7396f715a76b6b0ef441430e4c4b57f","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"},{"lessThan":"b15fa9224e6e1239414525d8d556d824701849fc","status":"affected","version":"c74a3bdd9b529d924d1abf986079b783dd105ace","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.14"},{"lessThan":"3.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"4.4.*","status":"unaffected","version":"4.4.290","versionType":"semver"},{"lessThanOrEqual":"4.9.*","status":"unaffected","version":"4.9.288","versionType":"semver"},{"lessThanOrEqual":"4.14.*","status":"unaffected","version":"4.14.253","versionType":"semver"},{"lessThanOrEqual":"4.19.*","status":"unaffected","version":"4.19.214","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.156","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.76","versionType":"semver"},{"lessThanOrEqual":"5.14.*","status":"unaffected","version":"5.14.15","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"5.15","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.4.290","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.9.288","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.14.253","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.214","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.156","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.76","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.14.15","versionStartIncluding":"3.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15","versionStartIncluding":"3.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: mount fails with buffer overflow in strlen\n\nStarting with kernel 5.11 built with CONFIG_FORTIFY_SOURCE mouting an\nocfs2 filesystem with either o2cb or pcmk cluster stack fails with the\ntrace below.  Problem seems to be that strings for cluster stack and\ncluster name are not guaranteed to be null terminated in the disk\nrepresentation, while strlcpy assumes that the source string is always\nnull terminated.  This causes a read outside of the source string\ntriggering the buffer overflow detection.\n\n  detected buffer overflow in strlen\n  ------------[ cut here ]------------\n  kernel BUG at lib/string.c:1149!\n  invalid opcode: 0000 [#1] SMP PTI\n  CPU: 1 PID: 910 Comm: mount.ocfs2 Not tainted 5.14.0-1-amd64 #1\n    Debian 5.14.6-2\n  RIP: 0010:fortify_panic+0xf/0x11\n  ...\n  Call Trace:\n   ocfs2_initialize_super.isra.0.cold+0xc/0x18 [ocfs2]\n   ocfs2_fill_super+0x359/0x19b0 [ocfs2]\n   mount_bdev+0x185/0x1b0\n   legacy_get_tree+0x27/0x40\n   vfs_get_tree+0x25/0xb0\n   path_mount+0x454/0xa20\n   __x64_sys_mount+0x103/0x140\n   do_syscall_64+0x3b/0xc0\n   entry_SYSCALL_64_after_hwframe+0x44/0xae"}],"metrics":[{"cvssV3_1":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-08-04T09:00:49.032Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ac011cb3ff7a76b3e0e6e77158ee4ba2f929e1fb"},{"url":"https://git.kernel.org/stable/c/4b74ddcc22ee6455946e80a9c4808801f8f8561e"},{"url":"https://git.kernel.org/stable/c/232ed9752510de4436468b653d145565669c8498"},{"url":"https://git.kernel.org/stable/c/7623b1035ca2d17bde0f6a086ad6844a34648df1"},{"url":"https://git.kernel.org/stable/c/d3a83576378b4c904f711598dde2c5e881c4295c"},{"url":"https://git.kernel.org/stable/c/93be0eeea14cf39235e585c8f56df3b3859deaad"},{"url":"https://git.kernel.org/stable/c/0e677ea5b7396f715a76b6b0ef441430e4c4b57f"},{"url":"https://git.kernel.org/stable/c/b15fa9224e6e1239414525d8d556d824701849fc"}],"title":"ocfs2: mount fails with buffer overflow in strlen","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2021-47458","datePublished":"2024-05-22T06:19:46.675Z","dateReserved":"2024-05-21T14:58:30.833Z","dateUpdated":"2026-08-04T09:00:49.032Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-05-22 07:15:10","lastModifiedDate":"2026-08-04 10:17:04","problem_types":["CWE-787"],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-06-10T18:55:25.437565Z","id":"CVE-2021-47458","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.4.290","matchCriteriaId":"C56A8089-600C-4D13-B0BD-0B3B87CAAAEC"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"4.9.288","matchCriteriaId":"F99C0BFE-2803-4525-BA2B-EA4F42F8CADE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.14.253","matchCriteriaId":"1830428A-CB40-4E7F-A4F9-177A0B9614D2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.214","matchCriteriaId":"8491C8F9-93D0-4314-BD59-65E3038494EA"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.156","matchCriteriaId":"03015A9C-56AA-4210-9491-CF2FB0F45B9A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.76","matchCriteriaId":"E61528CE-9083-425B-AE36-3791232BF780"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.14.15","matchCriteriaId":"63BD46C4-473F-45F9-93E9-F67D955321D8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*","matchCriteriaId":"E46C74C6-B76B-4C94-A6A4-FD2FFF62D644"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*","matchCriteriaId":"60134C3A-06E4-48C1-B04F-2903732A4E56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*","matchCriteriaId":"0460DA88-8FE1-46A2-9DDA-1F1ABA552E71"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*","matchCriteriaId":"AF55383D-4DF2-45DC-93F7-571F4F978EAB"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*","matchCriteriaId":"9E9481B2-8AA6-4CBD-B5D3-C10F51FF6D01"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*","matchCriteriaId":"EBD45831-4B79-42BC-ABC0-86870F0DEA89"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"47458","Ordinal":"1","Title":"ocfs2: mount fails with buffer overflow in strlen","CVE":"CVE-2021-47458","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"47458","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: mount fails with buffer overflow in strlen\n\nStarting with kernel 5.11 built with CONFIG_FORTIFY_SOURCE mouting an\nocfs2 filesystem with either o2cb or pcmk cluster stack fails with the\ntrace below.  Problem seems to be that strings for cluster stack and\ncluster name are not guaranteed to be null terminated in the disk\nrepresentation, while strlcpy assumes that the source string is always\nnull terminated.  This causes a read outside of the source string\ntriggering the buffer overflow detection.\n\n  detected buffer overflow in strlen\n  ------------[ cut here ]------------\n  kernel BUG at lib/string.c:1149!\n  invalid opcode: 0000 [#1] SMP PTI\n  CPU: 1 PID: 910 Comm: mount.ocfs2 Not tainted 5.14.0-1-amd64 #1\n    Debian 5.14.6-2\n  RIP: 0010:fortify_panic+0xf/0x11\n  ...\n  Call Trace:\n   ocfs2_initialize_super.isra.0.cold+0xc/0x18 [ocfs2]\n   ocfs2_fill_super+0x359/0x19b0 [ocfs2]\n   mount_bdev+0x185/0x1b0\n   legacy_get_tree+0x27/0x40\n   vfs_get_tree+0x25/0xb0\n   path_mount+0x454/0xa20\n   __x64_sys_mount+0x103/0x140\n   do_syscall_64+0x3b/0xc0\n   entry_SYSCALL_64_after_hwframe+0x44/0xae","Type":"Description","Title":"ocfs2: mount fails with buffer overflow in strlen"}]}}}