{"id":"CVE-2026-99483","aliases":["CVE-2026-99483"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: pcmtest: handle multiple wraps in random capture fill","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcmtest: handle multiple wraps in random capture fill\n\nThe random capture helpers assume that the data generated for one timer\ntick wraps the DMA ring at most once. However, b_rw describes 200 ms of\naudio because the timer runs at 5 Hz, so it can be several times larger\nthan a small ring.\n\nFor 48 kHz, S16_LE, four-channel capture with a 512-frame buffer, the DMA\nring is 4096 bytes while one tick generates 76800 bytes. After filling the\n4096-byte tail, the existing code issues a second 72704-byte write from the\nring base, writing 68608 bytes beyond the ring. Both interleaved and\nnon-interleaved capture are affected.\n\nKASAN reports the first write into the adjacent free page as a\nuse-after-free in the random-byte generator. The underlying defect is an\nout-of-bounds write from the live DMA ring, not a stale DMA allocation.\n\nSplit each random write repeatedly at the interleaved ring or per-channel\nblock boundary. Keep the hardware-pointer update exactly once after the\ncomplete logical write.\n\nThe issue reproduced on three of three clean boots. With this change, the\nsame vulnerable geometry completed six times without a sanitizer finding.\nBoundary, pattern-fill, no-timer, open/close, and module-reload controls\nalso completed normally.\n\nsnd-pcmtest is a test driver, and selecting random fill requires an\nadministrator-controlled module parameter. The written values come from the\nkernel random generator; no privilege escalation or attacker-controlled\nwrite primitive was demonstrated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcmtest: handle multiple wraps in random capture fill\n\nThe random capture helpers assume that the data generated for one timer\ntick wraps the DMA ring at most once. However, b_rw describes 200 ms of\naudio because the timer runs at 5 Hz, so it can be several times larger\nthan a small ring.\n\nFor 48 kHz, S16_LE, four-channel capture with a 512-frame buffer, the DMA\nring is 4096 bytes while one tick generates 76800 bytes. After filling the\n4096-byte tail, the existing code issues a second 72704-byte write from the\nring base, writing 68608 bytes beyond the ring. Both interleaved and\nnon-interleaved capture are affected.\n\nKASAN reports the first write into the adjacent free page as a\nuse-after-free in the random-byte generator. The underlying defect is an\nout-of-bounds write from the live DMA ring, not a stale DMA allocation.\n\nSplit each random write repeatedly at the interleaved ring or per-channel\nblock boundary. Keep the hardware-pointer update exactly once after the\ncomplete logical write.\n\nThe issue reproduced on three of three clean boots. With this change, the\nsame vulnerable geometry completed six times without a sanitizer finding.\nBoundary, pattern-fill, no-timer, open/close, and module-reload controls\nalso completed normally.\n\nsnd-pcmtest is a test driver, and selecting random fill requires an\nadministrator-controlled module parameter. The written values come from the\nkernel random generator; no privilege escalation or attacker-controlled\nwrite primitive was demonstrated.","source":"cvelist"}],"published":"2026-11-19T14:43:18.966Z","modified":"2026-11-23T08:17:51.483Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","fixed":"31b98cff13e17c6060342dfee73b4aeb2e383b16","status":"affected"},{"type":"git","introduced":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","fixed":"8f8555e03bb2596b0d521c5b95c72cbd76e7d9af","status":"affected"},{"type":"git","introduced":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","fixed":"5cb07a5941b1e3dbe655110618869a81af68907e","status":"affected"},{"type":"git","introduced":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","fixed":"76319a56f069bb950d9cebbc1a291cbfa94a1c1f","status":"affected"},{"type":"git","introduced":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","fixed":"6541871e8e63e721733cd120af4d9cd22c5ef62f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/31b98cff13e17c6060342dfee73b4aeb2e383b16","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f8555e03bb2596b0d521c5b95c72cbd76e7d9af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cb07a5941b1e3dbe655110618869a81af68907e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76319a56f069bb950d9cebbc1a291cbfa94a1c1f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6541871e8e63e721733cd120af4d9cd22c5ef62f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99483","url":"https://www.cve.org/CVERecord?id=CVE-2026-99483","licence":"CVE Terms of Use","modified":"2026-11-23T08:03:22.438Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99483","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99483","licence":"Public domain","modified":"2026-11-23T08:17:51.483Z"}],"updatedAt":"2026-11-25T22:59:52.089Z","epss":{"score":0.00207,"percentile":0.11466,"date":"2026-12-01T12:00:22.000Z"}}