{"id":"CVE-2026-97617","state":"PUBLISHED","title":"ring-buffer: Check resize_disabled before publishing the new subbuf order","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nring-buffer: Check resize_disabled before publishing the new subbuf order\n\nring_buffer_subbuf_order_set() stores the new order and only then walks\nthe CPUs, returning -EBUSY if any of them has resizing disabled. A user\nmapped buffer has resizing disabled, and __rb_map_vma() reads\nbuffer->subbuf_order without buffer->mutex, so an mmap of an already\nmapped CPU racing the failing order change sizes the mapping with the\nnew order and inserts pages past the sub-buffer into the VMA.\n\nCheck the CPUs before storing the new order.","publishedAt":"2026-09-25T10:22:24.436Z","updatedAt":"2026-10-19T09:10:20.808Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"f2099644e1b2a2c0805c5240d63ab0522d9d0174","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"9fd4ea952e6ac12a63c3fe89f08ad02771aa2c06","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"32bf47db9237c5b8b6f6aaa5356bb4c79d241f76","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"d860c67c051685abb0460b593b193f0f45f4fa92","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/ring_buffer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/ring_buffer.c"]}],"references":["https://git.kernel.org/stable/c/f2099644e1b2a2c0805c5240d63ab0522d9d0174","https://git.kernel.org/stable/c/9fd4ea952e6ac12a63c3fe89f08ad02771aa2c06","https://git.kernel.org/stable/c/32bf47db9237c5b8b6f6aaa5356bb4c79d241f76","https://git.kernel.org/stable/c/d860c67c051685abb0460b593b193f0f45f4fa92"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97617.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97617","state":"PUBLISHED","datePublished":"2026-09-25T10:22:24.436Z","dateUpdated":"2026-10-19T09:10:20.808Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.159Z"},"containers":{"cna":{"title":"ring-buffer: Check resize_disabled before publishing the new subbuf order","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nring-buffer: Check resize_disabled before publishing the new subbuf order\n\nring_buffer_subbuf_order_set() stores the new order and only then walks\nthe CPUs, returning -EBUSY if any of them has resizing disabled. A user\nmapped buffer has resizing disabled, and __rb_map_vma() reads\nbuffer->subbuf_order without buffer->mutex, so an mmap of an already\nmapped CPU racing the failing order change sizes the mapping with the\nnew order and inserts pages past the sub-buffer into the VMA.\n\nCheck the CPUs before storing the new order."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"f2099644e1b2a2c0805c5240d63ab0522d9d0174","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"9fd4ea952e6ac12a63c3fe89f08ad02771aa2c06","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"32bf47db9237c5b8b6f6aaa5356bb4c79d241f76","versionType":"git"},{"version":"117c39200d9d760cbd5944bb89efb7b9c51965aa","status":"affected","lessThan":"d860c67c051685abb0460b593b193f0f45f4fa92","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/ring_buffer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/ring_buffer.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f2099644e1b2a2c0805c5240d63ab0522d9d0174"},{"url":"https://git.kernel.org/stable/c/9fd4ea952e6ac12a63c3fe89f08ad02771aa2c06"},{"url":"https://git.kernel.org/stable/c/32bf47db9237c5b8b6f6aaa5356bb4c79d241f76"},{"url":"https://git.kernel.org/stable/c/d860c67c051685abb0460b593b193f0f45f4fa92"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:10:20.808Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}