{"id":"CVE-2026-99483","state":"PUBLISHED","title":"ALSA: pcmtest: handle multiple wraps in random capture fill","description":"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.","publishedAt":"2026-11-19T14:43:18.966Z","updatedAt":"2026-11-19T14:43:18.966Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"8f8555e03bb2596b0d521c5b95c72cbd76e7d9af","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"5cb07a5941b1e3dbe655110618869a81af68907e","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"76319a56f069bb950d9cebbc1a291cbfa94a1c1f","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"6541871e8e63e721733cd120af4d9cd22c5ef62f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/drivers/pcmtest.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/drivers/pcmtest.c"]}],"references":["https://git.kernel.org/stable/c/8f8555e03bb2596b0d521c5b95c72cbd76e7d9af","https://git.kernel.org/stable/c/5cb07a5941b1e3dbe655110618869a81af68907e","https://git.kernel.org/stable/c/76319a56f069bb950d9cebbc1a291cbfa94a1c1f","https://git.kernel.org/stable/c/6541871e8e63e721733cd120af4d9cd22c5ef62f"],"weaknesses":[],"ingestedAt":"2026-11-19T14:48:06.147Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99483.json","commit":"783f6d4140a34eaf92c5bfee971cfe497fa6394e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99483","state":"PUBLISHED","datePublished":"2026-11-19T14:43:18.966Z","dateUpdated":"2026-11-19T14:43:18.966Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.417Z"},"containers":{"cna":{"title":"ALSA: pcmtest: handle multiple wraps in random capture fill","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"8f8555e03bb2596b0d521c5b95c72cbd76e7d9af","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"5cb07a5941b1e3dbe655110618869a81af68907e","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"76319a56f069bb950d9cebbc1a291cbfa94a1c1f","versionType":"git"},{"version":"315a3d57c64c55901d6fe5a5eef3b3e51d215381","status":"affected","lessThan":"6541871e8e63e721733cd120af4d9cd22c5ef62f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/drivers/pcmtest.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/drivers/pcmtest.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8f8555e03bb2596b0d521c5b95c72cbd76e7d9af"},{"url":"https://git.kernel.org/stable/c/5cb07a5941b1e3dbe655110618869a81af68907e"},{"url":"https://git.kernel.org/stable/c/76319a56f069bb950d9cebbc1a291cbfa94a1c1f"},{"url":"https://git.kernel.org/stable/c/6541871e8e63e721733cd120af4d9cd22c5ef62f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:43:18.966Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}