2084AI Security Observatory

CVE

CVE-2022-48740

CVE-2022-48740HIGH 7.8EPSS 16%

CNA description

In the Linux kernel, the following vulnerability has been resolved: selinux: fix double free of cond_list on error paths On error path from cond_read_list() and duplicate_policydb_cond_list() the cond_list_destroy() gets called a second time in caller functions, resulting in NULL pointer deref. Fix this by resetting the cond_list_len to 0 in cond_list_destroy(), making subsequent calls a noop. Also consistently reset the cond_list pointer to NULL after freeing. [PM: fix line lengths in the description]

Affected versions

All Linux kernel vulnerabilities →

  • 5.17-rc2This version only
  • 5.17-rc1This version only
  • ≥ 5.16, < 5.16.8Fixed in 5.16.8
  • ≥ 5.11, < 5.15.22Fixed in 5.15.22
  • ≥ 5.7, < 5.10.99Fixed in 5.10.99

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.