summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-01-25 23:56:15 +0200
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-02-06 17:34:54 +0200
commit474eba540738838dbb9d21cc1eb705c6ef060b94 (patch)
treee9dc339a3a54a2b94a75542c4f8febf1c17360dc /kernel
parente81ef1824ca33aa977fda7fd0ef02052a5186675 (diff)
downloadaccel-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')
0 files changed, 0 insertions, 0 deletions