linux: In the Linux kernel, the following vulnerability has been resolved: selinux: fix double free of cond_list on error p...
CVE-2022-48740 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-48740, released June 20, 2024. It is not reported as exploited. Patch Radar priority: High.
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]
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| linux · Debian 12.15 (bookworm) | 5.16.10-1 | DEBIAN-CVE-2022-48740 | Jun 20, 2024 |
| linux · Debian 13.5 (trixie) | 5.16.10-1 | DEBIAN-CVE-2022-48740 | Jun 20, 2024 |
| linux · Debian 14 | 5.16.10-1 | DEBIAN-CVE-2022-48740 | Jun 20, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.