2084AI Security Observatory

CVE

CVE-2021-47040

CVE-2021-47040HIGH 7.8EPSS 18%

CNA description

In the Linux kernel, the following vulnerability has been resolved: io_uring: fix overflows checks in provide buffers Colin reported before possible overflow and sign extension problems in io_provide_buffers_prep(). As Linus pointed out previous attempt did nothing useful, see d81269fecb8ce ("io_uring: fix provide_buffers sign extension"). Do that with help of check_<op>_overflow helpers. And fix struct io_provide_buf::len type, as it doesn't make much sense to keep it signed.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.12, < 5.12.4Fixed in 5.12.4
  • ≥ 5.11, < 5.11.21Fixed in 5.11.21
  • ≥ 5.8, < 5.10.37Fixed in 5.10.37

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.