2084AI Security Observatory

CVE

CVE-2024-38560

CVE-2024-38560HIGH 7.1EPSS 19%

CNA description

In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Ensure the copied buf is NUL terminated Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdup_user_nul instead of memdup_user.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.9, < 6.9.3Fixed in 6.9.3
  • ≥ 6.7, < 6.8.12Fixed in 6.8.12
  • ≥ 6.2, < 6.6.33Fixed in 6.6.33
  • ≥ 5.16, < 6.1.93Fixed in 6.1.93
  • ≥ 5.11, < 5.15.161Fixed in 5.15.161
  • ≥ 5.5, < 5.10.219Fixed in 5.10.219
  • ≥ 4.20, < 5.4.278Fixed in 5.4.278
  • ≥ 3.19, < 4.19.316Fixed in 4.19.316

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.