[Midnightbsd-cvs] [MidnightBSD/src] 6dc873: sound: fix mmap buffer lifetime
Lucas Holt
noreply at github.com
Wed Jun 10 01:01:18 EDT 2026
Branch: refs/heads/stable/4.0
Home: https://github.com/MidnightBSD/src
Commit: 6dc873c992b045f034fae47108db485c05a7f038
https://github.com/MidnightBSD/src/commit/6dc873c992b045f034fae47108db485c05a7f038
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M sys/dev/sound/pcm/buffer.c
M sys/dev/sound/pcm/buffer.h
M sys/dev/sound/pcm/dsp.c
M tests/sys/Makefile
A tests/sys/sound/Makefile
A tests/sys/sound/mmap.c
Log Message:
-----------
sound: fix mmap buffer lifetime
Port the FreeBSD sound(4) mmap security fix for CVE-2026-45258 and CVE-2026-49417. Reject overflowing mmap offsets and hold references on the DSP cdev and sound buffer for the lifetime of the mapping.
AI-Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: 99282ce8150969761f9dfc88c70956f1d36366e9
https://github.com/MidnightBSD/src/commit/99282ce8150969761f9dfc88c70956f1d36366e9
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M UPDATING
Log Message:
-----------
UPDATING: note sound mmap security fix
Record the sound(4) mmap fixes for CVE-2026-45258 and CVE-2026-49417.
AI-Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Compare: https://github.com/MidnightBSD/src/compare/ff627787576a...99282ce81509
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list