{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40202","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.179Z","datePublished":"2025-11-12T21:56:34.527Z","dateUpdated":"2026-05-11T21:44:44.093Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:44:44.093Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Rework user message limit handling\n\nThe limit on the number of user messages had a number of issues,\nimproper counting in some cases and a use after free.\n\nRestructure how this is all done to handle more in the receive message\nallocation routine, so all refcouting and user message limit counts\nare done in that routine.  It's a lot cleaner and safer."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/char/ipmi/ipmi_msghandler.c"],"versions":[{"version":"8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82","lessThan":"f63723ca7d7623f9dae1990973cd158671f03c56","status":"affected","versionType":"git"},{"version":"8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82","lessThan":"348121b29594d42d1635648fd3ed31dfa25351d5","status":"affected","versionType":"git"},{"version":"8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82","lessThan":"53d6e403affbf6df2c859a0ea00ccfc1e72090ca","status":"affected","versionType":"git"},{"version":"8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82","lessThan":"0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5","status":"affected","versionType":"git"},{"version":"8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82","lessThan":"b52da4054ee0bf9ecb44996f2c83236ff50b3812","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/char/ipmi/ipmi_msghandler.c"],"versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.157","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.113","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.54","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.4","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.17.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f63723ca7d7623f9dae1990973cd158671f03c56"},{"url":"https://git.kernel.org/stable/c/348121b29594d42d1635648fd3ed31dfa25351d5"},{"url":"https://git.kernel.org/stable/c/53d6e403affbf6df2c859a0ea00ccfc1e72090ca"},{"url":"https://git.kernel.org/stable/c/0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5"},{"url":"https://git.kernel.org/stable/c/b52da4054ee0bf9ecb44996f2c83236ff50b3812"}],"title":"ipmi: Rework user message limit handling","x_generator":{"engine":"bippy-1.2.0"}}}}