{"id":"CVE-2026-68345","state":"PUBLISHED","title":"arm_mpam: guard MBWU state before adding it to garbage","description":"In the Linux kernel, the following vulnerability has been resolved:\n\narm_mpam: guard MBWU state before adding it to garbage\n\n__destroy_component_cfg() adds each RIS mbwu_state object to the MPAM\ngarbage list when destroying component configuration.\n\nHowever, mbwu_state is allocated per RIS and only for RISes with MBWU\nmonitors. A component can therefore have comp->cfg allocated while some\nRISes still have ris->mbwu_state set to NULL.\n\nPassing a NULL mbwu_state to add_to_garbage() dereferences the NULL\npointer inside the macro.\n\nSkip RISes that do not have an mbwu_state object before adding them to\nthe garbage list.","publishedAt":"2026-08-10T12:03:22.098Z","updatedAt":"2026-08-17T05:03:45.634Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"41e8a14950e1732af51cfec8fa09f8ded02a5ca9","status":"affected","lessThan":"ca1f96334267ab8d47b2c9d535cdc9920fdde269","versionType":"git"},{"version":"41e8a14950e1732af51cfec8fa09f8ded02a5ca9","status":"affected","lessThan":"977f52909c624210178a1247fab0b02b110c1106","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/resctrl/mpam_devices.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/resctrl/mpam_devices.c"]}],"references":["https://git.kernel.org/stable/c/ca1f96334267ab8d47b2c9d535cdc9920fdde269","https://git.kernel.org/stable/c/977f52909c624210178a1247fab0b02b110c1106"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68345.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68345","state":"PUBLISHED","datePublished":"2026-08-10T12:03:22.098Z","dateUpdated":"2026-08-17T05:03:45.634Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.384Z"},"containers":{"cna":{"title":"arm_mpam: guard MBWU state before adding it to garbage","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\narm_mpam: guard MBWU state before adding it to garbage\n\n__destroy_component_cfg() adds each RIS mbwu_state object to the MPAM\ngarbage list when destroying component configuration.\n\nHowever, mbwu_state is allocated per RIS and only for RISes with MBWU\nmonitors. A component can therefore have comp->cfg allocated while some\nRISes still have ris->mbwu_state set to NULL.\n\nPassing a NULL mbwu_state to add_to_garbage() dereferences the NULL\npointer inside the macro.\n\nSkip RISes that do not have an mbwu_state object before adding them to\nthe garbage list."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"41e8a14950e1732af51cfec8fa09f8ded02a5ca9","status":"affected","lessThan":"ca1f96334267ab8d47b2c9d535cdc9920fdde269","versionType":"git"},{"version":"41e8a14950e1732af51cfec8fa09f8ded02a5ca9","status":"affected","lessThan":"977f52909c624210178a1247fab0b02b110c1106","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/resctrl/mpam_devices.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/resctrl/mpam_devices.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ca1f96334267ab8d47b2c9d535cdc9920fdde269"},{"url":"https://git.kernel.org/stable/c/977f52909c624210178a1247fab0b02b110c1106"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:45.634Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}