CVE-2022-48740: selinux: fix double free of cond_list on error paths
Vulnerability summary
CVE-2022-48740 is a high (CVSS 7.8) Double Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 20-06-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu66 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ 60abd3181db29ea81742106cc0ac2e27fd05b418, < f446089a268c8fc6908488e991d28a9b936293db | ≥ 60abd3181db29ea81742106cc0ac2e27fd05b418, < 70caa32e6d81f45f0702070c0e4dfe945e92fbd7 | ≥ 60abd3181db29ea81742106cc0ac2e27fd05b418, < 7ed9cbf7ac0d4ed86b356e1b944304ae9ee450d4 | ≥ 60abd3181db29ea81742106cc0ac2e27fd05b418, < 186edf7e368c40d06cf727a1ad14698ea67b74ad | 5.7
- linux_kernel≥ 5.7, < 5.10.99 | ≥ 5.11, < 5.15.22 | ≥ 5.16, < 5.16.8 | 5.17:rc1 | 5.17:rc2
Debian1 product
- linux< 5.16.10-1
3 vendors · 69 products