---
id: CVE-2023-52612
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  crypto: scomp - fix req->dst buffer overflow

  The req->dst buffer size should be checked before copying from the
  scomp_scratch->dst to avoid req->dst buffer overflow pr…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  crypto: scomp - fix req->dst buffer overflow

  The req->dst buffer size should be checked before copying from the
  scomp_scratch->dst to avoid req->dst buffer overflow pr…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-120
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.10, < 4.19.306'
  - 'linux_kernel >= 4.20, < 5.4.268'
  - 'linux_kernel >= 5.5, < 5.10.209'
  - 'linux_kernel >= 5.11, < 5.15.148'
  - 'linux_kernel >= 5.16, < 6.1.75'
  - 'linux_kernel >= 6.2, < 6.6.14'
  - 'linux_kernel >= 6.7, < 6.7.2'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.7.2
published: '2024-03-18'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:14.500'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52612'
references:
  - url: 'https://git.kernel.org/stable/c/1142d65c5b881590962ad763f94505b6dd67d2fe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4518dc468cdd796757190515a9be7408adc8911e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4df0c942d04a67df174195ad8082f6e30e7f71a5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/71c6670f9f032ec67d8f4e3f8db4646bf5a62883'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/744e1885922a9943458954cfea917b31064b4131'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7d9e5bed036a7f9e2062a137e97e3c1e77fb8759'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a5f2f91b3fd7387e5102060809316a0f8f0bc625'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e0e3f4a18784182cfe34e20c00eca11e78d53e76'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1142d65c5b881590962ad763f94505b6dd67d2fe'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/4518dc468cdd796757190515a9be7408adc8911e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/4df0c942d04a67df174195ad8082f6e30e7f71a5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/71c6670f9f032ec67d8f4e3f8db4646bf5a62883'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/744e1885922a9943458954cfea917b31064b4131'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/7d9e5bed036a7f9e2062a137e97e3c1e77fb8759'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a5f2f91b3fd7387e5102060809316a0f8f0bc625'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e0e3f4a18784182cfe34e20c00eca11e78d53e76'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00273
epssPercentile: 0.19594
ingestedAt: '2026-10-15T03:30:12.642Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-03-18T15:42:02.603013Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

crypto: scomp - fix req->dst buffer overflow

The req->dst buffer size should be checked before copying from the
scomp_scratch->dst to avoid req->dst buffer overflow problem.

## Affected

- `linux_kernel >= 4.10, < 4.19.306`
- `linux_kernel >= 4.20, < 5.4.268`
- `linux_kernel >= 5.5, < 5.10.209`
- `linux_kernel >= 5.11, < 5.15.148`
- `linux_kernel >= 5.16, < 6.1.75`
- `linux_kernel >= 6.2, < 6.6.14`
- `linux_kernel >= 6.7, < 6.7.2`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.2`
