[Midnightbsd-cvs] [MidnightBSD/src] 7d871a: sound: fix mmap buffer lifetime
Lucas Holt
noreply at github.com
Wed Jun 10 00:58:42 EDT 2026
Branch: refs/heads/stable/4.1
Home: https://github.com/MidnightBSD/src
Commit: 7d871ac382f0a0250915515b1f05728def4467ab
https://github.com/MidnightBSD/src/commit/7d871ac382f0a0250915515b1f05728def4467ab
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: 67b81f25c1cfdda8de8bfb7ced391dc6d5e85e58
https://github.com/MidnightBSD/src/commit/67b81f25c1cfdda8de8bfb7ced391dc6d5e85e58
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/23fe25eb5f76...67b81f25c1cf
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