CVE-2022-48740Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 18
- Auth required
- Yes
- Published
- Jun 20, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-415
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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]
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 5.7 < 5.10.99 |
| linux | linux_kernel | ≥ 5.11 < 5.15.22 |
| linux | linux_kernel | ≥ 5.16 < 5.16.8 |
| linux | linux_kernel | 5.17 |
| linux | linux_kernel | 5.17 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch