sound/snd_timer02: Detect CVE-2026-74503 from the fallback timer
PATCH 1/1 sound/snd_timer02: Detect CVE-2026-74503 from the fallback timer
From: Stephen Bertram <[email protected]>
Open HRTIMER instances until SELECT returns EBUSY, move the queue to the system timer, then drop one slot and switch the queue back to HRTIMER. The matching slave makes snd_timer_check_master() fail, so snd_seq_timer_open() reuses the instance for the system-timer fallback.
snd_timer_start1() rejects the start while SNDRV_TIMER_IFLG_DEAD is set, so an unfixed kernel leaves the queue stopped. Point linux-git at c2744d5f3aea.
Signed-off-by Stephen Bertram <[email protected]>
--- runtest/cve | 1 + testcases/kernel/sound/.gitignore | 1 + testcases/kernel/sound/snd_timer02.c | 292 +++++++++++++++++++++++++++ 3 files changed, 294 insertions(+) create mode 100644 testcases/kernel/sound/snd_timer02.c
runtest/cve +1 -0
@@ -91,6 +91,7 @@ cve-2023-52879 fanotify25 cve-2026-43499 ghostlock cve-2026-53362 setsockopt11 cve-2026-64600 refluxfs +cve-2026-74503 snd_timer02 cve-2026-99999 pwnescape # Tests below may cause kernel memory leak cve-2020-25704 perf_event_open03
testcases/kernel/sound/.gitignore +1 -0
@@ -1,2 +1,3 @@ snd_timer01 +snd_timer02 /snd_seq01
testcases/kernel/sound/snd_timer02.c new file +292 -0
292 lines not on this page · raw message
Signature · 5 lines
2.56.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp