{"id":"CVE-2023-52606","state":"PUBLISHED","title":"powerpc/lib: Validate size for vector operations","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/lib: Validate size for vector operations\n\nSome of the fp/vmx code in sstep.c assume a certain maximum size for the\ninstructions being emulated. The size of those operations however is\ndetermined separately in analyse_instr().\n\nAdd a check to validate the assumption on the maximum size of the\noperations, so as to prevent any unintended kernel stack corruption.","publishedAt":"2024-03-06T06:45:31.257Z","updatedAt":"2026-08-05T09:10:40.049Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"42084a428a139f1a429f597d44621e3a18f3e414","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"0580f4403ad33f379eef865c2a6fe94de37febdf","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"beee482cc4c9a6b1dcffb2e190b4fd8782258678","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"de4f5ed63b8a199704d8cdcbf810309d7eb4b36b","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"abd26515d4b767ba48241eea77b28ce0872aef3e","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"28b8ba8eebf26f66d9f2df4ba550b6b3b136082c","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"848e1d7fd710900397e1d0e7584680c1c04e3afd","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"8f9abaa6d7de0a70fc68acaedce290c1f96e2e59","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/lib/sstep.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"4.19.307","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.269","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.77","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.16","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.4","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/lib/sstep.c"]}],"references":["https://git.kernel.org/stable/c/42084a428a139f1a429f597d44621e3a18f3e414","https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf","https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678","https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b","https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e","https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c","https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd","https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52606.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52606","state":"PUBLISHED","datePublished":"2024-03-06T06:45:31.257Z","dateUpdated":"2026-08-05T09:10:40.049Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-02T21:55:42.573Z"},"containers":{"cna":{"title":"powerpc/lib: Validate size for vector operations","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/lib: Validate size for vector operations\n\nSome of the fp/vmx code in sstep.c assume a certain maximum size for the\ninstructions being emulated. The size of those operations however is\ndetermined separately in analyse_instr().\n\nAdd a check to validate the assumption on the maximum size of the\noperations, so as to prevent any unintended kernel stack corruption."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"42084a428a139f1a429f597d44621e3a18f3e414","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"0580f4403ad33f379eef865c2a6fe94de37febdf","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"beee482cc4c9a6b1dcffb2e190b4fd8782258678","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"de4f5ed63b8a199704d8cdcbf810309d7eb4b36b","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"abd26515d4b767ba48241eea77b28ce0872aef3e","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"28b8ba8eebf26f66d9f2df4ba550b6b3b136082c","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"848e1d7fd710900397e1d0e7584680c1c04e3afd","versionType":"git"},{"version":"c22435a5f3d8f85ea162ae523a6ba60a58521ba5","status":"affected","lessThan":"8f9abaa6d7de0a70fc68acaedce290c1f96e2e59","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/lib/sstep.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"4.19.307","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.269","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.77","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.16","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.4","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/powerpc/lib/sstep.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/42084a428a139f1a429f597d44621e3a18f3e414"},{"url":"https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf"},{"url":"https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678"},{"url":"https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b"},{"url":"https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e"},{"url":"https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c"},{"url":"https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd"},{"url":"https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59"}],"metrics":[{"cvssV3_1":{"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"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable FP/VMX emulation runs in the local alignment-exception path (alignment_exception → fix_alignment → emulate_loadstore), triggered by executing unaligned FP/Altivec instructions on PowerPC; it is not reachable via network packet processing.\nAC:L - An unprivileged attacker can reliably force the emulation path by executing crafted unaligned FP/VMX load/store instructions; no race or attacker-uncontrollable victim state is required.\nPR:L - Any unprivileged local user can trigger alignment exceptions in their own process; no capabilities or root privileges are needed to reach fix_alignment and the vulnerable helpers.\nUI:N - Exploitation requires only the attacker’s own process executing the crafted instructions; no action by another user is needed.\nS:U - Impact is confined to the host kernel authority (local privilege escalation / kernel memory corruption); KVM uses a separate emulate_loadstore path and this is not a guest-to-host escape.\nC:H - On the store paths, an oversized size causes copy_mem_out to read past the stack buffer and write kernel stack contents to attacker-controlled userspace, enabling arbitrary kernel memory disclosure; policy treats such memory corruption as C:H.\nI:H - On the load paths, copy_mem_in writes attacker-controlled userspace data past the fixed stack buffers, enabling kernel stack corruption and control-flow hijacking; buffer overflows of this class are scored I:H.\nA:H - Kernel stack corruption from the oversized copy can oops/panic the kernel; any such crash is scored A:H."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:10:40.049Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"4.19.307"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.4.269"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.10.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"5.15.149"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.1.77"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.6.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.7.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52606","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-06T15:40:47.591136Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:22:50.946Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/42084a428a139f1a429f597d44621e3a18f3e414","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/0580f4403ad33f379eef865c2a6fe94de37febdf","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/beee482cc4c9a6b1dcffb2e190b4fd8782258678","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/de4f5ed63b8a199704d8cdcbf810309d7eb4b36b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/abd26515d4b767ba48241eea77b28ce0872aef3e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/28b8ba8eebf26f66d9f2df4ba550b6b3b136082c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/848e1d7fd710900397e1d0e7584680c1c04e3afd","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:03:21.178Z"}}]}}}