CVE-2022-48740
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
selinux: fix double free of cond_list on error paths
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]
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 60abd3181db29ea81742106cc0ac2e27fd05b418 | affected | git | f446089a268c8fc6908488e991d28a9b936293db | Unavailable | None listed |
| 60abd3181db29ea81742106cc0ac2e27fd05b418 | affected | git | 70caa32e6d81f45f0702070c0e4dfe945e92fbd7 | Unavailable | None listed |
| 60abd3181db29ea81742106cc0ac2e27fd05b418 | affected | git | 7ed9cbf7ac0d4ed86b356e1b944304ae9ee450d4 | Unavailable | None listed |
| 60abd3181db29ea81742106cc0ac2e27fd05b418 | affected | git | 186edf7e368c40d06cf727a1ad14698ea67b74ad | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.7 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.7 | Unavailable | None listed |
| 5.10.99 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.22 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 5.16.8 | unaffected | semver | Unavailable | 5.16.* | None listed |
| 5.17 | unaffected | original_commit_for_fix | Unavailable | * | None listed |