Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Use after free.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
tee: optee: prevent use-after-free when the client exits before the supplicant
Commit 70b0d6b0a199 ("tee: optee: Fix supplicant wait loop") made the
client wait as killable so it can be interrupted during shutdown or
after a supplicant crash. This changes the original lifetime expectations:
the client task can now terminate while the supplicant is still processing
its request.
If the client exits first it removes the request from its queue and
kfree()s it, while the request ID remains in supp->idr. A subsequent
lookup on the supplicant path then dereferences freed memory, leading to
a use-after-free.
Serialise access to the request with supp->mutex:
* Hold supp->mutex in optee_supp_recv() and optee_supp_send() while
looking up and touching the request.
* Let optee_supp_thrd_req() notice that the client has terminated and
signal optee_supp_send() accordingly.
With these changes the request cannot be freed while the supplicant still
has a reference, eliminating the race.
Weakness: CWE-416 – Use after free
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=5.4.291 <5.5 |
| linux | linux kernel | >=5.10.235 <5.10.259 |
| linux | linux kernel | >=5.15.179 <5.15.210 |
| linux | linux kernel | >=6.1.130 <6.1.176 |
| linux | linux kernel | >=6.6.80 <6.6.143 |
| linux | linux kernel | >=6.12.17 <6.12.94 |
| linux | linux kernel | >=6.13.5 <6.14 |
| linux | linux kernel | >=6.14.1 <6.18.36 |
| linux | linux kernel | >=6.19 <7.0.13 |
| linux | linux kernel | 6.14 |
| linux | linux kernel | 7.1 |