diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-01-25 23:56:15 +0200 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-02-06 17:34:54 +0200 |
| commit | 474eba540738838dbb9d21cc1eb705c6ef060b94 (patch) | |
| tree | e9dc339a3a54a2b94a75542c4f8febf1c17360dc /kernel/driver/find_kernel_headers | |
| parent | e81ef1824ca33aa977fda7fd0ef02052a5186675 (diff) | |
| download | accel-ppp-474eba540738838dbb9d21cc1eb705c6ef060b94.tar.gz accel-ppp-474eba540738838dbb9d21cc1eb705c6ef060b94.zip | |
ppp: classic TOCTOU, as uc_size not guarded by mutex
It was a micro-optimization to skip taking the mutex when uc_size was 0.
But because uc_size isnt atomic and wasnt read under the lock, it created a TOCTOU window.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'kernel/driver/find_kernel_headers')
0 files changed, 0 insertions, 0 deletions
