{"id":"CVE-2023-53047","published":"2025-05-02T15:55:04Z","modified":"2026-08-05T09:12:32Z","title":"tee: amdtee: fix race condition in amdtee_open_session","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntee: amdtee: fix race condition in amdtee_open_session\n\nThere is a potential race condition in amdtee_open_session that may\nlead to use-after-free. For instance, in amdtee_open_session() after\nsess->sess_mask is set, and before setting:\n\n    sess->session_info[i] = session_info;\n\nif amdtee_close_session() closes this same session, then 'sess' data\nstructure will be released, causing kernel panic when 'sess' is\naccessed within amdtee_open_session().\n\nThe solution is to set the bit sess->sess_mask as the last step in\namdtee_open_session().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00216,"percentile":0.06971,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f632a90f8e39db39b322107b9a8d438b826a7f4f","tags":[]},{"url":"https://git.kernel.org/stable/c/02b296978a2137d7128151c542e84dc96400bc00","tags":[]},{"url":"https://git.kernel.org/stable/c/a63cce9393e4e7dbc5af82dc87e68cb321cb1a78","tags":[]},{"url":"https://git.kernel.org/stable/c/b3ef9e6fe09f1a132af28c623edcf4d4f39d9f35","tags":[]},{"url":"https://git.kernel.org/stable/c/f8502fba45bd30e1a6a354d9d898bc99d1a11e6d","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.39},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 757cc3e9ff1d72d014096399d6e2bf03974d9da1, < f632a90f8e39db39b322107b9a8d438b826a7f4f",">= 757cc3e9ff1d72d014096399d6e2bf03974d9da1, < 02b296978a2137d7128151c542e84dc96400bc00",">= 757cc3e9ff1d72d014096399d6e2bf03974d9da1, < a63cce9393e4e7dbc5af82dc87e68cb321cb1a78",">= 757cc3e9ff1d72d014096399d6e2bf03974d9da1, < b3ef9e6fe09f1a132af28c623edcf4d4f39d9f35",">= 757cc3e9ff1d72d014096399d6e2bf03974d9da1, < f8502fba45bd30e1a6a354d9d898bc99d1a11e6d"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"euvd":{"id":"EUVD-2025-13206","exploited":false,"provenance":"source"}}